www.mooseframework.org
CHMath.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 CHMATH_H
8 #define CHMATH_H
9 
10 #include "CHBulk.h"
11 
12 // Forward Declarations
13 class CHMath;
14 
15 template <>
16 InputParameters validParams<CHMath>();
17 
25 class CHMath : public CHBulk<Real>
26 {
27 public:
28  CHMath(const InputParameters & parameters);
29 
30 protected:
31  virtual RealGradient computeGradDFDCons(PFFunctionType type);
32 };
33 
34 #endif // CHMATH_H
This is the Cahn-Hilliard equation base class that implements the bulk or local energy term of the eq...
Definition: CHBulk.h:23
Cahn-Hilliard Kernel implementing the free energy f = 1/4(1-c^2)^2, such that grad df/dc = (3 c^2 -1)...
Definition: CHMath.h:25
virtual RealGradient computeGradDFDCons(PFFunctionType type)
Definition: CHMath.C:22
InputParameters validParams< CHMath >()
Definition: CHMath.C:11
CHMath(const InputParameters &parameters)
Definition: CHMath.C:19