20 "axis-aligned regions defined by pairs of opposing corners");
21 params.
addParam<Real>(
"outside", 0.0,
"The value of the variable outside the largest boxes");
37 for (
unsigned int b = 0;
b <
_nbox; ++
b)
39 for (
unsigned int i = 0; i <
_dim; ++i)
47 for (
unsigned int j = 0; j <
_dim; ++j)
57 mooseError(
"The coordinates of the smaller_coordinate_corners are equal to or larger "
59 "the larger_coordinate_corners.");
registerMooseObject("PhaseFieldApp", NestedBoundingBoxIC)
void mooseError(Args &&... args) const
NestedBoundingBoxIC creates several nested boxes defined by their coordinates in the domain.
Real value(const Point &p)
const Real _outside
values outside all the boxes
NestedBoundingBoxIC(const InputParameters ¶meters)
static InputParameters validParams()
SmoothMultiBoundingBoxBaseIC is the base class for IsolatedBoundingBoxIC and NestedBoundingBoxIC.
const Real _int_width
value of interfacial width
const unsigned int _nbox
number of boxes
static InputParameters validParams()
const unsigned int _dim
dimensionality of the mesh
const std::vector< Point > _c2
std::vector< Real > _inside
values inside the boxes
const std::vector< Point > _c1
lists of opposite corners
Real value(const Point &p)