Changeset 14814
- Timestamp:
- 04/30/13 12:25:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/modules/GiaDeflectionCorex/GiaDeflectionCorex.cpp ¶
r14807 r14814 14 14 #include "../InputUpdateFromConstantx/InputUpdateFromConstantx.h" 15 15 16 #define Nrsl 117 #define N3G 118 #define Nafter 119 16 #define Ntime 2 20 17 #define Ntimp 3 … … 77 74 /*constant: */ 78 75 int idisk=1; // disk # 76 IssmDouble yts; 79 77 80 78 /*coming from the model structure, runtime configurable:*/ … … 86 84 IssmDouble ri; //radial distance from center of disk to vertex i 87 85 IssmDouble re; //radius of disk 88 IssmDouble current_he; //thickness at current time89 86 IssmDouble* hes; //loading history (in ice thickness) 90 87 IssmDouble* times; //loading history times … … 111 108 ri=arguments->ri; 112 109 re=arguments->re; 113 current_he=arguments->current_he;114 110 hes=arguments->hes; 115 111 times=arguments->times; … … 126 122 irate=arguments->irate; 127 123 iedge=arguments->iedge; 128 129 //printf("%g %g %g %i %g %g %g %g %g %g %g %g %i\n", ri,re,current_he,numtimes,currenttime,lithosphere_shear_modulus,lithosphere_density,mantle_shear_modulus,mantle_viscosity, mantle_density,lithosphere_thickness,rho_ice,disk_id); 124 yts=arguments->yts; 130 125 131 126 /*}}}*/ … … 147 142 148 143 /*loading history: */ 149 blocky_.zhload[0]= current_he;150 blocky_.zhload[1]= current_he;144 blocky_.zhload[0]=hes[1]; 145 blocky_.zhload[1]=hes[numtimes-1]; 151 146 152 147 /*times: */ 153 blockt_.time[0]= 1.e-4; // in kyr148 blockt_.time[0]=times[1]/1000.0/yts; // in kyr 154 149 blockt_.time[1]=2500e+0; // in kyr 155 blockt_.time[2]= 2400e+0; // control this for benchmark experiments150 blockt_.time[2]=times[numtimes-1]/1000.0/yts; // control this for benchmark experiments 156 151 157 152 /*irate: */ … … 162 157 /*}}}*/ 163 158 164 165 159 /*Call distme driver: */ 166 160 distme_(&idisk,&iedge);
Note:
See TracChangeset
for help on using the changeset viewer.