14 #include "libmesh/vector_value.h" 23 virtual void act()
override;
31 std::vector<std::vector<Real>>
_stos;
43 std::vector<std::vector<Real>>
_sto_u;
45 std::vector<std::vector<std::vector<Real>>>
_sto_v;
47 std::vector<std::vector<std::vector<VariableName>>>
_coupled_v;
AddCoupledEqSpeciesAction(const InputParameters ¶ms)
std::vector< Real > _eq_const
Equilibrium constants for each reaction.
const std::vector< AuxVariableName > _secondary_species
Secondary species added as AuxVariables.
std::vector< VariableName > _eq_species
Equilibrium species.
std::vector< std::vector< bool > > _primary_participation
Participation of primary species in each reaction.
std::vector< std::string > _reactions
Vector of parsed reactions.
std::vector< std::vector< Real > > _sto_u
Stoichiometric coefficients of primary variables in each reaction.
const RealVectorValue _gravity
Gravity (default is (0, 0, 0))
static InputParameters validParams()
virtual void act() override
std::set< std::string > _aux_species
Set of auxillary species.
std::vector< std::vector< Real > > _weights
Weight of each primary species in each reaction.
std::vector< std::vector< std::vector< Real > > > _sto_v
Stoichiometric coefficients of coupled primary variables in each reaction.
std::string _input_reactions
Reaction network read from input file.
const std::vector< NonlinearVariableName > _primary_species
Basis set of primary species.
std::vector< std::vector< Real > > _stos
Stoichiometric coefficients for each primary species in each reaction.
unsigned int _num_reactions
Number of reactions.
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.
const std::vector< VariableName > _pressure_var
Pressure variable.