Changeset 22049
- Timestamp:
- 09/06/17 04:49:28 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/ThermalAnalysis.cpp
r22011 r22049 162 162 iomodel->FetchDataToInput(elements,"md.friction.q",FrictionQEnum); 163 163 if (FrictionCoupling==1){ 164 164 iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum); 165 165 } 166 166 break; … … 175 175 iomodel->FetchDataToInput(elements,"md.friction.q",FrictionQEnum); 176 176 if (FrictionCoupling==1){ 177 177 iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum); 178 178 } 179 179 break; … … 196 196 iomodel->FetchDataToInput(elements,"md.initialization.pressure",PressureEnum); 197 197 iomodel->FetchDataToInput(elements,"md.initialization.temperature",TemperatureEnum); 198 break; 199 case 7: 200 iomodel->FindConstant(&FrictionCoupling,"md.friction.coupling"); 201 iomodel->FetchDataToInput(elements,"md.friction.coefficient",FrictionCoefficientEnum); 202 iomodel->FetchDataToInput(elements,"md.friction.coefficientcoulomb",FrictionCoefficientcoulombEnum); 203 iomodel->FetchDataToInput(elements,"md.friction.p",FrictionPEnum); 204 iomodel->FetchDataToInput(elements,"md.friction.q",FrictionQEnum); 205 if (FrictionCoupling==1){ 206 iomodel->FetchDataToInput(elements,"md.friction.effective_pressure",FrictionEffectivePressureEnum); 207 } 198 208 break; 199 209 case 9: … … 232 242 parameters->AddObject(iomodel->CopyConstantObject("md.friction.gamma",FrictionGammaEnum)); 233 243 } 234 if(frictionlaw==3 || frictionlaw==1 ){244 if(frictionlaw==3 || frictionlaw==1 || frictionlaw==7){ 235 245 parameters->AddObject(iomodel->CopyConstantObject("md.friction.coupling",FrictionCouplingEnum)); 236 246 }
Note:
See TracChangeset
for help on using the changeset viewer.