www.mooseframework.org
AqueousEquilibriumRxnAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef AQUEOUSEQUILIBRIUMRXNAUX_H
8 #define AQUEOUSEQUILIBRIUMRXNAUX_H
9 
10 #include "AuxKernel.h"
11 
12 // Forward Declarations
14 
15 template <>
17 
22 class AqueousEquilibriumRxnAux : public AuxKernel
23 {
24 public:
25  AqueousEquilibriumRxnAux(const InputParameters & parameters);
26 
28 
29 protected:
30  virtual Real computeValue() override;
31 
33  const Real _log_k;
34 
36  const std::vector<Real> _sto_v;
37 
39  std::vector<const VariableValue *> _vals;
40 };
41 
42 #endif // AQUEOUSEQUILIBRIUMRXNAUX_H
const std::vector< Real > _sto_v
Stoichiometric coefficients for coupled primary species.
InputParameters validParams< AqueousEquilibriumRxnAux >()
const Real _log_k
Equilibrium constant.
AqueousEquilibriumRxnAux(const InputParameters &parameters)
Define the AuxKernel for the output of equilibrium species concentrations according to mass action la...
virtual Real computeValue() override
std::vector< const VariableValue * > _vals
Coupled primary species.