Changeset 14837


Ignore:
Timestamp:
05/01/13 16:22:19 (12 years ago)
Author:
adhikari
Message:

CHG: Default numtimes=5, for Ivins benchmarks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/GiaDeflectionCorex/GiaDeflectionCorex.cpp

    r14822 r14837  
    1414#include "../InputUpdateFromConstantx/InputUpdateFromConstantx.h"
    1515
    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 
    1819
    1920/*External blocks: {{{*/
     
    2425struct blockt{
    2526        double time[Ntimp];
    26         double bi[Ntime];
    27         double dmi[Ntime];
     27        double bi[Ntimm];
     28        double dmi[Ntimm];
    2829};
    2930
     
    142143
    143144        /*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];
    146150
    147151        /*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
    151158
    152159        /*irate: */
Note: See TracChangeset for help on using the changeset viewer.