KineticsSolver.hpp
56 //=================================================================================================================
60 //=================================================================================================================
75 auto precondition(ChemicalState& state, EquilibriumRestrictions const& restrictions) -> KineticsResult;
80 auto precondition(ChemicalState& state, EquilibriumConditions const& conditions) -> KineticsResult;
86 auto precondition(ChemicalState& state, EquilibriumConditions const& conditions, EquilibriumRestrictions const& restrictions) -> KineticsResult;
88 //=================================================================================================================
92 //=================================================================================================================
103 auto solve(ChemicalState& state, real const& dt, EquilibriumRestrictions const& restrictions) -> KineticsResult;
109 auto solve(ChemicalState& state, real const& dt, EquilibriumConditions const& conditions) -> KineticsResult;
116 auto solve(ChemicalState& state, real const& dt, EquilibriumConditions const& conditions, EquilibriumRestrictions const& restrictions) -> KineticsResult;
118 //=================================================================================================================
122 //=================================================================================================================
128 auto solve(ChemicalState& state, KineticsSensitivity& sensitivity, real const& dt) -> KineticsResult;
135 auto solve(ChemicalState& state, KineticsSensitivity& sensitivity, real const& dt, EquilibriumRestrictions const& restrictions) -> KineticsResult;
142 auto solve(ChemicalState& state, KineticsSensitivity& sensitivity, real const& dt, EquilibriumConditions const& conditions) -> KineticsResult;
150 auto solve(ChemicalState& state, KineticsSensitivity& sensitivity, real const& dt, EquilibriumConditions const& conditions, EquilibriumRestrictions const& restrictions) -> KineticsResult;
152 //=================================================================================================================
156 //=================================================================================================================
The class used to represent a chemical system and its attributes and properties.
Definition: ChemicalSystem.hpp:70
The class used to define conditions to be satisfied at chemical equilibrium.
Definition: EquilibriumConditions.hpp:32
The class used to define reactivity restrictions in a chemical equilibrium calculation.
Definition: EquilibriumRestrictions.hpp:28
The class used to define conditions to be satisfied at chemical equilibrium.
Definition: EquilibriumSpecs.hpp:281
The sensitivity derivatives of a chemical equilibrium state.
Definition: KineticsSensitivity.hpp:35
auto solve(ChemicalState &state, KineticsSensitivity &sensitivity, real const &dt, EquilibriumRestrictions const &restrictions) -> KineticsResult
React a chemical state for a given time interval respecting given reactivity restrictions and compute...
auto solve(ChemicalState &state, real const &dt, EquilibriumConditions const &conditions) -> KineticsResult
React a chemical state for a given time interval respecting given constraint conditions.
auto solve(ChemicalState &state, real const &dt) -> KineticsResult
React a chemical state for a given time interval.
auto solve(ChemicalState &state, real const &dt, EquilibriumConditions const &conditions, EquilibriumRestrictions const &restrictions) -> KineticsResult
React a chemical state for a given time interval respecting given constraint conditions and reactivit...
auto solve(ChemicalState &state, real const &dt, EquilibriumRestrictions const &restrictions) -> KineticsResult
React a chemical state for a given time interval respecting given reactivity restrictions.
auto precondition(ChemicalState &state, EquilibriumRestrictions const &restrictions) -> KineticsResult
React a chemical state for zero seconds to precondition it respecting given reactivity restrictions.
auto precondition(ChemicalState &state, EquilibriumConditions const &conditions, EquilibriumRestrictions const &restrictions) -> KineticsResult
React a chemical state for zero seconds to precondition it respecting given constraint conditions and...
KineticsSolver(EquilibriumSpecs const &specs)
Construct an KineticsSolver object with given chemical equilibrium specifications to be attained duri...
auto operator=(KineticsSolver other) -> KineticsSolver &
Assign a copy of an KineticsSolver object to this.
auto solve(ChemicalState &state, KineticsSensitivity &sensitivity, real const &dt, EquilibriumConditions const &conditions, EquilibriumRestrictions const &restrictions) -> KineticsResult
React a chemical state for a given time interval respecting given constraint conditions and reactivit...
auto solve(ChemicalState &state, KineticsSensitivity &sensitivity, real const &dt) -> KineticsResult
React a chemical state for a given time interval and compute sensitivity derivatives.
auto solve(ChemicalState &state, KineticsSensitivity &sensitivity, real const &dt, EquilibriumConditions const &conditions) -> KineticsResult
React a chemical state for a given time interval respecting given constraint conditions and compute s...
auto setOptions(KineticsOptions const &options) -> void
Set the options of the kinetics solver.
KineticsSolver(ChemicalSystem const &system)
Construct an KineticsSolver object with given chemical system.
auto precondition(ChemicalState &state, EquilibriumConditions const &conditions) -> KineticsResult
React a chemical state for zero seconds to precondition it respecting given constraint conditions.
auto precondition(ChemicalState &state) -> KineticsResult
React a chemical state for zero seconds to precondition it.
KineticsSolver(KineticsSolver const &other)
Construct a copy of an KineticsSolver object.
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
std::unique_ptr< T > Ptr
Convenient alias for std::unique_ptr<T>.
Definition: Types.hpp:102
The options for chemical kinetics calculation.
Definition: KineticsOptions.hpp:27
Used to describe the result of a chemical kinetics calculation.
Definition: KineticsResult.hpp:27