Changeset 8260
- Timestamp:
- 05/11/11 10:50:18 (14 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Node.cpp
r8245 r8260 266 266 } 267 267 /*}}}*/ 268 /*FUNCTION Node::copy {{{1*/269 Object* Node::copy() {270 271 int k,l;272 273 Node* node=NULL;274 node=new Node();275 276 /*Deal with hooks*/277 node->hvertex=(Hook*)this->hvertex->copy();278 node->indexing=(DofIndexing)new DofIndexing(this->indexing);279 280 /*id: */281 node->id=this->id;282 node->sid=this->sid;283 node->analysis_type=this->analysis_type;284 285 /*intialize inputs : */286 if(this->inputs){287 node->inputs=(Inputs*)this->inputs->Copy();288 }289 else{290 node->inputs=new Inputs();291 }292 for(k=0;k<3;k++) for(l=0;l<3;l++) node->referential[k][l]=this->referential[k][l];293 }294 295 /*}}}*/296 268 297 269 /*Node management:*/ -
issm/trunk/src/c/objects/Node.h
r8245 r8260 46 46 void Demarshall(char** pmarshalled_dataset); 47 47 int Enum(); 48 Object* copy() ;48 Object* copy(){_error_("Not implemented yet (similar to Elements)");}; 49 49 /*}}}*/ 50 50 /*Update virtual functions definitions: {{{1*/
Note:
See TracChangeset
for help on using the changeset viewer.