#include <source/hierarchy/boxes/BoxIOUtility.h>
Public Types | |
enum | IOTYPE { READ = 0, WRITE = 1 } |
Public Member Functions | |
BoxIOUtility (const string &dirname, const IOTYPE iotype) | |
virtual | ~BoxIOUtility () |
void | getLevelBoxes (BoxArray< DIM > &level_boxes, const int level_number, const int entry_number) |
void | putLevelBoxes (const BoxArray< DIM > &level_boxes, const int level_number, const int entry_number) |
int | getNumberOfLevels () |
int | getNumberOfEntries (const int level_number) |
void | writeLevelBoxesDatabase () |
void | printBoxes (ostream &os) |
|
Enumerated type for specification of whether to read or write data.
|
|
The constructor requires the name of the HDF database to write or read to, and the IOTYPE. |
|
Virtual destructor. |
|
Pulls refinement boxes corresponding to the provided level and entry number from storage array - returns a boxlist with the corresponding refine boxes. |
|
Puts new refinement boxes corresponding to the provided level and entry number into storage arrays. |
|
Returns the number of levels in the database. |
|
Returns the number of entries in the database for the specified level. |
|
Opens and writes to an HDF database directory with the prescribed name a set of refinement boxes used during the run. |
|
Print the boxes stored in the database to the specified IO stream. |