OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
TransportPolicy.cpp File Reference

Domain × Species-class transport contract (see the header). More...

#include "TransportPolicy.hpp"
#include "../core/SimulationContext.hpp"
#include "../2d/data/MeshData.hpp"
#include "../2d/data/SolverOptions2D.hpp"
#include "../2d/gw/GwTransportData.hpp"
#include "../2d/subsurface/SubsurfaceData.hpp"
#include <cstdio>
#include <algorithm>
Include dependency graph for TransportPolicy.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::transport
 

Functions

ClassEnables openswmm::transport::network1DEnables (const SimulationContext &ctx) noexcept
 Resolve allocation-free native network class counts from current project policy.
 
ClassEnables openswmm::transport::surface2DEnables (const SimulationContext &ctx) noexcept
 Resolve allocation-free surface native class eligibility from project and 2D opt-outs.
 
ClassEnables openswmm::transport::groundwaterEnables (const SimulationContext &ctx) noexcept
 Resolve allocation-free canonical aquifer class eligibility for an active integrated kernel.
 
RowLayout openswmm::transport::canonicalRows (const SimulationContext &ctx, const ClassEnables &e)
 Build an owned canonical pollutant/MSX/age/temperature row layout for supplied enables.
 
Matrix openswmm::transport::resolve (const SimulationContext &ctx, const Draft *draft)
 Build a domain-by-species transport capability matrix with explicit reasons and counts.
 
const char * openswmm::transport::domainName (Domain d) noexcept
 Format a transport matrix domain as a human-readable label.
 
const char * openswmm::transport::speciesClassName (SpeciesClass c) noexcept
 Format a transport species class as a human-readable label.
 
const char * openswmm::transport::cellStateName (CellState s) noexcept
 Format a transport capability state as its canonical uppercase label.
 
std::string openswmm::transport::formatReportBlock (const Matrix &m)
 Format a capability matrix as a readable fixed-column report and unavailable explanations.
 

Detailed Description

Domain × Species-class transport contract (see the header).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
Apache-2.0