11 #include "libmesh/utility.h" 20 "Computes the crystal free energy density for the RFF form of the phase field crystal model");
22 params.
addParam<
Real>(
"a", 1.0,
"Modified coefficient in Taylor series expansion");
23 params.
addParam<
Real>(
"b", 1.0,
"Modified coefficient in Taylor series expansion");
24 params.
addParam<
Real>(
"c", 1.0,
"Modified coefficient in Taylor series expansion");
26 "num_exp_terms", 4,
"Number of terms to use in the Taylor series expansion");
27 MooseEnum log_options(
"tolerance cancelation expansion nothing");
29 "log_approach", log_options,
"Which approach will be used to handle the natural log");
30 params.
addParam<
Real>(
"tol", 1.0e-9,
"Tolerance used when the tolerance approach is chosen");
36 _order(coupledComponents(
"v")),
37 _vals(coupledValues(
"v")),
38 _a(getParam<
Real>(
"a")),
39 _b(getParam<
Real>(
"b")),
40 _c(getParam<
Real>(
"c")),
41 _num_exp_terms(getParam<unsigned
int>(
"num_exp_terms")),
42 _log_approach(getParam<
MooseEnum>(
"log_approach")),
43 _tol(getParam<
Real>(
"tol"))
86 for (
unsigned int i = 1; i <
_order; ++i)
registerMooseObject("PhaseFieldApp", PFCRFFEnergyDensity)
const std::vector< const VariableValue * > _vals
const unsigned int _order
PFCRFFEnergyDensity(const InputParameters ¶meters)
static InputParameters validParams()
const unsigned int _num_exp_terms
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
virtual Real computeValue()
MooseUnits pow(const MooseUnits &, int)
void ErrorVector unsigned int
const MooseEnum _log_approach