#include <source/hierarchy/boxes/BoxArray.h>
Public Member Functions | |
| BoxArray (const int n=0) | |
| BoxArray (const tbox::Array< Box< DIM > > &array) | |
| BoxArray (const BoxArray< DIM > &array) | |
| BoxArray (const BoxList< DIM > &list) | |
| BoxArray (const tbox::Array< tbox::DatabaseBox > &array) | |
| operator tbox::Array () const | |
| BoxArray< DIM > & | operator= (const tbox::Array< tbox::DatabaseBox > &array) |
| BoxArray< DIM > & | operator= (const BoxArray< DIM > &array) |
| BoxArray< DIM > & | operator= (const BoxList< DIM > &list) |
| ~BoxArray () | |
| int | getNumberOfBoxes () const |
| int | size () const |
| Box< DIM > & | getBox (const int i) |
| const Box< DIM > & | getBox (const int i) const |
| Box< DIM > & | operator() (const int i) |
| const Box< DIM > & | operator() (const int i) const |
| BoxArray< DIM > & | BoxArray_from_Array (tbox::Array< tbox::DatabaseBox > array) |
| void | set_BoxArray_from_Array (tbox::Array< tbox::DatabaseBox > array) |
| bool | contains (const Index< DIM > &p) const |
| void | grow (const IntVector< DIM > &ghosts) |
| void | shift (const IntVector< DIM > &offset) |
| void | rotate (int rotation_number) |
| void | refine (const IntVector< DIM > &ratio) |
| void | coarsen (const IntVector< DIM > &ratio) |
| void | resizeBoxArray (const int n) |
| void | print (ostream &os=tbox::plog) const |
|
||||||||||
|
Create an array of boxes with space for n boxes. All boxes are initialized to empty. |
|
||||||||||
|
Create a box array and copy box data from the array argument. |
|
||||||||||
|
The const constructor creates an array of boxes and copies box data from the argument box array. |
|
||||||||||
|
Create a box array and copy box data from the list. |
|
||||||||||
|
Create a regular box array from an array of tbox::DatabaseBox objects. |
|
|||||||||
|
The BoxArray destructor releases the box array data. |
|
|||||||||
|
Type conversion from BoxArray<DIM> to tbox::Array<tbox::DatabaseBox>. |
|
||||||||||
|
Create a box array using boxes in tbox::Array<tbox::DatabaseBox> for the data. |
|
||||||||||
|
Create a box array and copy data from the array argument. |
|
||||||||||
|
Create a box array and copy data from the list argument. |
|
|||||||||
|
Return the number of boxes in the array. |
|
|||||||||
|
Return the number of boxes in the array. Identical to getNumberOfBoxes(), but this method is common to several container classes. |
|
||||||||||
|
Return a reference to the i-th box. No bounds checking. |
|
||||||||||
|
Return a const reference to the i-th box. No bounds checking. |
|
||||||||||
|
Return a reference to the i-th box. No bounds checking. |
|
||||||||||
|
Return a const reference to the i-th box. No bounds checking. |
|
||||||||||
|
Create a BoxArray<DIM> from a tbox::Array<tbox::DatabaseBox>. |
|
||||||||||
|
Sets a BoxArray<DIM> from a tbox::Array<tbox::DatabaseBox>. |
|
||||||||||
|
Check whether an index lies within the bounds of the collection of boxes. |
|
||||||||||
|
Grow all boxes in the box array by the specified ghost cell width. |
|
||||||||||
|
Shift all boxes in the box array by the specified offset. |
|
||||||||||
|
rotate the box array clockwise 90 degrees times the rotation number. Currently works only in 2D. |
|
||||||||||
|
Refine the index space of each box in the box array by the specified vector refinement ratio. |
|
||||||||||
|
Coarsen the index space of each box in the box array by the specified vector coarsening ratio. |
|
||||||||||
|
Resize the array to contain the specified number of boxes. The resizing operation copies the old box values into the new boxes where the indices in the array overlap. |
|
||||||||||
|
Print all boxes in this array to specified output stream. |
1.4.2