#include <InterfaceFile.hpp>
|
| void | init (SimulationContext &ctx) |
| |
| int | openFiles (const std::string &infile_path, const std::string &outfile_path) |
| | Open routing interface files for reading/writing.
|
| |
| void | readInflows (SimulationContext &ctx, double current_time) |
| | Read next set of inflow values from upstream interface file.
|
| |
| void | writeOutfallResults (const SimulationContext &ctx, double current_time) |
| | Write current outfall results to downstream interface file.
|
| |
| void | closeFiles () |
| | Close all interface files.
|
| |
| double | getFlow (int node_idx, double frac) const |
| | Get interpolated interface flow for a node.
|
| |
| double | getQuality (int node_idx, int pollut_idx, double frac) const |
| | Get interpolated interface quality for a node and pollutant.
|
| |
| int | getNumIfaceNodes () const |
| | Get number of interface nodes currently active.
|
| |
| int | getIfaceNode (int index) const |
| | Get the node index for a given interface file entry.
|
| |
| double | getFrac () const |
| | Get the interpolation fraction (set during readInflows)
|
| |
◆ closeFiles()
| void openswmm::iface::InterfaceManager::closeFiles |
( |
| ) |
|
Close all interface files.
◆ getFlow()
| double openswmm::iface::InterfaceManager::getFlow |
( |
int |
node_idx, |
|
|
double |
frac |
|
) |
| const |
Get interpolated interface flow for a node.
◆ getFrac()
| double openswmm::iface::InterfaceManager::getFrac |
( |
| ) |
const |
|
inline |
Get the interpolation fraction (set during readInflows)
◆ getIfaceNode()
| int openswmm::iface::InterfaceManager::getIfaceNode |
( |
int |
index | ) |
const |
Get the node index for a given interface file entry.
◆ getNumIfaceNodes()
| int openswmm::iface::InterfaceManager::getNumIfaceNodes |
( |
| ) |
const |
|
inline |
Get number of interface nodes currently active.
◆ getQuality()
| double openswmm::iface::InterfaceManager::getQuality |
( |
int |
node_idx, |
|
|
int |
pollut_idx, |
|
|
double |
frac |
|
) |
| const |
Get interpolated interface quality for a node and pollutant.
◆ init()
◆ openFiles()
| int openswmm::iface::InterfaceManager::openFiles |
( |
const std::string & |
infile_path, |
|
|
const std::string & |
outfile_path |
|
) |
| |
Open routing interface files for reading/writing.
◆ readInflows()
| void openswmm::iface::InterfaceManager::readInflows |
( |
SimulationContext & |
ctx, |
|
|
double |
current_time |
|
) |
| |
Read next set of inflow values from upstream interface file.
◆ writeOutfallResults()
| void openswmm::iface::InterfaceManager::writeOutfallResults |
( |
const SimulationContext & |
ctx, |
|
|
double |
current_time |
|
) |
| |
Write current outfall results to downstream interface file.
The documentation for this class was generated from the following files: