www.mooseframework.org
CoefReaction.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 COEFREACTION_H
8 #define COEFREACTION_H
9 
10 #include "Reaction.h"
11 
12 // Forward Declarations
13 class CoefReaction;
14 
15 template <>
16 InputParameters validParams<CoefReaction>();
17 
18 class CoefReaction : public Reaction
19 {
20 public:
21  CoefReaction(const InputParameters & parameters);
22 
23 protected:
24  virtual Real computeQpResidual() override;
25  virtual Real computeQpJacobian() override;
26 
28  const Real _coef;
29 };
30 
31 #endif // COEFREACTION_H
virtual Real computeQpResidual() override
Definition: CoefReaction.C:25
InputParameters validParams< CoefReaction >()
Definition: CoefReaction.C:11
CoefReaction(const InputParameters &parameters)
Definition: CoefReaction.C:19
virtual Real computeQpJacobian() override
Definition: CoefReaction.C:31
const Real _coef
input parameter multiplied by the reaction kernel
Definition: CoefReaction.h:28