|
| | State (const SimulationContext &c) |
| | Own the initial context independently of the caller; kernels remain uninitialized. Raw external handles/callbacks retain their original ownership and must not publish through private source state. Allocation failures propagate before advancement.
|
| |
| SimulationContext & | mutableContext () |
| | Detach a shared context snapshot before any context mutation. State copies share only unchanged context values. Advancement and checkpoint reads obtain private ownership here; initialization starts with an already unique owner. Allocation failures leave other snapshots unchanged. Caller serializes mutation with copying/borrowing, as required by the existing driver contract.
|
| |
| surface::SourceSnow & | mutableSnow () |
| | Detach the snow owner before mutation; immutable snapshots may share it. Active owners detach before trial callbacks or checkpoint reads. Inactive owners remain immutable: advance/checkpoint are no-ops and initialization is unique. Allocation failures leave the other snapshots unchanged.
|
| |
| | State (const State &s) |
| | Copy histories while sharing unchanged private context and snow snapshots. LID water is cloned without report writers; other histories/ledgers/queues copy. Mutable context/snow owners detach before use. External handle/callback references retain their original ownership. Copy failures leave s unchanged.
|
| |
◆ State() [1/2]
Own the initial context independently of the caller; kernels remain uninitialized. Raw external handles/callbacks retain their original ownership and must not publish through private source state. Allocation failures propagate before advancement.
◆ State() [2/2]
| openswmm::runoff::SourceWaterDriver::State::State |
( |
const State & | s | ) |
|
|
inline |
Copy histories while sharing unchanged private context and snow snapshots. LID water is cloned without report writers; other histories/ledgers/queues copy. Mutable context/snow owners detach before use. External handle/callback references retain their original ownership. Copy failures leave s unchanged.
◆ mutableContext()
Detach a shared context snapshot before any context mutation. State copies share only unchanged context values. Advancement and checkpoint reads obtain private ownership here; initialization starts with an already unique owner. Allocation failures leave other snapshots unchanged. Caller serializes mutation with copying/borrowing, as required by the existing driver contract.
◆ mutableSnow()
Detach the snow owner before mutation; immutable snapshots may share it. Active owners detach before trial callbacks or checkpoint reads. Inactive owners remain immutable: advance/checkpoint are no-ops and initialization is unique. Allocation failures leave the other snapshots unchanged.
◆ aquifer_returns
◆ atmosphere
◆ ctx
◆ deliveries
◆ hydraulic_return_end
| double openswmm::runoff::SourceWaterDriver::State::hydraulic_return_end = 0 |
◆ hydraulic_returns
| bool openswmm::runoff::SourceWaterDriver::State::hydraulic_returns = false |
◆ inside
| std::vector<double> openswmm::runoff::SourceWaterDriver::State::inside |
◆ ledger
◆ lids
◆ outfall_returns
◆ partitioned
| bool openswmm::runoff::SourceWaterDriver::State::partitioned = false |
◆ pervious_return
| std::vector<double> openswmm::runoff::SourceWaterDriver::State::pervious_return |
◆ pollutant_names
| std::vector<std::string> openswmm::runoff::SourceWaterDriver::State::pollutant_names |
◆ pollutants
◆ return_mass
| std::vector<std::vector<double> > openswmm::runoff::SourceWaterDriver::State::return_mass |
◆ runoff
| RunoffSolver openswmm::runoff::SourceWaterDriver::State::runoff |
◆ runon
| std::vector<double> openswmm::runoff::SourceWaterDriver::State::runon |
◆ runon_mass
| std::vector<std::vector<double> > openswmm::runoff::SourceWaterDriver::State::runon_mass |
◆ snow
The documentation for this struct was generated from the following file: