Changeset 19233
- Timestamp:
- 04/01/15 08:37:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/StressbalanceSIAAnalysis.cpp
r19232 r19233 109 109 bool isSIA; 110 110 bool islevelset; 111 int frictionlaw; 111 112 iomodel->Constant(&isSIA,FlowequationIsSIAEnum); 112 113 iomodel->Constant(&islevelset,TransientIslevelsetEnum); 114 iomodel->Constant(&frictionlaw,FrictionLawEnum); 113 115 114 116 /*Now, is the flag SIA on? otherwise, do nothing: */ … … 125 127 counter++; 126 128 } 129 } 130 131 /*Friction law variables*/ 132 switch(frictionlaw){ 133 case 1: 134 iomodel->FetchDataToInput(elements,FrictionCoefficientEnum); 135 iomodel->FetchDataToInput(elements,FrictionPEnum); 136 iomodel->FetchDataToInput(elements,FrictionQEnum); 137 break; 138 case 2: 139 iomodel->FetchDataToInput(elements,FrictionCEnum); 140 iomodel->FetchDataToInput(elements,FrictionMEnum); 141 break; 142 case 6: 143 iomodel->FetchDataToInput(elements,FrictionCEnum); 144 iomodel->FetchDataToInput(elements,FrictionMEnum); 145 iomodel->FetchDataToInput(elements,PressureEnum); 146 iomodel->FetchDataToInput(elements,TemperatureEnum); 147 break; 148 default: 149 _error_("not supported"); 127 150 } 128 151
Note:
See TracChangeset
for help on using the changeset viewer.