Changeset 19371
- Timestamp:
- 05/15/15 10:46:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r19363 r19371 1723 1723 gauss->GaussVertex(iv); 1724 1724 input->GetInputValue(&monthlytemperatures[iv*12+month],gauss,time_yr+month/12.*yts); 1725 yearlytemperatures[iv]=yearlytemperatures[iv]+monthlytemperatures[iv*12+month]*mavg; // Has to be in Kelvin1725 // yearlytemperatures[iv]=yearlytemperatures[iv]+monthlytemperatures[iv*12+month]*mavg; // Has to be in Kelvin 1726 1726 monthlytemperatures[iv*12+month]=monthlytemperatures[iv*12+month]-273.15; // conversion from Kelvin to celcius for PDD module 1727 1727 input2->GetInputValue(&monthlyprec[iv*12+month],gauss,time_yr+month/12.*yts); … … 1754 1754 desfac, s0t[iv], s0p[iv],rlaps,rlapslgm,TdiffTime,sealevTime, 1755 1755 rho_water,rho_ice); 1756 /*Get yearlytemperatures */ 1757 for(int month=0;month<12;month++) { 1758 yearlytemperatures[iv]=yearlytemperatures[iv]+(monthlytemperatures[iv*12+month]+273.15)*mavg; // Has to be in Kelvin 1759 } 1756 1760 } 1757 1761
Note:
See TracChangeset
for help on using the changeset viewer.