Changeset 989
- Timestamp:
- 06/13/09 20:02:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/Thermal/CreateElementsNodesAndMaterialsThermal.cpp
r982 r989 192 192 ModelFetchData((void**)&model->elementonbed,NULL,NULL,model_handle,"elementonbed","Matrix","Mat"); 193 193 ModelFetchData((void**)&model->elementonsurface,NULL,NULL,model_handle,"elementonsurface","Matrix","Mat"); 194 ModelFetchData((void**)&model->elements_type,NULL,NULL,model_handle,"elements_type","Matrix","Mat"); 194 195 ModelFetchData((void**)&model->geothermalflux,NULL,NULL,model_handle,"geothermalflux","Matrix","Mat"); 195 196 ModelFetchData((void**)&model->B,NULL,NULL,model_handle,"B","Matrix","Mat"); … … 230 231 penta_meanvel=model->meanvel; 231 232 penta_epsvel=model->epsvel; 232 penta_collapse=0; 233 234 /*We need the field collapse for transient, so that we can use compute B with the average temperature*/ 235 if (*(model->elements_type+2*i+0)==MacAyealEnum()){ //elements of type 3 are MacAyeal type Penta. We collapse the formulation on their base. 236 penta_collapse=1; 237 } 238 else{ 239 penta_collapse=0; 240 } 233 241 234 242 … … 290 298 xfree((void**)&model->elementonbed); 291 299 xfree((void**)&model->elementonsurface); 300 xfree((void**)&model->elements_type); 292 301 xfree((void**)&model->geothermalflux); 293 302 xfree((void**)&model->n);
Note:
See TracChangeset
for help on using the changeset viewer.