www.mooseframework.org
Functions
RndBoundingBoxIC.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
RndBoundingBoxIC   
)

◆ validParams< RndBoundingBoxIC >()

template<>
InputParameters validParams< RndBoundingBoxIC > ( )

Definition at line 17 of file RndBoundingBoxIC.C.

18 {
19  InputParameters params = validParams<InitialCondition>();
20  params.addClassDescription(
21  "Random noise with different min/max inside/outside of a bounding box");
22 
23  params.addRequiredParam<Real>("x1", "The x coordinate of the lower left-hand corner of the box");
24  params.addRequiredParam<Real>("y1", "The y coordinate of the lower left-hand corner of the box");
25  params.addParam<Real>("z1", 0.0, "The z coordinate of the lower left-hand corner of the box");
26 
27  params.addRequiredParam<Real>("x2", "The x coordinate of the upper right-hand corner of the box");
28  params.addRequiredParam<Real>("y2", "The y coordinate of the upper right-hand corner of the box");
29  params.addParam<Real>("z2", 0.0, "The z coordinate of the upper right-hand corner of the box");
30 
31  params.addRequiredParam<Real>("mx_invalue", "The max value of the variable invalue the box");
32  params.addRequiredParam<Real>("mx_outvalue", "The max value of the variable outvalue the box");
33 
34  params.addParam<Real>("mn_invalue", 0.0, "The min value of the variable invalue the box");
35  params.addParam<Real>("mn_outvalue", 0.0, "The min value of the variable outvalue the box");
36  return params;
37 }