Changeset 24736
- Timestamp:
- 04/24/20 18:04:23 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/SurfaceMassBalancex/Gembx.cpp
r24735 r24736 937 937 938 938 //SW penetrates surface 939 for(int j=0;j<m;j++) T[j] = T[j] + dT_sw[j];940 T[0] = T[0] + dT_dlw + dT_ulw + dT_turb;939 if(!isconstrainsurfaceT) for(int j=0;j<m;j++) T[j] = T[j] + dT_sw[j]; 940 if(!isconstrainsurfaceT) T[0] = T[0] + dT_dlw + dT_ulw + dT_turb; 941 941 942 942 // temperature diffusion … … 947 947 948 948 // calculate cumulative evaporation (+)/condensation(-) 949 EC = EC + (EC_day/dts)*dt;949 if(!isconstrainsurfaceT) EC = EC + (EC_day/dts)*dt; 950 950 951 951 /* CHECK FOR ENERGY (E) CONSERVATION [UNITS: J]
Note:
See TracChangeset
for help on using the changeset viewer.