source: issm/oecreview/Archive/21337-21723/ISSM-21558-21559.diff

Last change on this file was 21726, checked in by Mathieu Morlighem, 8 years ago

CHG added Archive/21337-21723

File size: 830 bytes
RevLine 
[21726]1Index: ../trunk-jpl/src/c/classes/Elements/Element.cpp
2===================================================================
3--- ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 21558)
4+++ ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 21559)
5@@ -2039,8 +2039,9 @@
6 IssmDouble enthalpy[6];
7 GetInputListOnVertices(&enthalpy[0],EnthalpyEnum);
8 ThermalToEnthalpy(&enthalpy[3],yearlytemperatures[3],0.,0.);
9- ThermalToEnthalpy(&enthalpy[4],yearlytemperatures[3],0.,0.);
10- ThermalToEnthalpy(&enthalpy[5],yearlytemperatures[3],0.,0.);
11+ ThermalToEnthalpy(&enthalpy[4],yearlytemperatures[4],0.,0.);
12+ ThermalToEnthalpy(&enthalpy[5],yearlytemperatures[5],0.,0.);
13+ printarray(enthalpy,1,6);
14 this->inputs->AddInput(new PentaInput(EnthalpyEnum,&enthalpy[0],P1Enum));
15 }
16 }
Note: See TracBrowser for help on using the repository browser.