ACRUSalinity.Processes.SurfaceSaltMovement
Class PLandSegSaltMovement

java.lang.Object
  extended byACRU.Components.CNode
      extended byACRU.Processes.PProcess
          extended byACRUSalinity.Processes.SurfaceSaltMovement.PSurfaceSaltMovement
              extended byACRUSalinity.Processes.SurfaceSaltMovement.PLandSegSaltMovement
All Implemented Interfaces:
ACRU.Interfaces.ISaltFlow

public class PLandSegSaltMovement
extends PSurfaceSaltMovement

This process is responsible for distributing runoff salt load from a land segment to the appropriate outflow components, such as a channel and dam reaches, as is done with the hydrological process.

Author:
Aynom Teweldebrhan

Field Summary
protected  ACRU.Components.CAdjunctImperviousArea adjunctImperviousArea
          The adjunct impervious area contained in the land segment.
protected  ACRU.Components.CDam dam
          The dam contained in the land segment.
protected  ACRU.Components.CDisjunctImperviousArea disjunctImperviousArea
          The disjunct impervious area contained in the land segment.
protected  ACRU.Components.CGroundwater groundwaterStore
          The groundwater store of the land segment.
protected  ACRU.Components.CIrrigatedArea irrigatedArea
          The irrigated area contained in the land segment.
protected  ACRU.Components.CLandSegment landSegment
          The land segment from which salt is to be distributed.
 
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
PLandSegSaltMovement(ACRU.Components.CComponent component)
          Constructor that requires a CLandSegment type of CComponent as an argument.
PLandSegSaltMovement(ACRU.Components.CLandSegment landSegment)
          Constructor that takes a CLandSegment object as an argument.
 
Method Summary
 void flowSalt()
          Distributes runoff salt load from a land segment to the appropriate outflow components, such as channel and dam reaches, as is done in the hydrological process.
private  void setRequiredData()
          Sets the DData objects required from the CComponent objects associated with this process.
 
Methods inherited from class ACRUSalinity.Processes.SurfaceSaltMovement.PSurfaceSaltMovement
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
The land segment from which salt is to be distributed.


groundwaterStore

protected ACRU.Components.CGroundwater groundwaterStore
The groundwater store of the land segment.


irrigatedArea

protected ACRU.Components.CIrrigatedArea irrigatedArea
The irrigated area contained in the land segment.


dam

protected ACRU.Components.CDam dam
The dam contained in the land segment.


adjunctImperviousArea

protected ACRU.Components.CAdjunctImperviousArea adjunctImperviousArea
The adjunct impervious area contained in the land segment.


disjunctImperviousArea

protected ACRU.Components.CDisjunctImperviousArea disjunctImperviousArea
The disjunct impervious area contained in the land segment.

Constructor Detail

PLandSegSaltMovement

public PLandSegSaltMovement(ACRU.Components.CLandSegment landSegment)
                     throws ACRU.Exceptions.EException
Constructor that takes a CLandSegment object as an argument.

Parameters:
landSegment - The land segment from which salt load is to be distributed.
Throws:
ACRU.Exceptions.EException - EExceptions not dealt with internally.

PLandSegSaltMovement

public PLandSegSaltMovement(ACRU.Components.CComponent component)
                     throws ACRU.Exceptions.EException,
                            ACRU.Exceptions.EIllegalComponentTypeException
Constructor that requires a CLandSegment type of CComponent as an argument.

Parameters:
component - The land segment from which salt load is to be distributed.
Throws:
ACRU.Exceptions.EException - EExceptions not dealt with internally.
ACRU.Exceptions.EIllegalComponentTypeException - If the argument CComponent is not an instance of CLandSegment.
Method Detail

setRequiredData

private void setRequiredData()
Sets the DData objects required from the CComponent objects associated with this process.


flowSalt

public void flowSalt()
              throws java.lang.Exception,
                     ACRU.Exceptions.EException
Distributes runoff salt load from a land segment to the appropriate outflow components, such as channel and dam reaches, as is done in the hydrological process.

Specified by:
flowSalt in interface ACRU.Interfaces.ISaltFlow
Specified by:
flowSalt in class PSurfaceSaltMovement
Throws:
java.lang.Exception - Exceptions not dealt with internally.
ACRU.Exceptions.EException - EExceptions not dealt with internally.


Hosted by www.Geocities.ws

1