Changeset 14837
- Timestamp:
- 05/01/13 16:22:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/GiaDeflectionCorex/GiaDeflectionCorex.cpp
r14822 r14837 14 14 #include "../InputUpdateFromConstantx/InputUpdateFromConstantx.h" 15 15 16 #define Ntime 2 17 #define Ntimp 3 16 #define Ntime 5 // number of times with load history 17 #define Ntimm 4 // Ntime-1 : for slope/y-cept of load segments 18 #define Ntimp 6 // Ntime+1 : for evaluation time 18 19 19 20 /*External blocks: {{{*/ … … 24 25 struct blockt{ 25 26 double time[Ntimp]; 26 double bi[Ntim e];27 double dmi[Ntim e];27 double bi[Ntimm]; 28 double dmi[Ntimm]; 28 29 }; 29 30 … … 142 143 143 144 /*loading history: */ 144 blocky_.zhload[0]=hes[1]; 145 blocky_.zhload[1]=hes[numtimes-1]; 145 blocky_.zhload[0]=hes[0]; 146 blocky_.zhload[1]=hes[1]; 147 blocky_.zhload[2]=hes[2]; 148 blocky_.zhload[3]=hes[3]; 149 blocky_.zhload[4]=hes[numtimes-1]; 146 150 147 151 /*times: */ 148 blockt_.time[0]=times[1]/1000.0/yts; // in kyr 149 blockt_.time[1]=2500e+0; // in kyr 150 blockt_.time[2]=times[numtimes-1]/1000.0/yts; // control this for benchmark experiments 152 blockt_.time[0]=times[0]/1000.0/yts; // in kyr 153 blockt_.time[1]=times[1]/1000.0/yts; // in kyr 154 blockt_.time[2]=times[2]/1000.0/yts; // in kyr 155 blockt_.time[3]=times[3]/1000.0/yts; // in kyr 156 blockt_.time[4]=2500.0; // in kyr 157 blockt_.time[5]=times[numtimes-1]/1000.0/yts; // evaluation time, in kyr 151 158 152 159 /*irate: */
Note:
See TracChangeset
for help on using the changeset viewer.