Chombo + EB  3.2
Macros | Functions
AMRIO.H File Reference
#include "REAL.H"
#include "LevelData.H"
#include "Vector.H"
#include "FArrayBox.H"
#include "CFArrayBox.H"
#include "FluxBox.H"
#include "IntVectSet.H"
#include "IVSFAB.H"
#include "RealVect.H"
#include <string>
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Include dependency graph for AMRIO.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _AMRIO_H_
 

Functions

void WriteAMRHierarchyHDF5 (const string &filename, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Box &a_domain, const Real &a_dx, const Real &a_dt, const Real &a_time, const Vector< int > &a_vectRatio, const int &a_numLevels)
 
void WriteAnisotropicAMRHierarchyHDF5 (const string &filename, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Box &a_domain, const RealVect &a_dx, const Real &a_dt, const Real &a_time, const Vector< IntVect > &a_vectRatios, const int &a_numLevels)
 
void WriteAMRHierarchyHDF5 (HDF5Handle &handle, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Box &a_domain, const Real &a_dx, const Real &a_dt, const Real &a_time, const Vector< int > &a_vectRatio, const int &a_numLevels)
 
void WriteAnisotropicAMRHierarchyHDF5 (HDF5Handle &handle, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Box &a_domain, const RealVect &a_dx, const Real &a_dt, const Real &a_time, const Vector< IntVect > &a_vectRatios, const int &a_numLevels)
 
void WriteAMRHierarchyHDF5 (const string &filename, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Box &a_domain, const Vector< int > &a_vectRatio, const int &a_numLevels)
 
void WriteAMRHierarchyHDF5 (HDF5Handle &handle, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Box &a_domain, const Vector< int > &a_vectRatio, const int &a_numLevels)
 
int ReadAMRHierarchyHDF5 (const string &filename, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Vector< string > &a_vectNames, Box &a_domain, Real &a_dx, Real &a_dt, Real &a_time, Vector< int > &a_refRatio, int &a_numLevels)
 
int ReadAMRHierarchyHDF5 (HDF5Handle &handle, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Vector< string > &a_vectNames, Box &a_domain, Real &a_dx, Real &a_dt, Real &a_time, Vector< int > &a_refRatio, int &a_numLevels)
 
int ReadAMRHierarchyHDF5 (const string &filename, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Box &a_domain, Vector< int > &a_refRatio, int &a_numLevels)
 
int ReadAMRHierarchyHDF5 (HDF5Handle &handle, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Box &a_domain, Vector< int > &a_refRatio, int &a_numLevels)
 
int ReadAnisotropicAMRHierarchyHDF5 (const string &filename, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Vector< string > &a_vectNames, Box &a_domain, RealVect &a_dx, Real &a_dt, Real &a_time, Vector< IntVect > &a_refRatio, int &a_numLevels)
 
int ReadAnisotropicAMRHierarchyHDF5 (HDF5Handle &handle, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Vector< string > &a_vectNames, Box &a_domain, RealVect &a_dx, Real &a_dt, Real &a_time, Vector< IntVect > &a_refRatio, int &a_numLevels)
 
int ReadAnisotropicAMRHierarchyHDF5 (const string &filename, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Box &a_domain, Vector< IntVect > &a_refRatio, int &a_numLevels)
 
int ReadAnisotropicAMRHierarchyHDF5 (HDF5Handle &handle, Vector< DisjointBoxLayout > &a_vectGrids, Vector< LevelData< FArrayBox > * > &a_vectData, Box &a_domain, Vector< IntVect > &a_refRatio, int &a_numLevels)
 
void viewIVS (const IntVectSet *a_dataPtr)
 
void viewVectorBox (const Vector< Box > *a_dataPtr)
 
void writeFAB (const FArrayBox *a_dataPtr)
 
void viewFAB (const FArrayBox *a_dataPtr)
 
void viewBFI (const BaseFab< int > *a_dataPtr)
 
