ACRUSalinity.Processes.InitialiseSaltLoad
Class PInitialiseIrrigSaltLoad
java.lang.Object
ACRU.Components.CNode
ACRU.Processes.PProcess
ACRUSalinity.Processes.InitialiseSaltLoad.PInitialiseSaltLoad
ACRUSalinity.Processes.InitialiseSaltLoad.PInitialiseIrrigSaltLoad
- All Implemented Interfaces:
- ACRU.Interfaces.ISaltFlow
- public class PInitialiseIrrigSaltLoad
- extends PInitialiseSaltLoad
This process determines the initial salt load stored in irrigated land when the
simulation comences.
- Author:
- Aynom Teweldebrhan
| Fields inherited from class ACRU.Processes.PProcess |
CURRENT_DATE, END_SIMULATION_DATE, initialised, START_SIMULATION_DATE |
| Fields inherited from class ACRU.Components.CNode |
|
|
Constructor Summary |
PInitialiseIrrigSaltLoad(ACRU.Components.CComponent component)
Constructor that requires a CLandSegment type of CComponent as an argument. |
PInitialiseIrrigSaltLoad(ACRU.Components.Soils.CSoil soil,
ACRU.Components.CGroundwater groundwater,
ACRU.Components.CIrrigatedArea irrigatedArea)
Constructor that takes CSoil, CGroundwater and CLandSegment objects as an argument. |
| Methods inherited from class ACRU.Processes.PProcess |
initialise, isInitialised, setCurrentDate, setEndDate, setStartDate, toString |
| Methods inherited from class ACRU.Components.CNode |
getNext, getNext, getNext, getNext, getNextCount, getNextCount, getNexts, getNexts, getTypeOfNexts, getTypeOfNexts, setNext, setNext, setNext, setNext, setNext, setNexts, setNexts, setNexts |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
landSegment
protected ACRU.Components.CLandSegment landSegment
thisCGroundwater
protected ACRU.Components.CGroundwater thisCGroundwater
irrigatedArea
protected ACRU.Components.CIrrigatedArea irrigatedArea
thisCSoil
protected ACRU.Components.Soils.CSoil thisCSoil
soilHorizons
protected java.util.Vector soilHorizons
topsoilHorizon
protected ACRU.Components.Soils.CHorizon topsoilHorizon
subsoilHorizon
protected ACRU.Components.Soils.CHorizon subsoilHorizon
startDay
protected static int startDay
startMonth
protected static int startMonth
startYear
protected static int startYear
currentDate
int currentDate
PInitialiseIrrigSaltLoad
public PInitialiseIrrigSaltLoad(ACRU.Components.Soils.CSoil soil,
ACRU.Components.CGroundwater groundwater,
ACRU.Components.CIrrigatedArea irrigatedArea)
throws ACRU.Exceptions.EException
- Constructor that takes CSoil, CGroundwater and CLandSegment objects as an argument.
- Throws:
java.lang.Exception - Exceptions not dealt with internally.
ACRU.Exceptions.EException
PInitialiseIrrigSaltLoad
public PInitialiseIrrigSaltLoad(ACRU.Components.CComponent component)
throws ACRU.Exceptions.EException,
ACRU.Exceptions.EIllegalComponentTypeException
- Constructor that requires a CLandSegment type of CComponent as an argument.
- Throws:
java.lang.Exception - Exceptions not dealt with internally.
ACRU.Exceptions.EIllegalComponentTypeException - If the argument
CComponent is not an instance of CIrrigatedArea.
ACRU.Exceptions.EException
setRequiredData
private void setRequiredData()
flowSalt
public void flowSalt()
throws java.lang.Exception,
ACRU.Exceptions.EException
- Description copied from interface:
ACRU.Interfaces.ISaltFlow
- The method in which the salt flow behaviour is implemented .
- Specified by:
flowSalt in interface ACRU.Interfaces.ISaltFlow- Specified by:
flowSalt in class PInitialiseSaltLoad
- Throws:
java.lang.Exception
ACRU.Exceptions.EException
initialiseSaltFluxRecord
public void initialiseSaltFluxRecord()
throws java.lang.Exception,
ACRU.Exceptions.EException
- Throws:
java.lang.Exception
ACRU.Exceptions.EException
getCurrentDate
public int getCurrentDate()