source: issm/trunk-jpl/src/c/classes/Constraints/SpcDynamic.h@ 18344

Last change on this file since 18344 was 18344, checked in by Mathieu Morlighem, 11 years ago

NEW: added Low order scheme of Flux Transport Correction ALgorithm

File size: 1.2 KB
RevLine 
[9286]1/*!\file SpcDynamic.h
2 * \brief: header file for spc object
3 */
4
5#ifndef _SPCDynamic_H_
6#define _SPCDynamic_H_
7
8/*Headers:*/
[12365]9/*{{{*/
[15067]10#include "../../datastructures/datastructures.h"
[9286]11/*}}}*/
12
13class SpcDynamic: public Constraint{
14
15 private:
16 int sid; /*! id, to track it*/
17 int nodeid; /*!node id*/
18 int dof; /*!component*/
[12462]19 IssmDouble value; /*value*/
[9298]20 bool isset;
[9286]21 int analysis_type;
22
23 public:
24
[12365]25 /*SpcDynamic constructors, destructors:{{{*/
[9286]26 SpcDynamic();
[9298]27 SpcDynamic(int sid,int nodeid, int dof,int analysis_type);
[9286]28 ~SpcDynamic();
29 /*}}}*/
[12365]30 /*Object virtual functions definitions:{{{ */
[9286]31 void Echo();
32 void DeepEcho();
33 int Id();
[9883]34 int ObjectEnum();
[9286]35 Object* copy();
36 /*}}}*/
[12365]37 /*Constraint virtual functions definitions: {{{*/
[9286]38 void ConstrainNode(Nodes* nodes,Parameters* parameters);
39 bool InAnalysis(int analysis_type);
[18344]40 void PenaltyDofAndValue(int* dof,IssmDouble* value,Nodes* nodes,Parameters* parameters){_error_("not implemented yet");};
[9286]41 /*}}}*/
[12365]42 /*SpcDynamic management:{{{ */
[9286]43 int GetNodeId();
44 int GetDof();
[12462]45 IssmDouble GetValue();
46 void SetDynamicConstraint(Nodes* nodes,IssmDouble *yg_serial);
[9286]47 /*}}}*/
48
49};
50
51#endif /* _SPCStatic_H_*/
Note: See TracBrowser for help on using the repository browser.