Changeset 23376
- Timestamp:
- 10/02/18 14:45:56 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/HydrologyDCInefficientAnalysis.cpp
r23373 r23376 374 374 } 375 375 if(smb_model==SMBgradientscomponentsEnum){ 376 surface_runoff_input = basalelement->GetInput(SmbRunoffEnum); 376 surface_runoff_input = basalelement->GetInput(SmbRunoffEnum); _assert_(surface_runoff_input); 377 377 } 378 378 … … 393 393 if(!isefficientlayer){ 394 394 basal_melt_input->GetInputValue(&water_load,gauss); 395 surface_runoff_input->GetInputValue(&runoff_value,gauss); 395 if(surface_runoff_input) surface_runoff_input->GetInputValue(&runoff_value,gauss); 396 else runoff_value = 0.; 396 397 scalar = Jdet*gauss->weight*(water_load+runoff_value); 397 398 //scalar = Jdet*gauss->weight*(water_load)/sediment_transmitivity;
Note:
See TracChangeset
for help on using the changeset viewer.