Changeset 3622 for issm/trunk/src/c/objects/Sing.cpp
- Timestamp:
- 04/27/10 08:27:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Sing.cpp
r3621 r3622 22 22 23 23 /*Object constructors and destructor*/ 24 /*FUNCTION Sing:: constructor{{{1*/24 /*FUNCTION Sing::Sing(){{{1*/ 25 25 Sing::Sing(){ 26 26 this->inputs=NULL; … … 29 29 } 30 30 /*}}}*/ 31 /*FUNCTION Sing constructor{{{1*/31 /*FUNCTION Sing::Sing(int sing_id,int* sing_node_ids, int sing_matice_id, int sing_matpar_id, int sing_numpar_id) {{{1*/ 32 32 Sing::Sing(int sing_id,int* sing_node_ids, int sing_matice_id, int sing_matpar_id): 33 33 hnodes(sing_node_ids,1), … … 44 44 } 45 45 /*}}}*/ 46 /*FUNCTION Sing other constructor{{{1*/46 /*FUNCTION Sing::Sing(int sing_id,Hook* sing_hnodes, Hook* sing_hmatice, Hook* sing_hmatpar, Hook* sing_hnumpar, Inputs* sing_inputs) {{{1*/ 47 47 Sing::Sing(int sing_id,Hook* sing_hnodes, Hook* sing_hmatice, Hook* sing_hmatpar, Parameters* sing_parameters,Inputs* sing_inputs): 48 48 hnodes(sing_hnodes), … … 63 63 } 64 64 /*}}}*/ 65 /*FUNCTION Sing iomodel constructor{{{1*/66 Sing::Sing(int i, IoModel* iomodel){65 /*FUNCTION Sing::Sing(int sing_id, int i, IoModel* iomodel) {{{1*/ 66 Sing::Sing(int sing_id, int i, IoModel* iomodel){ 67 67 68 68 int sing_matice_id; … … 73 73 double sing_k; 74 74 75 76 75 /*id: */ 77 this->id= i+1;76 this->id=sing_id; 78 77 79 78 /*hooks: */ 80 sing_matice_id=i+1; //refers to the corresponding material property card79 sing_matice_id=i+1; //refers to the corresponding material property card 81 80 sing_matpar_id=iomodel->numberofvertices+1;//refers to the corresponding matpar property card 82 81 sing_g=i+1; … … 97 96 } 98 97 /*}}}*/ 99 /*FUNCTION Sing:: destructor{{{1*/98 /*FUNCTION Sing::~Sing(){{{1*/ 100 99 Sing::~Sing(){ 101 100 delete inputs;
Note:
See TracChangeset
for help on using the changeset viewer.