www.mooseframework.org
CoupledBEKinetic.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 COUPLEDBEKINETIC_H
8 #define COUPLEDBEKINETIC_H
9 
10 #include "Kernel.h"
11 
12 // Forward Declarations
13 class CoupledBEKinetic;
14 
15 template <>
16 InputParameters validParams<CoupledBEKinetic>();
17 
22 class CoupledBEKinetic : public Kernel
23 {
24 public:
25  CoupledBEKinetic(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual() override;
29 
30 private:
32  const MaterialProperty<Real> & _porosity;
33 
35  const std::vector<Real> _weight;
36 
38  std::vector<const VariableValue *> _vals;
39 
41  std::vector<const VariableValue *> _vals_old;
42 };
43 
44 #endif // COUPLEDBEKINETIC_H
CoupledBEKinetic(const InputParameters &parameters)
Define the Kernel for a CoupledBEKinetic operator that looks like: delta (weight * v) / delta t...
InputParameters validParams< CoupledBEKinetic >()
virtual Real computeQpResidual() override
std::vector< const VariableValue * > _vals
Coupled kinetic mineral concentrations.
const std::vector< Real > _weight
Weight of the kinetic mineral concentration in the total primary species concentration.
const MaterialProperty< Real > & _porosity
Material property of porosity.
std::vector< const VariableValue * > _vals_old
Coupled old values of kinetic mineral concentrations.