int ReadAMRHierarchyHDF5 ( HDF5Handle & handle, Vector < DisjointBoxLayout >& a_vectGrids, Vector <LevelData< FArrayBox >* > & a_vectData, Box& a_domain, Vector <int>& a_refRatio, int& a_numLevels, const IntVect& a_ghostVector = IntVect::TheZeroVector())



Documentation

Reads hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation. Returns 0 on success.

Arguments:
handle : handle to input from.
a_vectGrids : grids at each level.
a_vectData : data at each level.
a_domain : domain at coarsest level.
a_vectRatio : refinement ratio at all levels (ith entry is refinement ratio between levels i and i + 1).
a_numLevels : number of levels to read.

Returns:
status code with values:
0: success
-1: bogus number of levels
-2: bogus number of components
-3: error in readlevel
-4: file open failed
This is not blocking.

Reads hierarchy of EB levels in ASCII format. Returns 0 on success. Data is read in as FArrayBoxes because the data file does not include sufficient information to reconstruct the EBIS. Arguments:
filename : file to input from.
a_vectGrids : grids at each level.
a_vectData : data at each level.
a_vectNames: names of variables.
a_domain : domain at coarsest level.
a_vectRatio : refinement ratio at all levels (ith entry is refinement ratio between levels i and i + 1).
a_multiValuedCells : multi-valued cells at all levels
(ith entry is refinement ratio between levels i and i + 1).
a_coveredCells : covered cells at all levels
(ith entry is refinement ratio between levels i and i + 1).
a_numLevels : number of levels to read.
returns 0 if successful.

alphabetic index hierarchy of classes


Chombo

Copyright Notice

This software is copyright (C) by the Lawrence Berkeley National Laboratory. Permission is granted to reproduce this software for non-commercial purposes provided that this notice is left intact.

It is acknowledged that the U.S. Government has rights to this software under Contract DE-AC03-765F00098 between the U.S. Department of Energy and the University of California.

This software is provided as a professional and academic contribution for joint exchange. Thus it is experimental, is provided ``as is'', with no warranties of any kind whatsoever, no support, no promise of updates, or printed documentation. By using this software, you acknowledge that the Lawrence Berkeley National Laboratory and Regents of the University of California shall have no liability with respect to the infringement of other copyrights by any part of this software.