void writeBFCname (const BaseFab< char > *a_dataPtr, const char *a_filename)
 
void viewBFIV (const BaseFab< IntVect > *a_dataPtr)
 
void viewBFRV (const BaseFab< RealVect > *a_dataPtr)
 
void viewIVSFAB (const IVSFAB< Real > *a_dataPtr)
 
void viewIVSFABI (const IVSFAB< int > *a_dataPtr)
 
void viewIVSFABIV (const IVSFAB< IntVect > *a_dataPtr)
 
void viewIVSFABRV (const IVSFAB< RealVect > *a_dataPtr)
 
void viewCFAB (const CFArrayBox *a_dataPtr)
 
void browseFAB (const FArrayBox *a_dataPtr)
 
void writeBFR (const BaseFab< Real > *a_dataPtr)
 
void writeBFRname (const BaseFab< Real > *a_dataPtr, const char *a_filename)
 
void viewBFR (const BaseFab< Real > *a_dataPtr)
 
void writeFABname (const FArrayBox *a_dataPtr, const char *a_filename, const Vector< string > &a_compNames=Vector< string >(), const Real &a_dx=1.0)
 
void writeCFABname (const CFArrayBox *a_dataPtr, const char *a_filename)
 
void viewLevelNoFine (const LevelData< FArrayBox > *a_dataPtr, const LevelData< FArrayBox > *a_dataFinePtr, int a_refRatio)
 
void writeLevel (const LevelData< FArrayBox > *a_dataPtr)
 
void viewLevel (const LevelData< FArrayBox > *a_dataPtr)
 
void viewFluxLevel (const LevelData< FluxBox > *a_dataPtr)
 
void browseLevel (const LevelData< FArrayBox > *a_dataPtr)
 
void viewLevelNoGhost (const LevelData< FArrayBox > *a_dataPtr)
 
void viewVectorLevel (const Vector< LevelData< FArrayBox > *> *a_dataPtr, const Vector< int > *a_refRatios)
 
void writeLevelname (const LevelData< FArrayBox > *a_dataPtr, const char *a_filename)
 
void writeVectorLevelName (const Vector< LevelData< FArrayBox > *> *a_dataPtr, const Vector< int > *a_refRatios, const char *a_filename)
 
void writeDBL (const DisjointBoxLayout *a_dataPtr)
 
void viewDBL (const DisjointBoxLayout *a_dataPtr)
 
void viewLevelBFI (const LevelData< BaseFab< int > > *a_dataPtr)
 
void writeCopier (const Copier *a_copier)
 
void viewCopier (const Copier *a_copier)
 
void writeDBLname (const DisjointBoxLayout *a_dataPtr, const char *a_filename)
 
void WritePartialAMRHierarchyHDF5 (const string &filename, const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< LevelData< FArrayBox > * > &a_vectData, const Vector< string > &a_vectNames, const Box &a_baseDomain, const Real &a_baseDx, const Real &a_dt, const Real &a_time, const Vector< int > &a_vectRatio, const Interval &a_levels)
 

Macro Definition Documentation

◆ _AMRIO_H_

#define _AMRIO_H_

Function Documentation

◆ WriteAMRHierarchyHDF5() [1/4]

void WriteAMRHierarchyHDF5 ( const string &  filename,
const Vector< DisjointBoxLayout > &  a_vectGrids,
const Vector< LevelData< FArrayBox > * > &  a_vectData,
const Vector< string > &  a_vectNames,
const Box a_domain,
const Real a_dx,
const Real a_dt,
const Real a_time,
const Vector< int > &  a_vectRatio,
const int &  a_numLevels 
)

Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.

{ Arguments:}\ filename : file to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_domain : domain at coarsest level.\ a_dx : grid spacing at coarsest 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.

◆ WriteAnisotropicAMRHierarchyHDF5() [1/2]

