File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/it/geoframe/blogspot/closureequation/closureequation Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2727public class SoilWaterRetentionCurveFactory {
2828
2929
30- public SoilWaterRetentionCurve create (String model ) {
30+ public ClosureEquation create (String model ) {
3131
32- SoilWaterRetentionCurve myModel = null ;
32+ ClosureEquation myModel = null ;
3333
3434 if (model .equalsIgnoreCase ("Van Genuchten" ) || model .equalsIgnoreCase ("VanGenuchten" ) || model .equalsIgnoreCase ("VG" )) {
3535 myModel = new SWRCVanGenuchten ();
@@ -39,6 +39,8 @@ public SoilWaterRetentionCurve create(String model) {
3939 myModel = new SWRCKosugi ();
4040 }else if (model .equalsIgnoreCase ("Romano" )) {
4141 myModel = new SWRCRomano ();
42+ }else if (model .equalsIgnoreCase ("Water Depth" ) || model .equalsIgnoreCase ("WaterDepth" )) {
43+ myModel = new WaterDepth ();
4244 }else {
4345 System .out .println ("\n \n \t ERROR: please check swrcModel name." );
4446 }
You can’t perform that action at this time.
0 commit comments