|
Chombo + EB + MF
3.2
|
#include "NewCoordSys.H"#include "MultiBlockCoordSys.H"#include "AMRIO.H"#include "NodeAMRIO.H"#include "REAL.H"#include <string>#include "NamespaceHeader.H"#include "NamespaceFooter.H"
Go to the source code of this file.
Macros | |
| #define | _NEWMAPPEDGRIDIO_H_ |
Functions | |
| void | WriteMappedUGHDF5 (const string &a_fileRoot, const DisjointBoxLayout &a_grids, const LevelData< FArrayBox > &a_data, const NewCoordSys &a_CoordSys, const Box &a_domainBox, const Real &a_time, bool a_writeMapping=true) |
| Write single-level of mapped-grid data in HDF5 format. More... | |
| void | WriteMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Vector< const NewCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Real &a_dt, const Real &a_time, const Vector< int > &a_vectRatio, const int &a_numLevels, bool a_writeMapping=true) |
| void | WriteMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< const NewCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Vector< int > &a_vectRatio, const int &a_numLevels, const Real &a_time, bool a_writeMapping=true) |
| void | WriteMappedUGHDF5 (const string &a_fileRoot, const DisjointBoxLayout &a_grids, const LevelData< FArrayBox > &a_data, const MultiBlockCoordSys &a_CoordSys, const Box &a_domainBox, const Real &a_time, bool a_writeMapping=true) |
| Write single-level of multiblock mapped-grid data in HDF5 format. More... | |
| void | WriteMappedUGHDF5 (const string &a_fileRoot, const DisjointBoxLayout &a_grids, const LevelData< FArrayBox > &a_data, const MultiBlockCoordSys &a_CoordSys, const Box &a_domainBox, const Vector< string > &outputNames, const Real &a_time, bool a_writeMapping=true) |
| void | WriteMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Vector< const MultiBlockCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Real &a_dt, const Real &a_time, const Vector< int > &a_vectRatio, const int &a_numLevels, bool a_writeMapping=true) |
| void | WriteMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< const MultiBlockCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Vector< int > &a_vectRatio, const int &a_numLevels, const Real &a_time, bool a_writeMapping=true) |
| void | WriteAnisotropicMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< const MultiBlockCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Vector< IntVect > &a_vectRatios, const int &a_numLevels, const Real &a_time, bool a_writeMapping=true) |
| void | WriteAnisotropicMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Vector< const MultiBlockCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Real &a_dt, const Real &a_time, const Vector< IntVect > &a_vectRatio, const int &a_numLevels, bool a_writeMapping=true) |
| void | WriteAnisotropicMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Vector< const NewCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Real &a_dt, const Real &a_time, const Vector< IntVect > &a_vectRatios, const int &a_numLevels, bool a_writeMapping=true) |
| void | WriteAnisotropicMappedAMRHierarchyHDF5 (const string &fileRoot, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< const NewCoordSys * > &a_vectCoordsys, const Box &a_baseDomainBox, const Vector< IntVect > &a_vectRatios, const int &a_numLevels, const Real &a_time, bool a_writeMapping=true) |
| #define _NEWMAPPEDGRIDIO_H_ |
| void WriteMappedUGHDF5 | ( | const string & | a_fileRoot, |
| const DisjointBoxLayout & | a_grids, | ||
| const LevelData< FArrayBox > & | a_data, | ||
| const NewCoordSys & | a_CoordSys, | ||
| const Box & | a_domainBox, | ||
| const Real & | a_time, | ||
| bool | a_writeMapping = true |
||
| ) |
Write single-level of mapped-grid data in HDF5 format.
Writes a single level in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation. This is blocking.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
Arguments:
| void WriteMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< string > & | a_vectNames, | ||
| const Vector< const NewCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Real & | a_dt, | ||
| const Real & | a_time, | ||
| const Vector< int > & | a_vectRatio, | ||
| const int & | a_numLevels, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of mapped levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_vectCoordSys: coordinate systems for each AMR level. \ a_dt : time step at coarsest level.\ a_time : time.\ a_vectRatio : refinement ratio at all levels (ith entry is refinement ratio between levels i and i + 1).\ a_numLevels : number of levels to output.\ a_writeMapping: if false, don't write the second ("map") file \
This is blocking.
| void WriteMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< const NewCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Vector< int > & | a_vectRatio, | ||
| const int & | a_numLevels, | ||
| const Real & | a_time, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectCoordSys: coordinate systems for each AMR 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 output.\ a_writeMapping: if false, don't write the second ("map") file \ This is blocking.
| void WriteMappedUGHDF5 | ( | const string & | a_fileRoot, |
| const DisjointBoxLayout & | a_grids, | ||
| const LevelData< FArrayBox > & | a_data, | ||
| const MultiBlockCoordSys & | a_CoordSys, | ||
| const Box & | a_domainBox, | ||
| const Real & | a_time, | ||
| bool | a_writeMapping = true |
||
| ) |
Write single-level of multiblock mapped-grid data in HDF5 format.
Writes a single level in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation. This is blocking.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
Arguments:
| void WriteMappedUGHDF5 | ( | const string & | a_fileRoot, |
| const DisjointBoxLayout & | a_grids, | ||
| const LevelData< FArrayBox > & | a_data, | ||
| const MultiBlockCoordSys & | a_CoordSys, | ||
| const Box & | a_domainBox, | ||
| const Vector< string > & | outputNames, | ||
| const Real & | a_time, | ||
| bool | a_writeMapping = true |
||
| ) |
| void WriteMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< string > & | a_vectNames, | ||
| const Vector< const MultiBlockCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Real & | a_dt, | ||
| const Real & | a_time, | ||
| const Vector< int > & | a_vectRatio, | ||
| const int & | a_numLevels, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of multiblock mapped levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information b (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_vectCoordSys: multiblock coordinate systems for each AMR level. \ a_dt : time step at coarsest level.\ a_time : time.\ a_vectRatio : refinement ratio at all levels (ith entry is refinement ratio between levels i and i + 1).\ a_numLevels : number of levels to output.\ a_writeMapping: if false, don't write the second ("map") file \
This is blocking.
| void WriteMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< const MultiBlockCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Vector< int > & | a_vectRatio, | ||
| const int & | a_numLevels, | ||
| const Real & | a_time, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectCoordSys: coordinate systems for each AMR 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 output.\ a_writeMapping: if false, don't write the second ("map") file \ This is blocking.
| void WriteAnisotropicMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< const MultiBlockCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Vector< IntVect > & | a_vectRatios, | ||
| const int & | a_numLevels, | ||
| const Real & | a_time, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectCoordSys: coordinate systems for each AMR level. \ a_vectRatios: refinement ratio in each direction at all levels (ith entry is refinement ratio between levels i and i + 1).\ a_numLevels : number of levels to output.\ a_writeMapping: if false, don't write the second ("map") file \ This is blocking.
| void WriteAnisotropicMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< string > & | a_vectNames, | ||
| const Vector< const MultiBlockCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Real & | a_dt, | ||
| const Real & | a_time, | ||
| const Vector< IntVect > & | a_vectRatio, | ||
| const int & | a_numLevels, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of multiblock mapped levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_vectCoordSys: multiblock coordinate systems for each AMR level. \ a_dt : time step at coarsest level.\ a_time : time.\ a_vectRatios: refinement ratio in each direction at all levels (ith entry is refinement ratio between levels i and i + 1).\ a_numLevels : number of levels to output.\ a_writeMapping: if false, don't write the second ("map") file \
This is blocking.
| void WriteAnisotropicMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< string > & | a_vectNames, | ||
| const Vector< const NewCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Real & | a_dt, | ||
| const Real & | a_time, | ||
| const Vector< IntVect > & | a_vectRatios, | ||
| const int & | a_numLevels, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of mapped levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_vectCoordSys: coordinate systems for each AMR level. \ a_dt : time step at coarsest level.\ a_time : time.\ a_vectRatio : refinement ratio in each direction at all levels (ith entry is refinement ratio between levels i and i + 1).\ a_numLevels : number of levels to output.\ a_writeMapping: if false, don't write the second ("map") file \
This is blocking.
| void WriteAnisotropicMappedAMRHierarchyHDF5 | ( | const string & | fileRoot, |
| const Vector< DisjointBoxLayout > & | a_vectGrids, | ||
| const Vector< LevelData< FArrayBox > * > & | a_vectData, | ||
| const Vector< const NewCoordSys * > & | a_vectCoordsys, | ||
| const Box & | a_baseDomainBox, | ||
| const Vector< IntVect > & | a_vectRatios, | ||
| const int & | a_numLevels, | ||
| const Real & | a_time, | ||
| bool | a_writeMapping = true |
||
| ) |
Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.
Opens and writes to 2 files: fileRoot.<DIM>d.hdf5 contains the cell-centered dataset, while fileRoot.map.<DIM>d.hdf5 contains the node-centered mapped-grid information (which is the real-space locations of the nodes in mapped space.)
{ Arguments:}\ fileRoot : root of files to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectCoordSys: coordinate systems for each AMR level. \ a_vectRatio : refinement ratio in each direction at all levels (ith entry is refinement ratio between levels i and i + 1).\ a_numLevels : number of levels to output.\ a_writeMapping: if false, don't write the second ("map") file \
This is blocking.
1.8.13