ACRUSalinity.Processes.InitialiseSaltLoad
Class PInitialiseLandSegSaltLoad

java.lang.Object
  extended byACRU.Components.CNode
      extended byACRU.Processes.PProcess
          extended byACRUSalinity.Processes.InitialiseSaltLoad.PInitialiseSaltLoad
              extended byACRUSalinity.Processes.InitialiseSaltLoad.PInitialiseLandSegSaltLoad
All Implemented Interfaces:
ACRU.Interfaces.ISaltFlow

public class PInitialiseLandSegSaltLoad
extends PInitialiseSaltLoad

This process determines the initial salt load stored in a subsurface system of non-irrigated areas when the simulation comences.

Author:
Aynom Teweldebrhan

Field Summary
(package private)  int currentDate
           
protected  ACRU.Components.CGroundwater groundwaterStore
           
protected  ACRU.Components.CIrrigatedArea irrigatedArea
           
protected  ACRU.Components.CLandSegment landSegment
           
protected  java.util.Vector soilHorizons
           
protected static int startDay
           
protected static int startMonth
           
protected static int startYear
           
protected  ACRU.Components.Soils.CHorizon subsoilHorizon
           
protected  ACRU.Components.Soils.CSoil thisCSoil
           
protected  ACRU.Components.Soils.CHorizon topsoilHorizon
           
 
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
PInitialiseLandSegSaltLoad(ACRU.Components.CComponent component)
          Constructor that requires a CLandSegment type of CComponent as an argument.
PInitialiseLandSegSaltLoad(ACRU.Components.Soils.CSoil soil, ACRU.Components.CLandSegment landSegment)
          Constructor that takes CSoil and CLandSegment objects as an argument.
 
Method Summary
 void flowSalt()
          The method in which the salt flow behaviour is implemented .
 int getCurrentDate()
           
 void initialiseSaltFluxRecord()
           
private  void setRequiredData()
           
 
Methods inherited from class ACRUSalinity.Processes.InitialiseSaltLoad.PInitialiseSaltLoad
runProcess, transportSalt
 
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
 

Field Detail

landSegment

protected ACRU.Components.CLandSegment landSegment

groundwaterStore

protected ACRU.Components.CGroundwater groundwaterStore

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
Constructor Detail

PInitialiseLandSegSaltLoad

public PInitialiseLandSegSaltLoad(ACRU.Components.Soils.CSoil soil,
                                  ACRU.Components.CLandSegment landSegment)
                           throws ACRU.Exceptions.EException
Constructor that takes CSoil and CLandSegment objects as an argument.

Throws:
java.lang.Exception - Exceptions not dealt with internally.
ACRU.Exceptions.EException

PInitialiseLandSegSaltLoad

public PInitialiseLandSegSaltLoad(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 CLandSegment.
ACRU.Exceptions.EException
Method Detail

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()


Hosted by www.Geocities.ws

1