source: issm/oecreview/Archive/20545-21336/ISSM-20971-20972.diff@ 21337

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

CHG: added Archive/20545-21336

File size: 888 bytes
RevLine 
[21337]1Index: ../trunk-jpl/src/c/main/esmfbinders.cpp
2===================================================================
3--- ../trunk-jpl/src/c/main/esmfbinders.cpp (revision 20971)
4+++ ../trunk-jpl/src/c/main/esmfbinders.cpp (revision 20972)
5@@ -132,7 +132,7 @@
6 /*}}}*/
7
8 /*Before running, setup the time interval: */
9- femmodel->parameters->FindParam(&start_time,TimesteppingStartTimeEnum);
10+ femmodel->parameters->FindParam(&start_time,TimeEnum);
11 final_time=start_time+dt;
12 femmodel->parameters->SetParam(final_time,TimesteppingFinalTimeEnum); //we are bypassing ISSM's initial final time!
13
14@@ -140,7 +140,7 @@
15 femmodel->Solve();
16
17 /*For the next time around, save the final time as start time */
18- femmodel->parameters->SetParam(final_time,TimesteppingStartTimeEnum);
19+ femmodel->parameters->SetParam(final_time,TimeEnum);
20 } /*}}}*/
21 void FinalizeISSM(){ /*{{{*/
22
Note: See TracBrowser for help on using the repository browser.