https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CHMath.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "CHBulk.h"
13
21class CHMath : public CHBulk<Real>
22{
23public:
25
26 CHMath(const InputParameters & parameters);
27
28protected:
29 virtual RealGradient computeGradDFDCons(PFFunctionType type);
30};
This is the Cahn-Hilliard equation base class that implements the bulk or local energy term of the eq...
Definition CHBulk.h:26
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:22
virtual RealGradient computeGradDFDCons(PFFunctionType type)
Definition CHMath.C:26
static InputParameters validParams()
Definition CHMath.C:15