www.mooseframework.org
Functions
CHPFCRFF.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", CHPFCRFF)
 
template<>
InputParameters validParams< CHPFCRFF > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
CHPFCRFF   
)

◆ validParams< CHPFCRFF >()

template<>
InputParameters validParams< CHPFCRFF > ( )

Definition at line 17 of file CHPFCRFF.C.

18 {
19  InputParameters params = validParams<Kernel>();
20  params.addClassDescription(
21  "Cahn-Hilliard residual for the RFF form of the phase field crystal model");
22  params.addRequiredCoupledVar("v", "Array of names of the real parts of the L variables");
23  MooseEnum log_options("tolerance cancelation expansion nothing");
24  params.addRequiredParam<MooseEnum>(
25  "log_approach", log_options, "Which approach will be used to handle the natural log");
26  params.addParam<Real>("tol", 1.0e-9, "Tolerance used when the tolerance approach is chosen");
27  params.addParam<Real>(
28  "n_exp_terms", 4, "Number of terms used in the Taylor expansion of the natural log term");
29  params.addParam<MaterialPropertyName>("mob_name", "M", "The mobility used with the kernel");
30  params.addParam<MaterialPropertyName>("Dmob_name", "DM", "The D mobility used with the kernel");
31  params.addParam<bool>("has_MJac", false, "Jacobian information for the mobility is defined");
32  params.addParam<Real>("a", 1.0, "Constants on Taylor Series");
33  params.addParam<Real>("b", 1.0, "Constants on Taylor Series");
34  params.addParam<Real>("c", 1.0, "Constants on Taylor Series");
35  return params;
36 }