Ejemplo n.º 1
0
        public IrradianceBiomaWrapper(IrradianceBiomaWrapper toCopy)
        {
            irradianceState     = (toCopy.irradianceState != null) ? new INRA.SiriusQualityIrradiance.Interfaces.States(toCopy.irradianceState) : null;
            irradianceRate      = (toCopy.irradianceRate != null) ? new INRA.SiriusQualityIrradiance.Interfaces.Rates(toCopy.irradianceRate) : null;
            irradianceExogenous = (toCopy.irradianceExogenous != null) ? new INRA.SiriusQualityIrradiance.Interfaces.Exogenous(toCopy.irradianceExogenous) : null;

            absorbedIrradiance = (toCopy.absorbedIrradiance != null) ? new INRA.SiriusQualityIrradiance.Strategies.Irradiance(toCopy.absorbedIrradiance) : null;
        }
Ejemplo n.º 2
0
        public IrradianceBiomaWrapper()
        {
            irradianceState     = new INRA.SiriusQualityIrradiance.Interfaces.States();
            irradianceRate      = new INRA.SiriusQualityIrradiance.Interfaces.Rates();
            irradianceExogenous = new INRA.SiriusQualityIrradiance.Interfaces.Exogenous();

            absorbedIrradiance = new INRA.SiriusQualityIrradiance.Strategies.Irradiance();

            IsSunShadeUsed   = true;
            IsHourlyUsed     = true;
            IsCanopyUsed     = true;
            IsSphereDistUsed = true;


            loadParameters();
        }