#include <ReactionIntegrator.hpp>
|
| void | init (const ReactionData &rx) |
| | Allocate/reset private integration scratch for a compiled reaction system.
|
| |
| bool | initialized () const noexcept |
| | Read whether this workspace has retained species/term allocation.
|
| |
Caller-owned scratch; size once per (thread × reaction system). The Numerical step scratch is pre-sized; report strings and optional retries may allocate.
◆ init()
| void openswmm::transport::RxWorkspace::init |
( |
const ReactionData & | rx | ) |
|
Allocate/reset private integration scratch for a compiled reaction system.
- Parameters
-
| [in] | rx | Stable species count, term spans and compiled metadata; dimensions/products must fit. |
- Note
- Resizes species/stage/equilibrium vectors and dense n*n matrices, reserves row-index capacity, clears selected row lists. Does not seed physical species, change context/clock or validate laws. Allocation can leave partially reconfigured workspace; caller reinitializes after system dimension changes and provides exclusive workspace per simultaneous solve.
◆ initialized()
| bool openswmm::transport::RxWorkspace::initialized |
( |
| ) |
const |
|
inlinenoexcept |
Read whether this workspace has retained species/term allocation.
- Returns
- n_>0 OR term-vector capacity>0; does not certify current reaction dimension compatibility, compiled laws or complete successful init. No allocation/mutation.
◆ ReactionIntegrator
The documentation for this class was generated from the following files:
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/transport/components/ReactionModule/ReactionIntegrator.hpp
- /home/runner/work/openswmm.engine/openswmm.engine/src/engine/transport/components/ReactionModule/ReactionIntegrator.cpp