11 #ifndef _DATAFILEIF_H_ 12 #define _DATAFILEIF_H_ 27 #include "NamespaceHeader.H" 81 const bool& a_useCubicInterp =
false);
95 const bool& a_useCubicInterp =
false);
110 const bool& a_inside,
111 const bool& a_useCubicInterp =
false);
127 const bool& a_inside,
128 const bool& a_useCubicInterp =
false);
144 const bool& a_inside,
145 const bool& a_useCubicInterp =
false);
162 const bool& a_inside,
163 const bool& a_useCubicInterp =
false);
182 const Real& a_noDataValue,
187 const bool& a_inside,
188 const bool& a_useCubicInterp =
false);
207 bool& a_useCubicInterp)
const;
214 const bool& a_inside,
215 const bool& a_useCubicInterp =
false);
259 const char*
const a_filename);
309 #include "NamespaceFooter.H" bool m_inside
Definition: DataFileIF.H:284
RefCountedPtr< FArrayBox > GetAsciiData(void)
Definition: DataFileIF.H:247
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
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:290
IntVectSet m_cornersLinear
Definition: DataFileIF.H:292
virtual ~DataFileIF()
Destructor.
void ReadMinHeader(IntVect &a_num, istream &a_file)
virtual void GetParams(Real &a_value, bool &a_inside, bool &a_useCubicInterp) const
RealVect m_origin
Definition: DataFileIF.H:280
RealVect m_spacing
Definition: DataFileIF.H:279
bool m_useCubicInterp
Definition: DataFileIF.H:295
virtual BaseIF * newImplicitFunction() const
DataFileIF()
Definition: DataFileIF.H:298
IntVectSet m_cornersCubic
Definition: DataFileIF.H:293
Definition: DataFileIF.H:66
Definition: DataFileIF.H:55
RefCountedPtr< FArrayBox > m_ascii_data
Definition: DataFileIF.H:287
double Real
Definition: REAL.H:33
RefCountedPtr< BaseFab< unsigned char > > m_binary_data
Definition: DataFileIF.H:288
DataType
Definition: DataFileIF.H:62
RefCountedPtr< BaseFab< unsigned char > > GetBinaryData(void)
Definition: DataFileIF.H:252
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Real m_value
Definition: DataFileIF.H:282
void GetFullHeader(IntVect &a_num, RealVect &a_spacing, RealVect &a_origin)
Definition: DataFileIF.H:238
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:278
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:303
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).