19 "Circle with a smooth interface transformed using the linearized interface function");
21 "bound_value",
"Bound value used to keep variable between +/-bound. Must be positive.");
27 :
SmoothCircleIC(parameters), _bound(parameters.get<Real>(
"bound_value"))
35 const Real trans_bound = (1.0 + std::tanh(-
_bound / std::sqrt(2.0))) / 2.0;
43 if (trans_value < trans_bound)
45 else if (trans_value > 1.0 - trans_bound)
48 value = std::sqrt(2.0) * std::atanh(2.0 * trans_value - 1.0);
registerMooseObject("PhaseFieldApp", SmoothCircleICLinearizedInterface)
virtual T value(const Point &p)=0
SmoothCircleICLinearizedInterface creates a circle of a given radius centered at a given point in the...
virtual Real value(const Point &p)
static InputParameters validParams()
SmoothCircleICLinearizedInterface(const InputParameters ¶meters)
SmoothcircleIC creates a circle of a given radius centered at a given point in the domain.
static InputParameters validParams()