Changeset 25287
- Timestamp:
- 07/17/20 13:42:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r25267 r25287 5945 5945 /*diverse:*/ 5946 5946 int gsize; 5947 IssmDouble I, S ; //change in relative ice thickness and sea level5947 IssmDouble I, S, BP; //change in relative ice thickness and sea level 5948 5948 IssmDouble rho_ice,rho_water; 5949 5949 int horiz; … … 5987 5987 /*convert to kg/m^2:*/ 5988 5988 S=rho_water*S; 5989 5990 /*If bottom pressures are available, retrieve them to load the bedrock:*/ 5991 if(bp_compute_fingerprints){ 5992 Input2* bottompressure_change_input=this->GetInput2(DslSeaWaterPressureChangeAtSeaFloor); 5993 if (!bottompressure_change_input)_error_("bottom pressure input needed to compute sea level rise fingerprint!"); 5994 bottompressure_change_input->GetInputAverage(&BP); 5995 5996 /*convert from m to kg/m^2:*/ 5997 BP=BP*rho_water; 5998 5999 S+=BP; 6000 } 5989 6001 5990 6002 for(int i=0;i<gsize;i++){
Note:
See TracChangeset
for help on using the changeset viewer.