void WriteAnisotropicAMRHierarchyHDF5 ( const string &  filename,
const Vector< DisjointBoxLayout > &  a_vectGrids,
const Vector< LevelData< FArrayBox > * > &  a_vectData,
const Vector< string > &  a_vectNames,
const Box a_domain,
const RealVect a_dx,
const Real a_dt,
const Real a_time,
const Vector< IntVect > &  a_vectRatios,
const int &  a_numLevels 
)

Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.

{ Arguments:}\ filename : file to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_domain : domain at coarsest level.\ a_dx : grid spacing in each direction at coarsest 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 in each direction between levels i and i + 1).\ a_numLevels : number of levels to output.\ This is blocking.

◆ WriteAMRHierarchyHDF5() [2/4]

void WriteAMRHierarchyHDF5 ( HDF5Handle handle,
const Vector< DisjointBoxLayout > &  a_vectGrids,
const Vector< LevelData< FArrayBox > * > &  a_vectData,
const Vector< string > &  a_vectNames,
const Box a_domain,
const Real a_dx,
const Real a_dt,
const Real a_time,
const Vector< int > &  a_vectRatio,
const int &  a_numLevels 
)

Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.

{ Arguments:}\ handle : handle to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_domain : domain at coarsest level.\ a_dx : grid spacing at coarsest 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 not blocking.

◆ WriteAnisotropicAMRHierarchyHDF5() [2/2]

void WriteAnisotropicAMRHierarchyHDF5 ( HDF5Handle handle,
const Vector< DisjointBoxLayout > &  a_vectGrids,
const Vector< LevelData< FArrayBox > * > &  a_vectData,
const Vector< string > &  a_vectNames,
const Box a_domain,
const RealVect a_dx,
const Real a_dt,
const Real a_time,
const Vector< IntVect > &  a_vectRatios,
const int &  a_numLevels 
)

Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.

{ Arguments:}\ handle : handle to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_domain : domain at coarsest level.\ a_dx : grid spacing in each direction at coarsest 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 not blocking.

◆ WriteAMRHierarchyHDF5() [3/4]

void WriteAMRHierarchyHDF5 ( const string &  filename,
const Vector< DisjointBoxLayout > &  a_vectGrids,
const Vector< LevelData< FArrayBox > * > &  a_vectData,
const Box a_domain,
const Vector< int > &  a_vectRatio,
const int &  a_numLevels 
)

Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.

{ Arguments:}\ filename : file to output to.\ 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 output.\ This is blocking.

◆ WriteAMRHierarchyHDF5() [4/4]

void WriteAMRHierarchyHDF5 ( HDF5Handle handle,
const Vector< DisjointBoxLayout > &  a_vectGrids,
const Vector< LevelData< FArrayBox > * > &  a_vectData,
const Box a_domain,
const Vector< int > &  a_vectRatio,
const int &  a_numLevels 
)

Writes hierarchy of levels in HDF5 format. Only available if the preprocessor macro HDF5 is defined at compilation.

{ Arguments:}\ handle : handle to output to.\ 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 output.\ This is not blocking.

◆ ReadAMRHierarchyHDF5() [1/4]

int ReadAMRHierarchyHDF5 ( const string &  filename,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Vector< string > &  a_vectNames,
Box a_domain,
Real a_dx,
Real a_dt,
Real a_time,
Vector< int > &  a_refRatio,
int &  a_numLevels 
)

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

