Changeset 3828 for issm/trunk/src/c/objects/Elements/Tria.cpp
- Timestamp:
- 05/18/10 16:51:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r3821 r3828 48 48 /*id: */ 49 49 this->id=tria_id; 50 51 /*interpolation type: */ 52 this->InitInterpolationType(P1Enum); 50 53 51 54 /*hooks: */ … … 186 189 /*copy fields: */ 187 190 tria->id=this->id; 191 tria->interpolation_type=this->interpolation_type; 188 192 if(this->inputs){ 189 193 tria->inputs=(Inputs*)this->inputs->Copy(); … … 240 244 *object data (thanks to DataSet::Demarshall):*/ 241 245 memcpy(&id,marshalled_dataset,sizeof(id));marshalled_dataset+=sizeof(id); 246 memcpy(&interpolation_type,marshalled_dataset,sizeof(interpolation_type));marshalled_dataset+=sizeof(interpolation_type); 242 247 243 248 /*demarshall hooks: */ … … 306 311 /*marshall Tria data: */ 307 312 memcpy(marshalled_dataset,&id,sizeof(id));marshalled_dataset+=sizeof(id); 313 memcpy(marshalled_dataset,&interpolation_type,sizeof(interpolation_type));marshalled_dataset+=sizeof(interpolation_type); 308 314 309 315 /*Marshall hooks: */ … … 330 336 331 337 return sizeof(id) 338 +sizeof(interpolation_type) 332 339 +hnodes.MarshallSize() 333 340 +hmatice.MarshallSize()
Note:
See TracChangeset
for help on using the changeset viewer.