KineticSolver.hpp
KineticSolver()
Construct a default KineticSolver instance.
Definition: KineticSolver.cpp:471
A class that represents a solver for chemical kinetics problems.
Definition: KineticSolver.hpp:36
auto step(ChemicalState &state, double t) -> double
Integrate one step of the chemical kinetics problem.
Definition: KineticSolver.cpp:523
A struct to describe the options for a chemical kinetics calculation.
Definition: KineticOptions.hpp:36
auto setPartition(const Partition &partition) -> void
Set the partition of the chemical system.
Definition: KineticSolver.cpp:493
auto addFluidSink(double volumerate, std::string units) -> void
Add a fluid sink to the chemical kinetics problem.
Definition: KineticSolver.cpp:508
Provides a computational representation of the state of a multiphase chemical system.
Definition: ChemicalState.hpp:61
auto addPhaseSink(std::string phase, double volumerate, std::string units) -> void
Add a phase sink to the chemical kinetics problem.
Definition: KineticSolver.cpp:503
auto setOptions(const KineticOptions &options) -> void
Set the options for the chemical kinetics calculation.
Definition: KineticSolver.cpp:488
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
KineticSolver(const KineticSolver &other)=delete
Construct a copy of a KineticSolver instance.
A class that represents a system of chemical reactions.
Definition: ReactionSystem.hpp:42
Provide a computational representation of the Partition of a chemical system.
Definition: Partition.hpp:56
auto solve(ChemicalState &state, double t, double dt) -> void
Solve the chemical kinetics problem from a given initial time to a final time.
Definition: KineticSolver.cpp:533
auto addSolidSink(double volumerate, std::string units) -> void
Add a solid sink to the chemical kinetics problem.
Definition: KineticSolver.cpp:513
auto operator=(KineticSolver other) -> KineticSolver &
Assign a KineticSolver instance to this instance.
Definition: KineticSolver.cpp:482
auto initialize(ChemicalState &state, double tstart) -> void
Initialize the chemical kinetics solver before .
Definition: KineticSolver.cpp:518
auto addSource(const ChemicalState &state, double volumerate, std::string units) -> void
Add a source to the chemical kinetics problem.
Definition: KineticSolver.cpp:498
virtual ~KineticSolver()
Destroy the KineticSolver instance.
Definition: KineticSolver.cpp:479