Changeset 3818
- Timestamp:
- 05/18/10 13:42:49 (15 years ago)
- Location:
- issm/trunk/src/c/objects/Elements
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r3817 r3818 26 26 this->matice=NULL; 27 27 this->matpar=NULL; 28 this->neighbo ors=NULL;28 this->neighbors=NULL; 29 29 30 30 this->inputs=NULL; … … 64 64 this->InitHookMatice(penta_matice_id);this->matice=NULL; 65 65 this->InitHookMatpar(penta_matpar_id);this->matpar=NULL; 66 this->InitHookNeighboors(penta_elements_ids);this->neighbo ors=NULL;66 this->InitHookNeighboors(penta_elements_ids);this->neighbors=NULL; 67 67 68 68 //intialize inputs, and add as many inputs per element as requested: … … 202 202 penta->hmatice.copy(&this->hmatice); 203 203 penta->hmatpar.copy(&this->hmatpar); 204 penta->hneighbo ors.copy(&this->hneighboors);204 penta->hneighbors.copy(&this->hneighbors); 205 205 206 206 /*recover objects: */ … … 208 208 penta->matice=(Matice*)penta->hmatice.delivers(); 209 209 penta->matpar=(Matpar*)penta->hmatpar.delivers(); 210 penta->neighbo ors=(Penta*)penta->hneighboors.deliverp();210 penta->neighbors=(Penta*)penta->hneighbors.deliverp(); 211 211 212 212 return penta; … … 223 223 this->hmatice.configure(materialsin); 224 224 this->hmatpar.configure(materialsin); 225 this->hneighbo ors.configure(elementsin);225 this->hneighbors.configure(elementsin); 226 226 227 227 /*Now, go pick up the objects inside the hooks: */ … … 229 229 this->matice=(Matice*)this->hmatice.delivers(); 230 230 this->matpar=(Matpar*)this->hmatpar.delivers(); 231 this->neighbo ors=(Penta*)this->hneighboors.deliverp();231 this->neighbors=(Penta*)this->hneighbors.deliverp(); 232 232 233 233 /*point parameters to real dataset: */ … … 254 254 hmatice.Demarshall(&marshalled_dataset); 255 255 hmatpar.Demarshall(&marshalled_dataset); 256 hneighbo ors.Demarshall(&marshalled_dataset);256 hneighbors.Demarshall(&marshalled_dataset); 257 257 258 258 /*pointers are garbabe, until configuration is carried out: */ … … 260 260 matice=NULL; 261 261 matpar=NULL; 262 neighbo ors=NULL;262 neighbors=NULL; 263 263 264 264 /*demarshall inputs: */ … … 332 332 hmatice.Marshall(&marshalled_dataset); 333 333 hmatpar.Marshall(&marshalled_dataset); 334 hneighbo ors.Marshall(&marshalled_dataset);334 hneighbors.Marshall(&marshalled_dataset); 335 335 336 336 /*Marshall inputs: */ … … 355 355 +hmatice.MarshallSize() 356 356 +hmatpar.MarshallSize() 357 +hneighbo ors.MarshallSize()357 +hneighbors.MarshallSize() 358 358 +inputs->MarshallSize() 359 359 +sizeof(int); //sizeof(int) for enum type -
issm/trunk/src/c/objects/Elements/PentaHook.cpp
r3811 r3818 47 47 /*FUNCTION PentaHook::InitHookNeighboors(int* element_ids){{{1*/ 48 48 void PentaHook::InitHookNeighboors(int* element_ids){ 49 this->hneighbo ors.Init(element_ids,2);49 this->hneighbors.Init(element_ids,2); 50 50 51 51 } -
issm/trunk/src/c/objects/Elements/PentaHook.h
r3814 r3818 14 14 Hook hmatice; // 1 ice material 15 15 Hook hmatpar; // 1 material parameter 16 Hook hneighbo ors; // 2 elements, first down, second up16 Hook hneighbors; // 2 elements, first down, second up 17 17 18 18
Note:
See TracChangeset
for help on using the changeset viewer.