public class WaterReserveCriteria extends Object
| Modifier and Type | Field and Description |
|---|---|
static float |
FIRST_THRESHOLD_DEFAULT |
float |
firstThreshold
threshold based on ru in mm/m
|
static float |
SECOND_THRESHOLD_DEFAULT |
float |
secondThreshold
threshold based on bulk density in gm/cm3
|
| Constructor and Description |
|---|
WaterReserveCriteria() |
| Modifier and Type | Method and Description |
|---|---|
float |
getFirstThreshold()
Threshold corresponding to the water reserve difference between layers in mm/m
|
float |
getSecondThreshold()
Threshold corresponding to the water reserve difference between layers in mm/m
|
Float |
round(Float r)
Round float
|
void |
setFirstThreshold(float firstThreshold) |
void |
setSecondThreshold(float secondThreshold) |
boolean |
shouldAggregateSoils(HashMap<String,String> currentSoil,
HashMap<String,String> previousSoil)
Criteria for merging soils ru is the maximum available water reserve
(reserve utile) sdul is the field capacity slll is the wilting point
(point de fletrissement permanent) slbdm is the bulk density
|
public float firstThreshold
public float secondThreshold
public static float FIRST_THRESHOLD_DEFAULT
public static float SECOND_THRESHOLD_DEFAULT
public boolean shouldAggregateSoils(HashMap<String,String> currentSoil, HashMap<String,String> previousSoil)
currentSoil - previousSoil - public float getFirstThreshold()
public void setFirstThreshold(float firstThreshold)
public float getSecondThreshold()
public void setSecondThreshold(float secondThreshold)
Copyright © 2014. All Rights Reserved.