|
rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
|
The production ThermoAccessor for the hydro sub-step: Cantera's two-temperature PlasmaPhase behind HydroStep's injected interface. More...
#include "thermo/ThermoAccessor.h"#include "cantera/thermo/PlasmaPhase.h"#include <memory>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | rizer::CanteraThermo |
| ThermoAccessor backed by a PlasmaPhase. More... | |
Namespaces | |
| namespace | rizer |
The production ThermoAccessor for the hydro sub-step: Cantera's two-temperature PlasmaPhase behind HydroStep's injected interface.
Kept in its own translation unit because ThermoAccessor.h, and the HydroStep.h that consumes it, are deliberately Cantera-free – that is what lets the pure-array unit tests run the whole scheme with no mechanism loaded. This header is the one place the two meet.
Why the Strang loop needs it rather than the gamma-law stub. The reaction half-step already evaluates Cantera thermo. A gamma-law hydro half would leave the two halves of one step disagreeing on the equation of state, so p and e would not round-trip across the split and the discrepancy would read as a flux or source bug.
Definition in file CanteraThermo.h.