ACRUSalinity.Processes.SurfaceSaltMovement
Class PIrrigRunoffSalinity

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

public class PIrrigRunoffSalinity
extends PSurfaceSaltMovement

This class is responsible for determining runoff salinity through simple mixing of baseflow and quickflow

Author:
Aynom Teweldebrhan

Field Summary
protected  ACRU.Components.CIrrigatedArea m_CIrrigatedArea
           
protected  ACRU.Components.CDam reservoir
           
protected  ACRU.Components.CGroundwater thisCGroundwater
           
 
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
PIrrigRunoffSalinity(ACRU.Components.CComponent source)
          Constructor that requires a CIrrigatedArea type of CComponent as an argument.
PIrrigRunoffSalinity(ACRU.Components.CIrrigatedArea irrigatedArea, ACRU.Components.CGroundwater groundwater)
          Constructor that takes CIrrigatedAra and CGroundwater objects as an argument.
 
Method Summary
 void flowSalt()
          The method in which the salt flow behaviour is implemented .
 void runoffSalinity()
           
private  void setRequiredData()
           
 
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

m_CIrrigatedArea

protected ACRU.Components.CIrrigatedArea m_CIrrigatedArea

thisCGroundwater

protected ACRU.Components.CGroundwater thisCGroundwater

reservoir

protected ACRU.Components.CDam reservoir
Constructor Detail

PIrrigRunoffSalinity

public PIrrigRunoffSalinity(ACRU.Components.CIrrigatedArea irrigatedArea,
                            ACRU.Components.CGroundwater groundwater)
Constructor that takes CIrrigatedAra and CGroundwater objects as an argument.

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

PIrrigRunoffSalinity

public PIrrigRunoffSalinity(ACRU.Components.CComponent source)
                     throws ACRU.Exceptions.EIllegalComponentTypeException,
                            ACRU.Exceptions.EException
Constructor that requires a CIrrigatedArea type of CComponent as an argument.

Parameters:
source - The irrigatedArea from which the Salt load and salinity of the runoff leaving the area are being calculated.
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
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 PSurfaceSaltMovement
Throws:
java.lang.Exception
ACRU.Exceptions.EException

runoffSalinity

public void runoffSalinity()
                    throws java.lang.Exception,
                           ACRU.Exceptions.EException
Throws:
java.lang.Exception
ACRU.Exceptions.EException


Hosted by www.Geocities.ws

1