source:
issm/oecreview/Archive/24684-25833/ISSM-24735-24736.diff@
25834
Last change on this file since 25834 was 25834, checked in by , 4 years ago | |
---|---|
File size: 1.2 KB |
-
../trunk-jpl/src/c/modules/SurfaceMassBalancex/Gembx.cpp
Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
936 936 // new grid point temperature 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 943 943 for(int j=0;j<m;j++) T0[1+j]=T[j]; … … 946 946 for(int j=0;j<m;j++) T[j] = (Np[j] * T[j]) + (Nu[j] * Tu[j]) + (Nd[j] * Td[j]); 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] 952 952 //energy flux across lower boundary (energy supplied by underling ice)
Note:
See TracBrowser
for help on using the repository browser.