#include "REAL.H"
#include "LevelData.H"
#include "Vector.H"
#include "FArrayBox.H"
#include "IntVectSet.H"
#include <string>
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.
Functions | |
void | writeAFabASCII (std::ostream &os, const FArrayBox &fab) |
void | readAFabASCII (istream &is, FArrayBox &fab) |
void | WriteAMRHierarchyASCII (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) |
int | ReadAMRHierarchyASCII (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_vectRatio, int &a_numLevels) |
|
|
|
Reads hierarchy of levels in ASCII format. Returns 0 on success. {\bf 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.\ a_ghostVector : number of ghost cells on output .\ {\bf Returns:}\ status code with values:\ 0: success\ -1: failure\ |
|
|
|
Writes hierarchy of levels in ASCII format. {\bf 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.\ |