11 #include "libmesh/utility.h" 20 params.
addParam<
Real>(
"a", 1.0,
"Modified Coefficent in Taylor series expansion");
21 params.
addParam<
Real>(
"b", 1.0,
"Modified Coefficent in Taylor series expansion");
22 params.
addParam<
Real>(
"c", 1.0,
"Modified Coefficent in Taylor series expansion");
24 "num_exp_terms", 4,
"Number of terms to use in the Taylor series expansion");
25 MooseEnum log_options(
"tolerance cancelation expansion nothing");
27 "log_approach", log_options,
"Which approach will be used to handle the natural log");
28 params.
addParam<
Real>(
"tol", 1.0e-9,
"Tolerance used when the tolerance approach is chosen");
34 _order(coupledComponents(
"v")),
35 _vals(coupledValues(
"v")),
36 _a(getParam<
Real>(
"a")),
37 _b(getParam<
Real>(
"b")),
38 _c(getParam<
Real>(
"c")),
39 _num_exp_terms(getParam<unsigned
int>(
"num_exp_terms")),
40 _log_approach(getParam<
MooseEnum>(
"log_approach")),
41 _tol(getParam<
Real>(
"tol"))
84 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