Go to the documentation of this file.
21 #ifndef __rectangleMesh_hpp__
22 #define __rectangleMesh_hpp__
135 os<<
"DATASET RECTILINEAR_GRID"<<
endl;
136 os<<
"DIMENSIONS "<<
nx()+1<<
" "<<
ny()+1 <<
" "<<
nz()+1 <<
endl;
139 auto [dx, dy, dz] =
dx_;
141 os<<
"X_COORDINATES "<<
nx()+1 <<
" float\n";
148 os<<
"Y_COORDINATES "<<
ny()+1 <<
" float\n";
155 os<<
"Z_COORDINATES "<<
nz()+1 <<
" float\n";
174 #endif // __rectangleMesh_hpp__
#define notImplementedFunction
Report that a function is yet not implemented.
bool writeToVtk(iOstream &os) const
rectangleMesh(const box &mshBox, int32 nx, int32 ny, int32 nz, repository *rep)
iOstream & endl(iOstream &os)
Add newline and flush stream.
const INLINE_FUNCTION_HD realx3 & maxPoint() const
INLINE_FUNCTION_HD T & y()
access component
bool isInsideIndex(const realx3 p, int32x3 &ind) const
Interface class for any input stream
bool write(iOstream &is, const IOPattern &iop) const override
~rectangleMesh() override=default
INLINE_FUNCTION_HD T & z()
access component
const INLINE_FUNCTION_HD realx3 & minPoint() const
rectangleMesh & operator=(const rectangleMesh &)=default
INLINE_FUNCTION_HD T & x()
access component
INLINE_FUNCTION_HD bool isInside(const realx3 &point) const
TypeInfo("rectangleMesh")
Interface class for any output stream.
bool read(iIstream &is, const IOPattern &iop) override
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...