OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
GwSourceResolver.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2
11
12#ifndef OPENSWMM_GW_SOURCE_RESOLVER_HPP
13#define OPENSWMM_GW_SOURCE_RESOLVER_HPP
14#include "GwSourceForcing.hpp"
15#include <unordered_map>
16namespace openswmm {
18}
19namespace openswmm::twoD {
20struct MeshData;
21struct GwTransportData;
22struct SubsurfaceState;
34GwSourceSignal resolveGwSignal(SimulationContext&, double, const std::string&,
35 std::unordered_map<std::string, GwSourceSignal>&, const char* label);
47std::vector<GwResolvedSource> resolveGwSources(SimulationContext&, const MeshData&,
48 const GwTransportData&, const SubsurfaceState&,
50}
51#endif
Immutable groundwater source series in elapsed simulation time.
Definition ExchangeLaw.hpp:60
std::vector< GwResolvedSource > resolveGwSources(SimulationContext &ctx, const MeshData &mesh, const GwTransportData &gw, const SubsurfaceState &state, const SubsurfaceTransportState &tr)
Resolve authored groundwater sources to normalized active-cell shares and native signals.
Definition GwSourceResolver.cpp:129
GwSourceSignal resolveGwSignal(SimulationContext &ctx, double value, const std::string &name, std::unordered_map< std::string, GwSourceSignal > &cache, const char *label)
Resolve a finite constant or copy/share a strictly ordered model time series.
Definition GwSourceResolver.cpp:43
Definition ExchangeLaw.hpp:60
Central, reentrant simulation context.
Definition SimulationContext.hpp:390
Definition GwSourceForcing.hpp:27
Every [GW_*] authoring row of one model.
Definition GwTransportData.hpp:187
SoA storage for 2D mixed triangle/quad mesh geometry and topology.
Definition MeshData.hpp:65
Per-cell resolved parameters and state (SoA).
Definition SubsurfaceData.hpp:219
Species mass in both aquifer zones, and where mass crossed a boundary.
Definition SubsurfaceTransportState.hpp:69