Example #1
0
 public PhenologyWrapper(Universe universe) : base(universe)
 {
     s = new PhenologyState();
     r = new PhenologyRate();
     a = new PhenologyAuxiliary();
     phenologyComponent = new Phenology();
     loadParameters();
 }
 public PhenologyWrapper()
 {
     s = new PhenologyState();
     r = new PhenologyRate();
     a = new PhenologyAuxiliary();
     phenologyComponent = new PhenologyComponent();
     loadParameters();
 }
 public PhenologyWrapper(PhenologyWrapper toCopy, bool copyAll) : this()
 {
     s = (toCopy.s != null) ? new PhenologyState(toCopy.s, copyAll) : null;
     r = (toCopy.r != null) ? new PhenologyRate(toCopy.r, copyAll) : null;
     a = (toCopy.a != null) ? new PhenologyAuxiliary(toCopy.a, copyAll) : null;
     if (copyAll)
     {
         phenologyComponent = (toCopy.phenologyComponent != null) ? new PhenologyComponent(toCopy.phenologyComponent) : null;
     }
 }
Example #4
0
 public PhenologyWrapper(Universe universe, PhenologyWrapper toCopy, bool copyAll) : base(universe)
 {
     s = (toCopy.s != null) ? new PhenologyState(toCopy.s, copyAll) : null;
     r = (toCopy.r != null) ? new PhenologyRate(toCopy.r, copyAll) : null;
     a = (toCopy.a != null) ? new PhenologyAuxiliary(toCopy.a, copyAll) : null;
     if (copyAll)
     {
         phenologyComponent = (toCopy.phenologyComponent != null) ? new Phenology(toCopy.phenologyComponent) : null;
     }
 }
Example #5
0
 public PhenologyComponent(PhenologyComponent toCopy) : this() // copy constructor
 {
     aMXLFNO               = toCopy.aMXLFNO;
     pNini                 = toCopy.pNini;
     sDsa_sh               = toCopy.sDsa_sh;
     latitude              = toCopy.latitude;
     kl                    = toCopy.kl;
     lincr                 = toCopy.lincr;
     ldecr                 = toCopy.ldecr;
     pincr                 = toCopy.pincr;
     pTQhf                 = toCopy.pTQhf;
     B                     = toCopy.B;
     areaSL                = toCopy.areaSL;
     areaSS                = toCopy.areaSS;
     lARmin                = toCopy.lARmin;
     sowingDensity         = toCopy.sowingDensity;
     lARmax                = toCopy.lARmax;
     lNeff                 = toCopy.lNeff;
     rp                    = toCopy.rp;
     p                     = toCopy.p;
     pdecr                 = toCopy.pdecr;
     maxTvern              = toCopy.maxTvern;
     tTWindowForPTQ        = toCopy.tTWindowForPTQ;
     vBEE                  = toCopy.vBEE;
     isVernalizable        = toCopy.isVernalizable;
     minTvern              = toCopy.minTvern;
     intTvern              = toCopy.intTvern;
     vAI                   = toCopy.vAI;
     maxDL                 = toCopy.maxDL;
     choosePhyllUse        = toCopy.choosePhyllUse;
     minDL                 = toCopy.minDL;
     pFLLAnth              = toCopy.pFLLAnth;
     dcd                   = toCopy.dcd;
     dgf                   = toCopy.dgf;
     degfm                 = toCopy.degfm;
     ignoreGrainMaturation = toCopy.ignoreGrainMaturation;
     pHEADANTH             = toCopy.pHEADANTH;
     sLDL                  = toCopy.sLDL;
     sowingDay             = toCopy.sowingDay;
     sowingDate            = toCopy.sowingDate;
     sDws                  = toCopy.sDws;
     sDsa_nh               = toCopy.sDsa_nh;
     der                   = toCopy.der;
     targetFertileShoot    = toCopy.targetFertileShoot;
     dse                   = toCopy.dse;
     slopeTSFLN            = toCopy.slopeTSFLN;
     intTSFLN              = toCopy.intTSFLN;
 }