OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::ucf::detail Namespace Reference

Functions

constexpr std::array< std::array< double, 2 >, 10 > makeUcfInv ()
 Build compile-time reciprocals of every quantity/system conversion.
 
constexpr std::array< double, 6 > makeQcfInv ()
 Build compile-time reciprocals of flow conversion factors.
 

Function Documentation

◆ makeQcfInv()

std::array< double, 6 > openswmm::ucf::detail::makeQcfInv ( )
inlineconstexpr

Build compile-time reciprocals of flow conversion factors.

Returns
Owned six-entry fixed array with entry 1/Qcf[flow_units].

◆ makeUcfInv()

std::array< std::array< double, 2 >, 10 > openswmm::ucf::detail::makeUcfInv ( )
inlineconstexpr

Build compile-time reciprocals of every quantity/system conversion.

Returns
Owned 10-by-2 fixed array with entry 1/Ucf[q][system]; no runtime state.