This is the Cahn-Hilliard equation base class that implements the bulk or local energy term of the equation. More...
#include <CHBulk.h>
Public Member Functions | |
CHBulk (const InputParameters ¶meters) | |
virtual void | initialSetup () |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Types | |
enum | PFFunctionType { Jacobian, Residual } |
Protected Member Functions | |
virtual RealGradient | precomputeQpResidual () |
virtual RealGradient | precomputeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
virtual RealGradient | computeGradDFDCons (PFFunctionType type)=0 |
Protected Attributes | |
const MaterialProperty< T > & | _M |
Mobility. More... | |
const MaterialProperty< T > & | _dMdc |
Mobility derivative w.r.t. concentration. More... | |
std::vector< const MaterialProperty< T > * > | _dMdarg |
Mobility derivative w.r.t coupled variables. More... | |
This is the Cahn-Hilliard equation base class that implements the bulk or local energy term of the equation.
It is templated on the type of the mobility, which can be either a number (Real) or a tensor (RealValueTensor). See M.R. Tonks et al. / Computational Materials Science 51 (2012) 20-29 for more information. Note that the function computeGradDFDCons MUST be overridden in any kernel that inherits from CHBulk. Use CHMath as an example of how this works.
|
protected |
|
protectedpure virtual |
Implemented in CahnHilliardBase< T >, CahnHilliardBase< RealTensorValue >, and CahnHilliardBase< Real >.
|
protectedvirtual |
Reimplemented in KKSCHBulk, CahnHilliardBase< T >, CahnHilliardBase< RealTensorValue >, and CahnHilliardBase< Real >.
Definition at line 110 of file CHBulk.h.
Referenced by CahnHilliardBase< Real >::computeQpOffDiagJacobian().
|
virtual |
Reimplemented in CahnHilliardBase< T >, CahnHilliardBase< RealTensorValue >, and CahnHilliardBase< Real >.
|
protectedvirtual |
|
protectedvirtual |
|
static |
Definition at line 75 of file CHBulk.h.
Referenced by CahnHilliardBase< Real >::validParams(), validParams< CHBulkPFCTrad >(), validParams< CHMath >(), and validParams< KKSCHBulk >().
|
protected |
Mobility derivative w.r.t coupled variables.
Definition at line 53 of file CHBulk.h.
Referenced by CHBulk< Real >::CHBulk().
|
protected |
|
protected |