RHMS (version 1.3)

createDiversion.default: default function for class of createDiversion

Description

instantiates an object from class of createDiversion

Usage

# S3 method for default
createDiversion(name="Unttitled",label,downstream=NA,divertTo,capacity)

Arguments

name

a string: the name of diversion to be instantiated

downstream

an integer: the code of downstream object

label

an integer: a unique number, as label

divertTo

an integer: the code of an object at the diversion outlet

capacity

diversion capacity (cms)

Value

a list: an object from class of list instantiated by createDiversion

See Also

addObjectToBasin