MultiBoundingBoxIC allows setting the initial condition of a value of a field inside and outside multiple bounding boxes. More...
#include <MultiBoundingBoxIC.h>
Public Member Functions | |
MultiBoundingBoxIC (const InputParameters ¶meters) | |
virtual Real | value (const Point &p) override |
Protected Attributes | |
const unsigned int | _nbox |
number of boxes More... | |
const unsigned int | _dim |
dimensionality of the mesh More... | |
const std::vector< Real > | _inside |
values inside the boxes More... | |
const Real | _outside |
values outside the boxes More... | |
const std::vector< Point > | _c1 |
lists of opposite corners More... | |
const std::vector< Point > | _c2 |
MultiBoundingBoxIC allows setting the initial condition of a value of a field inside and outside multiple bounding boxes.
Each box is axis-aligned and is specified by passing in the x,y,z coordinates of opposite corners. Separate values for each box may be supplied.
Definition at line 25 of file MultiBoundingBoxIC.h.
MultiBoundingBoxIC::MultiBoundingBoxIC | ( | const InputParameters & | parameters | ) |
Definition at line 49 of file MultiBoundingBoxIC.C.
|
overridevirtual |
Definition at line 64 of file MultiBoundingBoxIC.C.
|
protected |
lists of opposite corners
Definition at line 34 of file MultiBoundingBoxIC.h.
Referenced by value().
|
protected |
Definition at line 35 of file MultiBoundingBoxIC.h.
Referenced by MultiBoundingBoxIC(), and value().
|
protected |
dimensionality of the mesh
Definition at line 42 of file MultiBoundingBoxIC.h.
Referenced by value().
|
protected |
values inside the boxes
Definition at line 45 of file MultiBoundingBoxIC.h.
Referenced by MultiBoundingBoxIC(), and value().
|
protected |
number of boxes
Definition at line 39 of file MultiBoundingBoxIC.h.
Referenced by MultiBoundingBoxIC(), and value().
|
protected |