11 #ifndef _DATAFILEIF_H_ 12 #define _DATAFILEIF_H_ 27 #include "NamespaceHeader.H" 93 const bool& a_useCubicInterp =
false,
107 const bool& a_inside,
108 const bool& a_useCubicInterp =
false,
124 const bool& a_inside,
125 const bool& a_useCubicInterp =
false,
142 const bool& a_inside,
143 const bool& a_useCubicInterp =
false,
160 const bool& a_inside,
161 const bool& a_useCubicInterp =
false,
179 const bool& a_inside,
180 const bool& a_useCubicInterp =
false,
200 const Real& a_noDataValue,
205 const bool& a_inside,
206 const bool& a_useCubicInterp =
false);
225 bool& a_useCubicInterp)
const;
232 const bool& a_inside,
233 const bool& a_useCubicInterp =
false);
277 const char*
const a_filename);
328 #include "NamespaceFooter.H" bool m_inside
Definition: DataFileIF.H:303
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
virtual void SetParams(const Real &a_value, const bool &a_inside, const bool &a_useCubicInterp=false)
virtual void SetNoDataValue(const Real &a_value)
void CloseFile(ifstream &a_file)
virtual Real value(const RealVect &a_point) const
Definition: DataFileIF.H:65
Definition: DataFileIF.H:64
RefCountedPtr< FArrayBox > GetRealData(void)
Definition: DataFileIF.H:265
Real m_noDataValue
Definition: DataFileIF.H:309
IntVectSet m_cornersLinear
Definition: DataFileIF.H:311
virtual ~DataFileIF()
Destructor.
void ReadMinHeader(IntVect &a_num, istream &a_file)
virtual void GetParams(Real &a_value, bool &a_inside, bool &a_useCubicInterp) const
Definition: DataFileIF.H:78
RealVect m_origin
Definition: DataFileIF.H:299
RealVect m_spacing
Definition: DataFileIF.H:298
bool m_useCubicInterp
Definition: DataFileIF.H:314
virtual BaseIF * newImplicitFunction() const
DataFileIF()
Definition: DataFileIF.H:317
RefCountedPtr< BaseFab< unsigned char > > m_char_data
Definition: DataFileIF.H:307
RefCountedPtr< BaseFab< unsigned char > > GetCharData(void)
Definition: DataFileIF.H:270
Definition: DataFileIF.H:79
IntVectSet m_cornersCubic
Definition: DataFileIF.H:312
Definition: DataFileIF.H:66
Definition: DataFileIF.H:55
double Real
Definition: REAL.H:33
DataType
Definition: DataFileIF.H:62
Definition: DataFileIF.H:77
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Real m_value
Definition: DataFileIF.H:301
void GetFullHeader(IntVect &a_num, RealVect &a_spacing, RealVect &a_origin)
Definition: DataFileIF.H:256
RefCountedPtr< FArrayBox > m_real_data
Definition: DataFileIF.H:306
virtual void GetHeader(IntVect &a_num, RealVect &a_spacing, RealVect &a_origin) const
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: DataFileIF.H:76
Definition: DataFileIF.H:67
IntVect m_num
Definition: DataFileIF.H:297
void ReadFullHeader(IntVect &a_num, RealVect &a_spacing, RealVect &a_origin, istream &a_file)
void OpenFile(ifstream &a_file, const char *const a_filename)
DataSize
Definition: DataFileIF.H:74
void ReadData(Real &a_maxValue, istream &a_file, const DataFileIF::DataType &a_dataType, DataFileIF::DataSize a_dataSize, const IntVect &a_num)
void operator=(const DataFileIF &a_inputIF)
Definition: DataFileIF.H:322
static void Abort(const char *const a_msg=m_nullString)
Print out message to cerr and exit via abort() (if serial) or MPI_Abort() (if parallel).