|
| AMRDataFileIF (const char *const a_filename, const Real &a_value, const bool &a_inside, const bool &a_useCubicInterp=false) |
|
| AMRDataFileIF (const AMRDataFileIF &a_inputIF) |
| Copy constructor. More...
|
|
| AMRDataFileIF (const RefCountedPtr< Vector< LevelData< FArrayBox > * > > a_real_data, const RefCountedPtr< BaseFab< unsigned char > > a_char_data, const Real &a_noDataValue, const Box &a_baseDomain, const Vector< RealVect > &a_spacing, const RealVect &a_origin, const Vector< int > &a_refRatio, const Real &a_value, const bool &a_inside, const bool &a_useCubicInterp=false) |
|
virtual | ~AMRDataFileIF () |
| Destructor. More...
|
|
virtual void | GetHeader (Box &a_baseDomain, Vector< RealVect > &a_vectDx, RealVect &a_origin) const |
|
virtual void | GetParams (Real &a_value, bool &a_inside, bool &a_useCubicInterp) const |
|
virtual void | SetParams (const Real &a_value, const bool &a_inside, const bool &a_useCubicInterp=false) |
|
virtual void | SetNoDataValue (const Real &a_value) |
|
virtual Real | value (const RealVect &a_point) const |
|
virtual Real | value (const IndexTM< Real, GLOBALDIM > &a_point) const |
|
virtual Real | value (const IndexTM< int, GLOBALDIM > &a_partialDerivative, const IndexTM< Real, GLOBALDIM > &a_point) const |
|
virtual BaseIF * | newImplicitFunction () const |
|
void | GetFullHeader (Box &a_baseDomain, Vector< RealVect > &a_vectDx, RealVect &a_origin) |
|
RefCountedPtr< FArrayBox > | GetRealData (void) |
|
RefCountedPtr< BaseFab< unsigned char > > | GetCharData (void) |
|
| BaseIF () |
| Default constructor. More...
|
|
virtual | ~BaseIF () |
| Default destructor. More...
|
|
virtual IndMomSpaceDim | getExactVolumeMoments (const VolIndex &a_vof, const Real &a_dx) const |
| return int x^p dV for the vof More...
|
|
virtual IndMomSpaceDim | getExactEBMoments (const VolIndex &a_vof, const Real &a_dx) const |
| return int_eb x^p dA for the eb More...
|
|
virtual IndMomSpaceDim | getExactEBNormalMoments (const VolIndex &a_vof, const Real &a_dx, const int &a_ni) const |
| return int_eb x^p n_i dA for the eb More...
|
|
virtual IndMomSpaceDim | getExactEBNormalPartialDerivs (const VolIndex &a_vof, const Real &a_dx, const int &a_ni) const |
|
virtual IndMomSDMinOne | getExactFaceMoments (const FaceIndex &a_face, const Real &a_dx) const |
| return int x^p dA for the face More...
|
|
virtual Real | derivative (const IntVect &a_deriv, const RealVect &a_point) const |
| return the partial derivative at the point More...
|
|
virtual Real | value (const IntVect &a_deriv, const RealVect &a_point) const |
|
virtual bool | fastIntersection (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const |
|
virtual bool | fastIntersection (const RealVect &a_low, const RealVect &a_high) const |
|
virtual GeometryService::InOut | InsideOutside (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const |
|
virtual GeometryService::InOut | InsideOutside (const RealVect &a_low, const RealVect &a_high) const |
|
virtual Real | derivative (const IndexTM< int, GLOBALDIM > &a_deriv, const IndexTM< Real, GLOBALDIM > &a_point) const |
|
virtual void | print (ostream &out) const |
|
virtual void | makeGrids (const ProblemDomain &a_domain, DisjointBoxLayout &a_grids, const int &a_maxGridSize, const int &a_maxIrregGridSize) |
|
virtual void | boxLayoutChanged (const DisjointBoxLayout &a_newBoxLayout, const RealVect &a_dx) |
|
This implicit function reads data from a Chombo AMR HDF5 file and produces function values from the data read. The data lies on an AMR hierarchy of rectilinear grids specified in the file. Function values within the data region are obtained using trilinear interpolation. Function values outside the data region are the maximum value of the data read.
This is used by the factory (see below) to create a new object. All objects created in this way share a refcounted pointer to their data.
Constructor specifying a refcounted pointer to the data (a_real_data or a_char_data), the no data value (a_noDataValue), the spacing (a_spacing), the physical origin (a_origin), the number of grid points in each direction (a_num), a level set value (a_value), and whether inside the domain is where data is less than the level set value (a_inside).