11 #ifndef _DATAFILEIF_H_ 12 #define _DATAFILEIF_H_ 27 #include "NamespaceHeader.H" 80 const bool& a_inside);
93 const bool& a_inside);
108 const bool& a_inside);
124 const bool& a_inside);
140 const bool& a_inside);
157 const bool& a_inside);
176 const Real& a_noDataValue,
181 const bool& a_inside);
199 bool& a_inside)
const;
206 const bool& a_inside);
235 const char*
const a_filename);
282 #include "NamespaceFooter.H" bool m_inside
Definition: DataFileIF.H:260
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
virtual void SetNoDataValue(const Real &a_value)
void CloseFile(ifstream &a_file)
IntVectSet m_corners
Definition: DataFileIF.H:268
virtual Real value(const RealVect &a_point) const
void ReadData(Real &a_maxValue, istream &a_file, const DataFileIF::DataType &a_dataType, const IntVect &a_num)
Definition: DataFileIF.H:65
Real m_noDataValue
Definition: DataFileIF.H:266
virtual ~DataFileIF()
Destructor.
void ReadMinHeader(IntVect &a_num, istream &a_file)
RealVect m_origin
Definition: DataFileIF.H:256
RealVect m_spacing
Definition: DataFileIF.H:255
virtual BaseIF * newImplicitFunction() const
DataFileIF()
Definition: DataFileIF.H:271
virtual void SetParams(const Real &a_value, const bool &a_inside)
Definition: DataFileIF.H:66
Definition: DataFileIF.H:55
RefCountedPtr< FArrayBox > m_ascii_data
Definition: DataFileIF.H:263
double Real
Definition: REAL.H:33
virtual void GetParams(Real &a_value, bool &a_inside) const
RefCountedPtr< BaseFab< unsigned char > > m_binary_data
Definition: DataFileIF.H:264
DataType
Definition: DataFileIF.H:62
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Real m_value
Definition: DataFileIF.H:258
void GetFullHeader(IntVect &a_num, RealVect &a_spacing, RealVect &a_origin)
Definition: DataFileIF.H:224
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:64
Definition: DataFileIF.H:67
IntVect m_num
Definition: DataFileIF.H:254
void ReadFullHeader(IntVect &a_num, RealVect &a_spacing, RealVect &a_origin, istream &a_file)
void OpenFile(ifstream &a_file, const char *const a_filename)
void operator=(const DataFileIF &a_inputIF)
Definition: DataFileIF.H:276
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).