Package hec.rss.model

Class MuskingumCungePrismRouting

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, TSLocation, AltInputReportInfc, RssModelVariableConstants, RssReturnStatusConstants, RssTSLocation, Serializable, Cloneable, Comparable, Observer, rma.lang.Modifiable

public class MuskingumCungePrismRouting extends Routing
See Also:
  • Constructor Details

    • MuskingumCungePrismRouting

      public MuskingumCungePrismRouting()
    • MuskingumCungePrismRouting

      public MuskingumCungePrismRouting(Element elem)
  • Method Details

    • clone

      public Object clone()
      Description copied from class: Function
      clone method
      Overrides:
      clone in class Function
    • getForecastEquation

      public boolean getForecastEquation(RunTime runtime)
      Deprecated.
      12/04
      old method relying on native method - no longer used
      Overrides:
      getForecastEquation in class Function
      Parameters:
      runtime -
      Returns:
    • computeRouting

      public int computeRouting(RunTimeStep runtime)
      Deprecated.
      12/04
      old method relying on native method - no longer used
      Overrides:
      computeRouting in class Routing
      Parameters:
      runtime -
      Returns:
    • initialize

      public boolean initialize()
      Description copied from class: Routing
      initialize prior to a compute
      Overrides:
      initialize in class Routing
    • setchannelLength

      public void setchannelLength(double[] channelLength)
    • setchannelSlope

      public void setchannelSlope(double[] channelSlope)
    • setmanningsN

      public void setmanningsN(double[] manningsN)
    • setchannelType

      public void setchannelType(char[] channelType)
    • setbottomWidth

      public void setbottomWidth(double[] bottomWidth)
    • setsideSlope

      public void setsideSlope(double[] sideSlope)
    • setnumberNodes

      public void setnumberNodes(int numberNodes)
    • setuseNumberNodes

      public void setuseNumberNodes(boolean a)
    • setchannelLength

      public void setchannelLength(hec.data.ParamDouble pd)
    • getchannelLength

      public void getchannelLength(hec.data.ParamDouble pd)
    • getchannelLength

      public double[] getchannelLength()
    • setIsSI

      public void setIsSI(boolean isSI)
    • getchannelSlope

      public double[] getchannelSlope()
    • getmanningsN

      public double[] getmanningsN()
    • getchannelType

      public char[] getchannelType()
    • setbottomWidth

      public void setbottomWidth(hec.data.ParamDouble pd)
    • getbottomWidth

      public void getbottomWidth(hec.data.ParamDouble pd)
    • getbottomWidth

      public double[] getbottomWidth()
    • getsideSlope

      public double[] getsideSlope()
    • getnumberNodes

      public int getnumberNodes()
    • getuseNumberNodes

      public boolean getuseNumberNodes()
    • convertToWatershedUnits

      public void convertToWatershedUnits()
      This method converts the metric data to watershed units. This should only be called by the RssSystem object when updates occur. The old storage system always stored in metric
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Overrides:
      getFieldObject in class Routing
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Overrides:
      setFieldObject in class Routing
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful
    • initializeStandalone

      public boolean initializeStandalone()
      Description copied from class: Routing
      Initialize routing object for standalone compute in offline WQ simulation Default method - implemented in individual subclasses
      Overrides:
      initializeStandalone in class Routing
      Returns:
      true if initialization successful, false o.w.