21 "Linear ramp along the x-axis with given values at the left and right extreme points.");
22 params.
addRequiredParam<Real>(
"value_left",
"The value on left (xmin) boundary.");
23 params.
addRequiredParam<Real>(
"value_right",
"The value on right (xmax) boundary.");
29 _xlength(_fe_problem.
mesh().dimensionWidth(0)),
30 _xmin(_fe_problem.
mesh().getMinInDimension(0)),
31 _value_left(getParam<Real>(
"value_left")),
32 _value_right(getParam<Real>(
"value_right"))
registerMooseObject("PhaseFieldApp", RampIC)
static InputParameters validParams()
Makes initial condition which creates a linear ramp of the given variable on the x-axis with specifie...
static InputParameters validParams()
virtual RealGradient gradient(const Point &)
RampIC(const InputParameters ¶meters)
virtual Real value(const Point &p)