Exemplo n.º 1
0
 /// <summary>Return the plant available water CAPACITY for the specified crop. Units: mm/mm</summary>
 /// <param name="soil">The soil to calculate PAWC for.</param>
 /// <param name="crop">The crop.</param>
 /// <returns></returns>
 public static double[] OfCrop(Soil soil, SoilCrop crop)
 {
     return(PAWC.PAWCInternal(soil.Water.Thickness,
                              crop.LL,
                              soil.Water.DUL,
                              crop.XF));
 }
Exemplo n.º 2
0
 /// <summary>Return the plant available water CAPACITY for the specified crop. Units: mm</summary>
 /// <param name="soil">The soil to calculate PAWC for.</param>
 /// <param name="crop">The crop.</param>
 /// <returns></returns>
 public static double[] OfCropmm(Soil soil, SoilCrop crop)
 {
     double[] pawc = PAWC.OfCrop(soil, crop);
     return(MathUtilities.Multiply(pawc, soil.Water.Thickness));
 }