Changeset 721
- Timestamp:
- 06/02/09 14:23:42 (16 years ago)
- Location:
- issm/trunk/src/c/ModelProcessorx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/Melting/CreateElementsNodesAndMaterialsMelting.cpp
r586 r721 129 129 materials = new DataSet(MaterialsEnum()); 130 130 131 132 /*Now, is the flag macayaealpattyn on? otherwise, do nothing: */133 if (!model->ismacayealpattyn)goto cleanup_and_return;134 135 131 /*Get analysis_type: */ 136 132 analysis_type=AnalysisTypeAsEnum(model->analysis_type); 137 133 sub_analysis_type=AnalysisTypeAsEnum(model->sub_analysis_type); 138 139 134 140 135 /*Width of elements: */ … … 475 470 xfree((void**)&model->gridonsurface); 476 471 xfree((void**)&model->uppernodes); 477 478 472 479 473 /*Keep partitioning information into model*/ … … 495 489 *pnodes=nodes; 496 490 *pmaterials=materials; 497 498 491 } -
issm/trunk/src/c/ModelProcessorx/Thermal/CreateElementsNodesAndMaterialsThermal.cpp
r546 r721 388 388 ModelFetchData((void**)&model->gridonsurface,NULL,NULL,model_handle,"gridonsurface","Matrix","Mat"); 389 389 390 391 390 /*Get number of dofs per node: */ 392 391 DistributeNumDofs(&node_numdofs,analysis_type,sub_analysis_type); … … 399 398 400 399 node_id=i+1; //matlab indexing 401 402 403 400 404 401 #ifdef _PARALLEL_ … … 413 410 #endif 414 411 415 416 412 node_x[0]=model->x[i]; 417 413 node_x[1]=model->y[i]; 418 414 node_x[2]=model->z[i]; 419 420 415 421 416 node_onbed=(int)model->gridonbed[i];
Note:
See TracChangeset
for help on using the changeset viewer.