www.mooseframework.org
Functions
MultiBoundingBoxIC.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", MultiBoundingBoxIC)
 
template<>
InputParameters validParams< MultiBoundingBoxIC > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
MultiBoundingBoxIC   
)

◆ validParams< MultiBoundingBoxIC >()

template<>
InputParameters validParams< MultiBoundingBoxIC > ( )

Definition at line 30 of file MultiBoundingBoxIC.C.

31 {
32  InputParameters params = validParams<InitialCondition>();
33  params.addClassDescription("Specify variable values inside and outside a list of box shaped "
34  "axis-aligned regions defined by pairs of opposing corners");
35  params.addRequiredParam<std::vector<Point>>("corners", "The corner coordinates boxes");
36  params.addRequiredParam<std::vector<Point>>(
37  "opposite_corners", "The coordinates of the opposite corners of the boxes");
38  params.addRequiredParam<std::vector<Real>>("inside",
39  "The value of the variable inside each box "
40  "(one value per box or a single value for "
41  "all boxes)");
42  params.addParam<Real>("outside", 0.0, "The value of the variable outside the box");
43 
44  params.addClassDescription("Allows setting the initial condition of a value of a field inside "
45  "and outside multiple bounding boxes.");
46  return params;
47 }