Chombo + EB + MF  3.2
Macros | Functions
newMappedGridIO.H File Reference
#include "NewCoordSys.H"
#include "MultiBlockCoordSys.H"
#include "AMRIO.H"
#include "NodeAMRIO.H"
#include "REAL.H"
#include <string>
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Include dependency graph for newMappedGridIO.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)
 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)
 
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)
 
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)
 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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 

Macro Definition Documentation

#define _NEWMAPPEDGRIDIO_H_

Function Documentation

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 
)

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:

  • a_fileRoot: root of files to output to.
  • a_grids : grids
  • a_data : data
  • a_names : names of variables.
  • a_CoordSys: coordinate system
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 
)

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.\

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 
)

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.\ 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 
)

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:

  • a_fileRoot: root of files to output to.
  • a_grids : grids
  • a_data : data
  • a_names : names of variables.
  • a_CoordSys: multiblock coordinate system
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 
)
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 
)

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.\

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 
)

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.\ 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 
)

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.\ 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 
)

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.\

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 
)

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.\

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 
)

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.\ This is blocking.