Go to the documentation of this file.
14 #include "libmesh/vector_value.h"
26 virtual void act()
override;
34 std::vector<std::vector<Real>>
_stos;
46 std::vector<std::vector<Real>>
_sto_u;
48 std::vector<std::vector<std::vector<Real>>>
_sto_v;
50 std::vector<std::vector<std::vector<VariableName>>>
_coupled_v;
InputParameters validParams< AddCoupledEqSpeciesAction >()
const std::vector< AuxVariableName > _secondary_species
Secondary species added as AuxVariables.
virtual void act() override
std::vector< Real > _eq_const
Equilibrium constants for each reaction.
std::set< std::string > _aux_species
Set of auxillary species.
std::vector< std::vector< std::vector< Real > > > _sto_v
Stoichiometric coefficients of coupled primary variables in each reaction.
std::vector< std::vector< Real > > _sto_u
Stoichiometric coefficients of primary variables in each reaction.
AddCoupledEqSpeciesAction(const InputParameters ¶ms)
std::vector< std::vector< std::vector< VariableName > > > _coupled_v
Coupled primary species for each reaction.
std::vector< std::vector< VariableName > > _primary_species_involved
Primary species involved in the ith equilibrium reaction.
std::vector< VariableName > _eq_species
Equilibrium species.
const RealVectorValue _gravity
Gravity (default is (0, 0, 0))
std::vector< std::vector< bool > > _primary_participation
Participation of primary species in each reaction.
std::vector< std::vector< Real > > _weights
Weight of each primary species in each reaction.
unsigned int _num_reactions
Number of reactions.
const std::vector< VariableName > _pressure_var
Pressure variable.
std::vector< std::string > _reactions
Vector of parsed reactions.
const std::vector< NonlinearVariableName > _primary_species
Basis set of primary species.
std::string _input_reactions
Reaction network read from input file.
std::vector< std::vector< Real > > _stos
Stoichiometric coefficients for each primary species in each reaction.