13#ifndef OPENSWMM_SURFACE_OWNERSHIP_HPP
14#define OPENSWMM_SURFACE_OWNERSHIP_HPP
51 std::vector<SurfaceOwnerShare>
shares;
94 const SolverOptions2D&,
const SubsurfaceConfig&,
95 const std::vector<SurfaceOwnerRecord>&,
96 const std::function<
bool(
int,
int)>& progress = {});
108 std::vector<SurfaceOwnerRecord>&);
Definition ExchangeLaw.hpp:60
std::string parseSurfaceOwnerLine(const std::vector< std::string > &t, std::vector< SurfaceOwnerRecord > &rows)
Retain one reviewed uniform subcatchment surface-ownership authoring record.
Definition SubsurfaceSections.cpp:1536
SurfaceOwnershipPreview resolveSurfaceOwnership(const SimulationContext &ctx, const MeshData &mesh, const SolverOptions2D &opts, const SubsurfaceConfig &cfg, const std::vector< SurfaceOwnerRecord > &proposed, const std::function< bool(int, int)> &progress)
Preview reviewed source footprints, receiver shares and weather-area ownership without adoption.
Definition SubsurfaceSections.cpp:1575
Definition ExchangeLaw.hpp:60
Central, reentrant simulation context.
Definition SimulationContext.hpp:390
SoA storage for 2D mixed triangle/quad mesh geometry and topology.
Definition MeshData.hpp:65
Definition SolverOptions2D.hpp:257
Everything the parser fills, before resolution onto cells.
Definition SubsurfaceData.hpp:391
Definition SurfaceOwnership.hpp:36
double native_lid_area
Definition SurfaceOwnership.hpp:41
double inside_area
Definition SurfaceOwnership.hpp:41
double declared_area
Definition SurfaceOwnership.hpp:40
std::string reason
Definition SurfaceOwnership.hpp:38
double pervious_area
Definition SurfaceOwnership.hpp:40
std::string tag
Definition SurfaceOwnership.hpp:38
double lid_area
Definition SurfaceOwnership.hpp:40
double polygon_area
Definition SurfaceOwnership.hpp:40
std::string name
Definition SurfaceOwnership.hpp:38
bool reviewed
Definition SurfaceOwnership.hpp:39
int subcatch
Definition SurfaceOwnership.hpp:37
double outside_area
Definition SurfaceOwnership.hpp:41
bool lumped
Definition SurfaceOwnership.hpp:39
int status
Definition SurfaceOwnership.hpp:42
double impervious_area
Definition SurfaceOwnership.hpp:41
Definition SurfaceOwnership.hpp:25
std::string subcatch
Definition SurfaceOwnership.hpp:26
bool operator==(const SurfaceOwnerRecord &other) const
Compare ownership records by their authored subcatchment identifier bytes.
Definition SurfaceOwnership.hpp:34
Definition SurfaceOwnership.hpp:44
double lid_area
Definition SurfaceOwnership.hpp:46
int subcatch
Definition SurfaceOwnership.hpp:45
double impervious_area
Definition SurfaceOwnership.hpp:46
int cell
Definition SurfaceOwnership.hpp:45
double native_lid_area
Definition SurfaceOwnership.hpp:47
double pervious_area
Definition SurfaceOwnership.hpp:46
double weather_area
Definition SurfaceOwnership.hpp:46
Definition SurfaceOwnership.hpp:49
bool valid() const
Test whether preview validation collected any error diagnostics.
Definition SurfaceOwnership.hpp:62
std::string token
Definition SurfaceOwnership.hpp:54
std::vector< std::string > errors
Definition SurfaceOwnership.hpp:53
std::vector< SurfaceOwnerShare > shares
Definition SurfaceOwnership.hpp:51
std::vector< SurfaceOwnerObject > objects
Definition SurfaceOwnership.hpp:50
std::vector< double > mesh_weather_area
Definition SurfaceOwnership.hpp:52
bool cancelled
Definition SurfaceOwnership.hpp:55