www.mooseframework.org
BoundingBoxIC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef BOUNDINGBOXIC_H
16 #define BOUNDINGBOXIC_H
17 
18 #include "InitialCondition.h"
19 
20 // System includes
21 #include <string>
22 
23 // Forward Declarations
24 class BoundingBoxIC;
25 class InputParameters;
26 
27 namespace libMesh
28 {
29 class Point;
30 }
31 
32 template <typename T>
34 
35 template <>
37 
52 {
53 public:
59  BoundingBoxIC(const InputParameters & parameters);
60 
66  virtual Real value(const Point & p);
67 
68 protected:
69  Real _x1;
70  Real _y1;
71  Real _z1;
72  Real _x2;
73  Real _y2;
74  Real _z2;
75  Real _inside;
76  Real _outside;
77 
78  Point _bottom_left;
79  Point _top_right;
80 };
81 
82 #endif // BOUNDINGBOXIC_H
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
InitialConditions are objects that set the initial value of variables.
BoundingBoxIC allows setting the initial condition of a value inside and outside of a specified box...
Definition: BoundingBoxIC.h:51
InputParameters validParams< BoundingBoxIC >()
Definition: BoundingBoxIC.C:20
InputParameters validParams()
Point _bottom_left
Definition: BoundingBoxIC.h:78