Changeset 22361 for issm/trunk-jpl/src/c/classes/Constraints/SpcStatic.cpp
- Timestamp:
- 01/18/18 09:21:32 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Constraints/SpcStatic.cpp
r22202 r22361 18 18 } 19 19 /*}}}*/ 20 SpcStatic::SpcStatic(int spc_ sid,int spc_nodeid, int spc_dof,IssmDouble spc_value,int spc_analysis_type){/*{{{*/20 SpcStatic::SpcStatic(int spc_id,int spc_nodeid, int spc_dof,IssmDouble spc_value,int spc_analysis_type){/*{{{*/ 21 21 22 sid = spc_sid;22 id = spc_id; 23 23 nodeid = spc_nodeid; 24 24 dof = spc_dof; … … 40 40 SpcStatic* spcstat = new SpcStatic(*this); 41 41 42 spcstat-> sid=this->sid;42 spcstat->id=this->id; 43 43 spcstat->nodeid=this->nodeid; 44 44 spcstat->dof=this->dof; … … 52 52 53 53 _printf_("SpcStatic:\n"); 54 _printf_(" sid: " << sid << "\n");54 _printf_(" id: " << id << "\n"); 55 55 _printf_(" nodeid: " << nodeid << "\n"); 56 56 _printf_(" dof: " << dof << "\n"); … … 63 63 64 64 _printf_("SpcStatic:\n"); 65 _printf_(" sid: " << sid << "\n");65 _printf_(" id: " << id << "\n"); 66 66 _printf_(" nodeid: " << nodeid << "\n"); 67 67 _printf_(" dof: " << dof << "\n"); … … 71 71 } 72 72 /*}}}*/ 73 int SpcStatic::Id(void){ return sid; }/*{{{*/73 int SpcStatic::Id(void){ return id; }/*{{{*/ 74 74 /*}}}*/ 75 75 void SpcStatic::Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction){ /*{{{*/ … … 77 77 MARSHALLING_ENUM(SpcStaticEnum); 78 78 79 MARSHALLING( sid);79 MARSHALLING(id); 80 80 MARSHALLING(nodeid); 81 81 MARSHALLING(dof);
Note:
See TracChangeset
for help on using the changeset viewer.