Changeset 27726
- Timestamp:
- 05/04/23 16:41:01 (23 months ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/SealevelchangeAnalysis.cpp
r27308 r27726 470 470 *with steps equal to timeacc:*/ 471 471 if(viscous){ 472 nt=reCast<int >((final_time-start_time)/timeacc)+1;472 nt=reCast<int,IssmDouble>((final_time-start_time)/timeacc)+1; 473 473 #ifdef _HAVE_AD_ 474 474 G_viscoelastic_interpolated=xNew<IssmDouble>(M*nt,"t"); -
issm/trunk-jpl/src/c/modules/GiaDeflectionCorex/GiaDeflectionCorex.cpp
r27102 r27726 88 88 IssmPDouble* blockt_time=xNew<IssmPDouble>(Ntimp); 89 89 for(int i=0;i<Ntimp;i++){ 90 blockt_time[i]= times[i]/1000.0/yts;91 if(i==numtimes-1) blockt_time[i]=reCast<IssmPDouble>(times[numtimes-1] )/1000.0/yts; // final loading time, same as evaluation time92 if(i==numtimes) blockt_time[i]=reCast<IssmPDouble>(times[numtimes-1] )/1000.0/yts; // evaluation time90 blockt_time[i]=reCast<IssmPDouble>(times[i]/1000.0/yts); 91 if(i==numtimes-1) blockt_time[i]=reCast<IssmPDouble>(times[numtimes-1]/1000.0/yts); // final loading time, same as evaluation time 92 if(i==numtimes) blockt_time[i]=reCast<IssmPDouble>(times[numtimes-1]/1000.0/yts); // evaluation time 93 93 } 94 94
Note:
See TracChangeset
for help on using the changeset viewer.