Changeset 22044
- Timestamp:
- 09/05/17 14:33:52 (8 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/LevelsetAnalysis.cpp
r21931 r22044 61 61 break; 62 62 case CalvingDevEnum: 63 iomodel->FetchDataToInput(elements,"md.calving.stress_threshold_groundedice",CalvingStressThresholdGroundediceEnum); 64 iomodel->FetchDataToInput(elements,"md.calving.stress_threshold_floatingice",CalvingStressThresholdFloatingiceEnum); 63 65 iomodel->FetchDataToInput(elements,"md.calving.meltingrate",CalvingMeltingrateEnum); 64 66 break; … … 80 82 case DefaultCalvingEnum: 81 83 case CalvingLevermannEnum: 82 break;83 84 case CalvingDevEnum: 84 parameters->AddObject(iomodel->CopyConstantObject("md.calving.stress_threshold_groundedice",CalvingStressThresholdGroundediceEnum));85 parameters->AddObject(iomodel->CopyConstantObject("md.calving.stress_threshold_floatingice",CalvingStressThresholdFloatingiceEnum));86 85 break; 87 86 case CalvingMinthicknessEnum: -
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r21931 r22044 207 207 Input* vy_input = inputs->GetInput(VyAverageEnum); _assert_(vy_input); 208 208 Input* gr_input = inputs->GetInput(MaskGroundediceLevelsetEnum); _assert_(gr_input); 209 Input* smax_fl_input = inputs->GetInput(CalvingStressThresholdFloatingiceEnum); _assert_(smax_fl_input); 210 Input* smax_gr_input = inputs->GetInput(CalvingStressThresholdGroundediceEnum); _assert_(smax_gr_input); 209 211 IssmDouble B = this->GetMaterialParameter(MaterialsRheologyBbarEnum); 210 212 IssmDouble n = this->GetMaterialParameter(MaterialsRheologyNEnum); 211 this->parameters->FindParam(&sigma_max_floating,CalvingStressThresholdFloatingiceEnum);212 this->parameters->FindParam(&sigma_max_grounded,CalvingStressThresholdGroundediceEnum);213 213 214 214 /* Start looping on the number of vertices: */ … … 221 221 vy_input->GetInputValue(&vy,gauss); 222 222 gr_input->GetInputValue(&groundedice,gauss); 223 smax_fl_input->GetInputValue(&sigma_max_floating,gauss); 224 smax_gr_input->GetInputValue(&sigma_max_grounded,gauss); 223 225 vel=sqrt(vx*vx+vy*vy)+1.e-14; 224 226 -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r21946 r22044 226 226 Input* vy_input = inputs->GetInput(VyEnum); _assert_(vy_input); 227 227 Input* gr_input = inputs->GetInput(MaskGroundediceLevelsetEnum); _assert_(gr_input); 228 Input* smax_fl_input = inputs->GetInput(CalvingStressThresholdFloatingiceEnum); _assert_(smax_fl_input); 229 Input* smax_gr_input = inputs->GetInput(CalvingStressThresholdGroundediceEnum); _assert_(smax_gr_input); 228 230 IssmDouble B = this->GetMaterialParameter(MaterialsRheologyBbarEnum); 229 231 IssmDouble n = this->GetMaterialParameter(MaterialsRheologyNEnum); 230 this->parameters->FindParam(&sigma_max_floating,CalvingStressThresholdFloatingiceEnum);231 this->parameters->FindParam(&sigma_max_grounded,CalvingStressThresholdGroundediceEnum);232 232 233 233 /* Start looping on the number of vertices: */ … … 240 240 vy_input->GetInputValue(&vy,gauss); 241 241 gr_input->GetInputValue(&groundedice,gauss); 242 smax_fl_input->GetInputValue(&sigma_max_floating,gauss); 243 smax_gr_input->GetInputValue(&sigma_max_grounded,gauss); 242 244 vel=sqrt(vx*vx+vy*vy)+1.e-14; 243 245
Note:
See TracChangeset
for help on using the changeset viewer.