{ 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_dx : grid spacing at coarsest 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 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 blocking

◆ ReadAMRHierarchyHDF5() [2/4]

int ReadAMRHierarchyHDF5 ( HDF5Handle handle,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Vector< string > &  a_vectNames,
Box a_domain,
Real a_dx,
Real a_dt,
Real a_time,
Vector< int > &  a_refRatio,
int &  a_numLevels 
)

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_vectNames: names of variables.\ a_domain : domain at coarsest level.\ a_dx : grid spacing at coarsest 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 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

◆ ReadAMRHierarchyHDF5() [3/4]

int ReadAMRHierarchyHDF5 ( const string &  filename,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Box a_domain,
Vector< int > &  a_refRatio,
int &  a_numLevels 
)

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

{ Arguments:}\ filename : file 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 blocking.

◆ ReadAMRHierarchyHDF5() [4/4]

int ReadAMRHierarchyHDF5 ( HDF5Handle handle,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Box a_domain,
Vector< int > &  a_refRatio,
int &  a_numLevels 
)

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.

◆ ReadAnisotropicAMRHierarchyHDF5() [1/4]

int ReadAnisotropicAMRHierarchyHDF5 ( const string &  filename,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Vector< string > &  a_vectNames,
Box a_domain,
RealVect a_dx,
Real a_dt,
Real a_time,
Vector< IntVect > &  a_refRatio,
int &  a_numLevels 
)

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

{ 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_dx : grid spacing at coarsest 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 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 blocking

◆ ReadAnisotropicAMRHierarchyHDF5() [2/4]

int ReadAnisotropicAMRHierarchyHDF5 ( HDF5Handle handle,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Vector< string > &  a_vectNames,
Box a_domain,
RealVect a_dx,
Real a_dt,
Real a_time,
Vector< IntVect > &  a_refRatio,
int &  a_numLevels 
)

Reads hierarchy of levels in ANISOTROPIC 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_vectNames: names of variables.\ a_domain : domain at coarsest level.\ a_dx : grid spacing at coarsest 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 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

◆ ReadAnisotropicAMRHierarchyHDF5() [3/4]

int ReadAnisotropicAMRHierarchyHDF5 ( const string &  filename,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Box a_domain,
Vector< IntVect > &  a_refRatio,
int &  a_numLevels 
)

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

{ Arguments:}\ filename : file 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 blocking.

◆ ReadAnisotropicAMRHierarchyHDF5() [4/4]

int ReadAnisotropicAMRHierarchyHDF5 ( HDF5Handle handle,
Vector< DisjointBoxLayout > &  a_vectGrids,
Vector< LevelData< FArrayBox > * > &  a_vectData,
Box a_domain,
Vector< IntVect > &  a_refRatio,
int &  a_numLevels 
)

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.

◆ viewIVS()

void viewIVS ( const IntVectSet a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file created uses the Boxes that underlie the IntVectSet. If a_domain is 0, then the domain used in the file is the minBox of a_dataPtr.

Referenced by InitWriteFAB().

◆ viewVectorBox()

void viewVectorBox ( const Vector< Box > *  a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. If a_domain is 0, then the domain used in the file is the minBox of a_dataPtr.

Referenced by InitWriteFAB().

◆ writeFAB()

void writeFAB ( const FArrayBox a_dataPtr)

Writes a plotfile using the same format as WriteAMRHierarchyHDF5, but for a FArrayBox. This is useful for debugging. *a_dataPtr is written to a file named fab.hdf5

Referenced by InitWriteFAB().

◆ viewFAB()

void viewFAB ( const FArrayBox a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single FArrayBox. This is useful for debugging.

Referenced by InitWriteFAB().

◆ viewBFI()

void viewBFI ( const BaseFab< int > *  a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ writeBFCname()

void writeBFCname ( const BaseFab< char > *  a_dataPtr,
const char *  a_filename 
)

Make a copy of *a_dataPtr as FArrayBox, then write to a_filename.

◆ viewBFIV()

void viewBFIV ( const BaseFab< IntVect > *  a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ viewBFRV()

void viewBFRV ( const BaseFab< RealVect > *  a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ viewIVSFAB()

void viewIVSFAB ( const IVSFAB< Real > *  a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ viewIVSFABI()

void viewIVSFABI ( const IVSFAB< int > *  a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ viewIVSFABIV()

void viewIVSFABIV ( const IVSFAB< IntVect > *  a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ viewIVSFABRV()

void viewIVSFABRV ( const IVSFAB< RealVect > *  a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ viewCFAB()

void viewCFAB ( const CFArrayBox a_dataPtr)

Make a copy of *a_dataPtr as FArrayBox, then call viewFAB on FArrayBox.

Referenced by InitWriteFAB().

◆ browseFAB()

void browseFAB ( const FArrayBox a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running chombobrowser with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single FArrayBox. This is useful for debugging.

Referenced by InitWriteFAB().

◆ writeBFR()

void writeBFR ( const BaseFab< Real > *  a_dataPtr)

Writes a plotfile using the same format as WriteAMRHierarchyHDF5, but for a BaseFab<Real>. This is useful for debugging. *a_dataPtr is written to a file named fab.hdf5

Referenced by InitWriteFAB().

◆ writeBFRname()

void writeBFRname ( const BaseFab< Real > *  a_dataPtr,
const char *  a_filename 
)

◆ viewBFR()

void viewBFR ( const BaseFab< Real > *  a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single BaseFab<Real>. This is useful for debugging.

Referenced by InitWriteFAB().

◆ writeFABname()

void writeFABname ( const FArrayBox a_dataPtr,
const char *  a_filename,
const Vector< string > &  a_compNames = Vector< string >(),
const Real a_dx = 1.0 
)

Writes a plotfile using the same format as WriteAMRHierarchyHDF5, but for a FArrayBox. This is useful for debugging. *a_dataPtr is written to the file given by a_filename. If a non-empty Vector of strings is given, they are used as the component names in the HDF5 header; else the names are set to "component_0", "component_1", ....

Referenced by InitWriteFAB().

◆ writeCFABname()

void writeCFABname ( const CFArrayBox a_dataPtr,
const char *  a_filename 
)

Writes a plotfile using the same format as WriteAMRHierarchyHDF5, but for a CFArrayBox. This is useful for debugging. *a_dataPtr is written to the file given by a_filename. It has two components named "real" and "imaginary"

◆ viewLevelNoFine()

void viewLevelNoFine ( const LevelData< FArrayBox > *  a_dataPtr,
const LevelData< FArrayBox > *  a_dataFinePtr,
int  a_refRatio 
)

View a modified version of *a_dataPtr where the data are set to zero on the grids of *a_dataFinePtr coarsened by a_refRatio. Write the results to an HDF5 plotfile (to a temporary file) and then run VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single LevelData<FArrayBox>. This is useful for debugging.

◆ writeLevel()

void writeLevel ( const LevelData< FArrayBox > *  a_dataPtr)

Write a plotfile using the same format as WriteAMRHierarchyHDF5, but for a single LevelData<FArrayBox>. Useful for debugging. *a_dataPtr is written to a file named LDF.hdf5.

Referenced by InitWriteFAB().

◆ viewLevel()

void viewLevel ( const LevelData< FArrayBox > *  a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single LevelData<FArrayBox>. This is useful for debugging.

Referenced by InitWriteFAB().

◆ viewFluxLevel()

void viewFluxLevel ( const LevelData< FluxBox > *  a_dataPtr)

View fluxBoxes stored by *a_dataPtr by writing them to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single LevelData<FArrayBox>. This is useful for debugging. NOTE: the components of a_dataPtr are stored in dimension-major order.

◆ browseLevel()

void browseLevel ( const LevelData< FArrayBox > *  a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single LevelData<FArrayBox>. This is useful for debugging.

Referenced by InitWriteFAB().

◆ viewLevelNoGhost()

void viewLevelNoGhost ( const LevelData< FArrayBox > *  a_dataPtr)

View *a_dataPtr by writing only the interior values (no ghost cell values) to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single LevelData<FArrayBox>. This is useful for debugging.

Referenced by InitWriteFAB().

◆ viewVectorLevel()

void viewVectorLevel ( const Vector< LevelData< FArrayBox > *> *  a_dataPtr,
const Vector< int > *  a_refRatios 
)

View the multilevel dataset a_dataPtr by writing a to an (temporary) HDF5 plotfile using the same format as WriteAMRHierarchyHDF5, for a Vector<LevelData<FArrayBox>>, and then running VisIt from a python script to look at the data. Useful for debugging.

◆ writeLevelname()

void writeLevelname ( const LevelData< FArrayBox > *  a_dataPtr,
const char *  a_filename 
)

Write a plotfile using the same format as WriteAMRHierarchyHDF5, but for a single LevelData<FArrayBox>. Useful for debugging. *a_dataPtr is written to the file given by a_filename.

Referenced by InitWriteFAB(), ViscousTensorOp::outputLevel(), and NWOViscousTensorOp::outputLevel().

◆ writeVectorLevelName()

void writeVectorLevelName ( const Vector< LevelData< FArrayBox > *> *  a_dataPtr,
const Vector< int > *  a_refRatios,
const char *  a_filename 
)

Write a plotfile using the same format as WriteAMRHierarchyHDF5, but for a Vector<LevelData<FArrayBox>*>. Useful for debugging. *a_dataPtr is written to the file given by a_filename.

Referenced by MultilevelLinearOp< T >::write().

◆ writeDBL()

void writeDBL ( const DisjointBoxLayout a_dataPtr)

Write a plotfile using the same format as WriteAMRHierarchyHDF5, but for a single DisjointBoxLayout (do this by creating a LevelData<FArrayBox> and then calling writeLevel. Useful for debugging. *a_dataPtr is written to a file named DBL.hdf5.

Referenced by InitWriteFAB().

◆ viewDBL()

void viewDBL ( const DisjointBoxLayout a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single DisjointBoxLayout (do this by creating a LevelData<FArrayBox> and then calling writeLevel. This is useful for debugging.

Referenced by InitWriteFAB().

◆ viewLevelBFI()

void viewLevelBFI ( const LevelData< BaseFab< int > > *  a_dataPtr)

View *a_dataPtr by writing it to an HDF5 plotfile (to a temporary file) and then running VisIt with a python script which brings up a data browser by default. The file has the same format as WriteAMRHierarchyHDF5, but for a single LevelData<BaseFab<int> >. This is useful for debugging.

Referenced by InitWriteFAB().

◆ writeCopier()

void writeCopier ( const Copier a_copier)

◆ viewCopier()

void viewCopier ( const Copier a_copier)

◆ writeDBLname()

void writeDBLname ( const DisjointBoxLayout a_dataPtr,
const char *  a_filename 
)

Write a plotfile using the same format as WriteAMRHierarchyHDF5, but for a single DisjointBoxLayout (do this by creating a LevelData<FArrayBox> and then calling writeLevel. Useful for debugging. *a_dataPtr is written to the file given by a_filename.

Referenced by InitWriteFAB().

◆ WritePartialAMRHierarchyHDF5()

void WritePartialAMRHierarchyHDF5 ( const string &  filename,
const Vector< DisjointBoxLayout > &  a_vectGrids,
const Vector< LevelData< FArrayBox > * > &  a_vectData,
const Vector< string > &  a_vectNames,
const Box a_baseDomain,
const Real a_baseDx,
const Real a_dt,
const Real a_time,
const Vector< int > &  a_vectRatio,
const Interval a_levels 
)

Write a plotfile with levels that don't necessarily begin with 0 (will translate things so that lBase comes out as level 0, etc) Levels in Vector arguments should correspond with actual levels. (and so should be defined for a_levels.begin() through a_levels.end(). { Arguments:}\ filename : file to output to.\ a_vectGrids : grids at each level.\ a_vectData : data at each level.\ a_vectNames: names of variables.\ a_domain : domain at base level (given by a_levels.begin()).\ a_dx : grid spacing at base level.\ a_dt : time step at base 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.