public EnergybalanceWrapper(Universe universe) : base(universe) { s = new EnergybalanceState(); r = new EnergybalanceRate(); a = new EnergybalanceAuxiliary(); energybalanceComponent = new Energybalance(); loadParameters(); }
public EnergybalanceWrapper() { s = new EnergybalanceState(); r = new EnergybalanceRate(); a = new EnergybalanceAuxiliary(); energybalanceComponent = new EnergybalanceComponent(); loadParameters(); }
public EnergybalanceWrapper(Universe universe, EnergybalanceWrapper toCopy, bool copyAll) : base(universe) { s = (toCopy.s != null) ? new EnergybalanceState(toCopy.s, copyAll) : null; r = (toCopy.r != null) ? new EnergybalanceRate(toCopy.r, copyAll) : null; a = (toCopy.a != null) ? new EnergybalanceAuxiliary(toCopy.a, copyAll) : null; if (copyAll) { energybalanceComponent = (toCopy.energybalanceComponent != null) ? new Energybalance(toCopy.energybalanceComponent) : null; } }
public EnergybalanceWrapper(EnergybalanceWrapper toCopy, bool copyAll) : this() { s = (toCopy.s != null) ? new EnergybalanceState(toCopy.s, copyAll) : null; r = (toCopy.r != null) ? new EnergybalanceRate(toCopy.r, copyAll) : null; a = (toCopy.a != null) ? new EnergybalanceAuxiliary(toCopy.a, copyAll) : null; if (copyAll) { energybalanceComponent = (toCopy.energybalanceComponent != null) ? new EnergybalanceComponent(toCopy.energybalanceComponent) : null; } }
public EnergybalanceComponent(EnergybalanceComponent toCopy) : this() // copy constructor { albedoCoefficient = toCopy.albedoCoefficient; stefanBoltzman = toCopy.stefanBoltzman; elevation = toCopy.elevation; lambdaV = toCopy.lambdaV; psychrometricConstant = toCopy.psychrometricConstant; Alpha = toCopy.Alpha; vonKarman = toCopy.vonKarman; heightWeatherMeasurements = toCopy.heightWeatherMeasurements; zm = toCopy.zm; d = toCopy.d; zh = toCopy.zh; soilDiffusionConstant = toCopy.soilDiffusionConstant; rhoDensityAir = toCopy.rhoDensityAir; specificHeatCapacityAir = toCopy.specificHeatCapacityAir; tau = toCopy.tau; tauAlpha = toCopy.tauAlpha; isWindVpDefined = toCopy.isWindVpDefined; }