www.mooseframework.org
SimpleSplitCHWRes.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 SIMPLESPLITCHWRES_H
8 #define SIMPLESPLITCHWRES_H
9 
10 #include "Kernel.h"
11 
12 class SimpleSplitCHWRes;
13 
14 template <>
15 InputParameters validParams<SimpleSplitCHWRes>();
16 
20 class SimpleSplitCHWRes : public Kernel
21 {
22 public:
23  SimpleSplitCHWRes(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeQpResidual();
27  virtual Real computeQpJacobian();
28 
30  const MaterialProperty<Real> & _M;
31 };
32 
33 #endif // SIMPLESPLITCHWRES_H
SimpleSplitCHWRes(const InputParameters &parameters)
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
Simple case for SplitCHWRes kernel, only with constant Mobility.
InputParameters validParams< SimpleSplitCHWRes >()
const MaterialProperty< Real > & _M
Mobility.