source:
issm/oecreview/Archive/25834-26739/ISSM-26275-26276.diff
Last change on this file was 26740, checked in by , 3 years ago | |
---|---|
File size: 1.3 KB |
-
../trunk-jpl/src/c/classes/Elements/Tria.cpp
6136 6136 bool computeviscous = false; 6137 6137 int horiz; 6138 6138 bool istime=true; 6139 IssmDouble timeacc=0 ;6139 IssmDouble timeacc=0.; 6140 6140 IssmDouble start_time,final_time; 6141 6141 int nt,precomputednt; 6142 6142 … … 6211 6211 this->parameters->FindParam(&timeacc,SolidearthSettingsTimeAccEnum); 6212 6212 this->parameters->FindParam(&start_time,TimesteppingStartTimeEnum); 6213 6213 this->parameters->FindParam(&final_time,TimesteppingFinalTimeEnum); 6214 nt=reCast<int >((final_time-start_time)/timeacc)+1;6214 nt=reCast<int,IssmDouble>((final_time-start_time)/timeacc)+1; 6215 6215 } 6216 6216 else{ 6217 6217 nt=1; //in elastic, or if we run only rigid, we need only one step … … 6820 6820 this->parameters->FindParam(&timeacc,SolidearthSettingsTimeAccEnum); 6821 6821 this->parameters->FindParam(&start_time,TimesteppingStartTimeEnum); 6822 6822 this->parameters->FindParam(&final_time,TimesteppingFinalTimeEnum); 6823 nt=reCast<int >((final_time-start_time)/timeacc)+1;6823 nt=reCast<int,IssmDouble>((final_time-start_time)/timeacc)+1; 6824 6824 } 6825 6825 else{ 6826 6826 nt=1; //in elastic, or if we run only rigid, we need only one step
Note:
See TracBrowser
for help on using the repository browser.