Changeset 3984 for issm/trunk/src/c/modules/ModelProcessorx/Balancedthickness2/CreateElementsNodesAndMaterialsBalancedthickness2.cpp
- Timestamp:
- 06/01/10 14:51:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ModelProcessorx/Balancedthickness2/CreateElementsNodesAndMaterialsBalancedthickness2.cpp
r3913 r3984 37 37 /*elements created vary if we are dealing with a 2d mesh, or a 3d mesh: */ 38 38 /*2d mesh: */ 39 if ( strcmp(iomodel->meshtype,"2d")==0){39 if (iomodel->dim==2){ 40 40 41 41 /*Fetch data needed: */ … … 77 77 78 78 } 79 else{ // if ( strcmp(meshtype,"2d")==0)79 else{ // if (dim==2) 80 80 ISSMERROR("not implemented yet"); 81 } //if ( strcmp(meshtype,"2d")==0)81 } //if (dim==2) 82 82 83 83 /*Add new constrant material property tgo materials, at the end: */ … … 95 95 IoModelFetchData(&iomodel->gridonicesheet,NULL,NULL,iomodel_handle,"gridonicesheet"); 96 96 IoModelFetchData(&iomodel->gridoniceshelf,NULL,NULL,iomodel_handle,"gridoniceshelf"); 97 if ( strcmp(iomodel->meshtype,"3d")==0){97 if (iomodel->dim==3){ 98 98 IoModelFetchData(&iomodel->deadgrids,NULL,NULL,iomodel_handle,"deadgrids"); 99 99 IoModelFetchData(&iomodel->uppernodes,NULL,NULL,iomodel_handle,"uppergrids");
Note:
See TracChangeset
for help on using the changeset viewer.