Changeset 21776
- Timestamp:
- 06/30/17 10:50:52 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r21740 r21776 248 248 int frictionlaw; 249 249 iomodel->FindConstant(&frictionlaw,"md.friction.law"); 250 if(frictionlaw==4 || frictionlaw==6) parameters->AddObject(iomodel->CopyConstantObject("md.friction.gamma",FrictionGammaEnum)); 251 if(frictionlaw==3 || frictionlaw==1) parameters->AddObject(iomodel->CopyConstantObject("md.friction.coupling",FrictionCouplingEnum)); 252 if(frictionlaw==9) parameters->AddObject(iomodel->CopyConstantObject("md.friction.gamma",FrictionGammaEnum)); 250 if(frictionlaw==4 || frictionlaw==6){ 251 parameters->AddObject(iomodel->CopyConstantObject("md.friction.gamma",FrictionGammaEnum)); 252 parameters->AddObject(new BoolParam(FrictionCouplingEnum,false)); 253 } 254 if(frictionlaw==3 || frictionlaw==1){ 255 parameters->AddObject(iomodel->CopyConstantObject("md.friction.coupling",FrictionCouplingEnum)); 256 } 257 if(frictionlaw==9){ 258 parameters->AddObject(iomodel->CopyConstantObject("md.friction.gamma",FrictionGammaEnum)); 259 } 253 260 }/*}}}*/ 254 261
Note:
See TracChangeset
for help on using the changeset viewer.