Package hec.rss.model

Class StreamNameMapper

java.lang.Object
hec.rss.model.StreamNameMapper

public class StreamNameMapper extends Object
For version xxx RssSystem, StreamElement(s) were assigned by stream index number. This utility is used to match streams from the current StreamAlignment to the hec.model.Node _streamIndex to set the hec.model.Node _streamName. procedure within each time step of the simulation.
  • Constructor Details

    • StreamNameMapper

      public StreamNameMapper()
  • Method Details

    • mapStreamNames

      public static boolean mapStreamNames(RssSystem system, StreamAlignment streamAlignment)
      Set the StreamElement reference in the hec.model.Node(s) from streamAlignment. For versions > , find the StreamElement for the node by stream name. For earlier versions, find the StreamElement by stream index number. Once the hec.model
      Parameters:
      system -
      streamAlignment -
      Returns:
      See Also: