Changeset 22778 for issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp
- Timestamp:
- 05/15/18 13:42:52 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp
r22647 r22778 16 16 bool dakota_analysis; 17 17 bool adolc_analysis; 18 bool isoceancoupling; 18 19 int nnat,dummy; 19 20 int* nature=NULL; … … 24 25 iomodel->FindConstant(&materials_type,"md.materials.type"); 25 26 iomodel->FindConstant(&adolc_analysis,"md.autodiff.isautodiff"); 27 iomodel->FindConstant(&isoceancoupling,"md.transient.isoceancoupling"); 26 28 27 29 /*Did we already create the elements? : */ … … 232 234 if (iomodel->domaintype == Domain3DsurfaceEnum) iomodel->FetchData(3,"md.mesh.lat","md.mesh.long","md.mesh.r"); 233 235 else iomodel->FetchDataToInput(elements,"md.mesh.scale_factor",MeshScaleFactorEnum,1.); 236 if (isoceancoupling) iomodel->FetchData(2,"md.mesh.lat","md.mesh.long"); 234 237 235 238 CreateNumberNodeToElementConnectivity(iomodel,solution_type); … … 242 245 iomodel->DeleteData(6,"md.mesh.x","md.mesh.y","md.mesh.z","md.geometry.base","md.geometry.thickness","md.mask.ice_levelset"); 243 246 if (iomodel->domaintype == Domain3DsurfaceEnum) iomodel->DeleteData(3,"md.mesh.lat","md.mesh.long","md.mesh.r"); 247 if (isoceancoupling) iomodel->DeleteData(2,"md.mesh.lat","md.mesh.long"); 244 248 }
Note:
See TracChangeset
for help on using the changeset viewer.