/// <summary>
 /// Initializes a new instance of the <see cref="NormalSurface"/> class.
 /// </summary>
 /// <param name="SoilObject">The soil object.</param>
 /// <param name="Clock">The clock.</param>
 public NormalSurface(SoilWaterSoil SoilObject, IClock Clock)
 {
     SurfaceType    = Surfaces.NormalSurface;
     base.constants = SoilObject.Constants;
     runoff         = new NormalRunoff(SoilObject); //Soil is needed to initialise the cn2bare, etc.
     evap           = new NormalEvaporation(SoilObject, Clock);
 }
Exemple #2
0
        internal NormalRunoff runoff; //let derived PondSurface see this but not outside world.

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="NormalSurface"/> class.
        /// </summary>
        /// <param name="SoilObject">The soil object.</param>
        /// <param name="Clock">The clock.</param>
        public NormalSurface(SoilWaterSoil SoilObject, Clock Clock)
        {
            SurfaceType = Surfaces.NormalSurface;
            base.constants = SoilObject.Constants;
            runoff = new NormalRunoff(SoilObject);     //Soil is needed to initialise the cn2bare, etc.
            evap = new NormalEvaporation(SoilObject, Clock);
        }