www.mooseframework.org
RndBoundingBoxIC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef RNDBOUNDINGBOXIC_H
8 #define RNDBOUNDINGBOXIC_H
9 
10 #include "InitialCondition.h"
11 
12 // Forward Declarations
13 class RndBoundingBoxIC;
14 
15 template <>
16 InputParameters validParams<RndBoundingBoxIC>();
17 
31 class RndBoundingBoxIC : public InitialCondition
32 {
33 public:
34  RndBoundingBoxIC(const InputParameters & parameters);
35 
36  virtual Real value(const Point & p);
37 
38 private:
39  const Real _x1;
40  const Real _y1;
41  const Real _z1;
42  const Real _x2;
43  const Real _y2;
44  const Real _z2;
45  const Real _mx_invalue;
46  const Real _mx_outvalue;
47  const Real _mn_invalue;
48  const Real _mn_outvalue;
49  const Real _range_invalue;
50  const Real _range_outvalue;
51 
52  const Point _bottom_left;
53  const Point _top_right;
54 };
55 
56 #endif // RNDBOUNDINGBOXIC_H
RndBoundingBoxIC(const InputParameters &parameters)
const Point _top_right
RndBoundingBoxIC allows setting the initial condition of a value inside and outside of a specified bo...
const Real _mx_invalue
const Real _range_outvalue
const Real _range_invalue
const Real _mx_outvalue
const Point _bottom_left
InputParameters validParams< RndBoundingBoxIC >()
const Real _mn_invalue
virtual Real value(const Point &p)
const Real _mn_outvalue