Changeset 4090
- Timestamp:
- 06/21/10 12:23:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Loads/Icefront.cpp
r4085 r4090 56 56 icefront_node_ids[1]=(int)*(iomodel->pressureload+segment_width*i+1); 57 57 58 if ( analysis_type==DiagnosticHorizAnalysisEnum){58 if (in_analysis_type==DiagnosticHorizAnalysisEnum){ 59 59 if ((int)*(iomodel->elements_type+2*element+0)==MacAyealFormulationEnum){ //this is a collapsed 3d element, icefront will be 2d 60 60 icefront_type=SegmentIcefrontEnum; … … 67 67 else ISSMERROR(" element type %i not supported yet",(int)*(iomodel->elements_type+2*element+0)); 68 68 } 69 else if ( analysis_type==DiagnosticStokesAnalysisEnum){69 else if (in_analysis_type==DiagnosticStokesAnalysisEnum){ 70 70 //We have a Stokes element, so we need a 3d Icefront 71 71 icefront_type=QuadIceFrontEnum; … … 73 73 icefront_node_ids[3]=(int)*(iomodel->pressureload+segment_width*i+3); 74 74 } 75 else ISSMERROR(" Not supported yet!");75 else ISSMERROR("analysis_type %s not supported yet!",EnumAsString(in_analysis_type)); 76 76 77 77 if (icefront_type==QuadIceFrontEnum) num_nodes=4;
Note:
See TracChangeset
for help on using the changeset viewer.