Public Member Functions | |
TypeInfo ("rectangleMesh") | |
rectangleMesh (const box &mshBox, int32 nx, int32 ny, int32 nz, repository *rep) | |
rectangleMesh (const dictionary &dict, repository *rep) | |
rectangleMesh (const rectangleMesh &)=default | |
rectangleMesh & | operator= (const rectangleMesh &)=default |
rectangleMesh (rectangleMesh &&)=default | |
rectangleMesh & | operator= (rectangleMesh &&)=default |
~rectangleMesh () override=default | |
int64 | size () const |
int32 | nx () const |
int32 | ny () const |
int32 | nz () const |
real | cellVol () const |
realx3 | minPoint () const |
realx3 | maxPoint () const |
bool | isInsideIndex (const realx3 p, int32x3 &ind) const |
bool | write (iOstream &is, const IOPattern &iop) const override |
bool | read (iIstream &is, const IOPattern &iop) override |
bool | writeToVtk (iOstream &os) const |
![]() | |
virtual word | typeName () const =0 |
IOobject (const objectFile &objf, const IOPattern &iop, repository *owner) | |
~IOobject () override | |
IOobject (const IOobject &src)=delete | |
IOobject (IOobject &&src)=delete | |
const IOPattern & | ioPattern () const |
const repository * | owner () const override |
repository * | owner () |
repository * | releaseOwner (bool fromOwner=false) |
bool | isIncluded (const word &objName) const override |
bool | isExcluded (const word &objName) const override |
bool | readObject (bool rdHdr=true) |
bool | writeObject () const |
bool | readObject (iIstream &is, bool rdHdr=true) |
bool | writeObject (iOstream &os) const |
![]() | |
IOfileHeader (const objectFile &objf) | |
const word & | objectName () const |
const word & | objectType () const |
fileSystem | path () const |
bool | outFileBinary () const |
bool | inFileBinary () const |
bool | headerOk (bool silent=false) |
bool | implyRead () const |
Imply read. More... | |
bool | implyWrite () const |
Imply write. More... | |
bool | fileExist () const |
Check if file exists. More... | |
bool | readIfPresent () const |
Check read if present. More... | |
bool | writeHeader () const |
Check if the header should be written to file True: on master + implyWrite + readWriteHeader = true False: otherwise. More... | |
bool | writeHeader (iOstream &os, const word &typeName, bool forceWrite=false) const |
Write the header to the file , typeName comes from caller. More... | |
bool | writeHeader (iOstream &os, bool forceWrite=false) const |
Write the header to the file, typeName comes from the one read from file. More... | |
bool | readHeader () const |
Check if header should be read from file. More... | |
bool | readHeader (iIstream &is, bool silent=false) |
Read the header in the file. More... | |
bool | writeBanner (iOstream &os) const |
write the banner More... | |
bool | writeSeparator (iOstream &os) const |
wirte a separator line More... | |
![]() | |
objectFile (const word &name) | |
objectFile (const word &name, const fileSystem &localPath, const readFlag &rf=readFlag::READ_NEVER, const writeFlag &wf=writeFlag::WRITE_NEVER, bool rwHeader=true) | |
objectFile (const objectFile &src)=default | |
objectFile (objectFile &&src)=default | |
objectFile & | operator= (const objectFile &rhs)=default |
objectFile & | operator= (objectFile &&rhs)=default |
virtual | ~objectFile ()=default |
virtual const word & | name () const |
virtual const fileSystem & | localPath () const |
readFlag | rFlag () const |
writeFlag | wFlag () const |
bool | isReadAlways () const |
bool | isReadNever () const |
bool | isReadIfPresent () const |
bool | isWriteAlways () const |
bool | isWriteNever () const |
bool | readWriteHeader () const |
Private Attributes | |
box | meshBox_ |
int32x3 | numCells_ |
realx3 | dx_ |
Additional Inherited Members | |
![]() | |
enum | readFlag { READ_ALWAYS, READ_NEVER, READ_IF_PRESENT } |
enum | writeFlag { WRITE_ALWAYS, WRITE_NEVER } |
![]() | |
uniquePtr< iFstream > | inStream () const |
uniquePtr< oFstream > | outStream () const |
uniquePtr< oFstream > | dummyOutStream () const |
![]() | |
word | objectName_ |
word | objectType_ |
word | fileFormat_ = "ASCII" |
file format read from file More... | |
Definition at line 34 of file rectangleMesh.hpp.
rectangleMesh | ( | const box & | mshBox, |
int32 | nx, | ||
int32 | ny, | ||
int32 | nz, | ||
repository * | rep | ||
) |
Definition at line 5 of file rectangleMesh.cpp.
References pFlow::endl(), fatalErrorInFunction, fatalExit, pFlow::algorithms::KOKKOS::max(), box::maxPoint(), and box::minPoint().
rectangleMesh | ( | const dictionary & | dict, |
repository * | rep | ||
) |
Definition at line 41 of file rectangleMesh.cpp.
|
default |
|
default |
|
overridedefault |
TypeInfo | ( | "rectangleMesh" | ) |
|
default |
|
default |
|
inline |
Definition at line 72 of file rectangleMesh.hpp.
References rectangleMesh::numCells_, triple< T >::x_, triple< T >::y_, and triple< T >::z_.
Referenced by rectMeshField< int32 >::size().
|
inline |
Definition at line 77 of file rectangleMesh.hpp.
References rectangleMesh::numCells_, and triple< T >::x().
Referenced by cellMapper::allocateArrays(), pointRectCell::mapPOints(), rectMeshField< int32 >::nx(), and rectangleMesh::writeToVtk().
|
inline |
Definition at line 82 of file rectangleMesh.hpp.
References rectangleMesh::numCells_, and triple< T >::y().
Referenced by cellMapper::allocateArrays(), pointRectCell::mapPOints(), rectMeshField< int32 >::ny(), and rectangleMesh::writeToVtk().
|
inline |
Definition at line 87 of file rectangleMesh.hpp.
References rectangleMesh::numCells_, and triple< T >::z().
Referenced by cellMapper::allocateArrays(), pointRectCell::mapPOints(), rectMeshField< int32 >::nz(), and rectangleMesh::writeToVtk().
|
inline |
Definition at line 92 of file rectangleMesh.hpp.
References rectangleMesh::dx_, triple< T >::x_, triple< T >::y_, and triple< T >::z_.
Referenced by rectMeshField< int32 >::cellVol().
|
inline |
Definition at line 97 of file rectangleMesh.hpp.
References rectangleMesh::meshBox_, and box::minPoint().
Referenced by rectangleMesh::writeToVtk().
|
inline |
Definition at line 102 of file rectangleMesh.hpp.
References box::maxPoint(), and rectangleMesh::meshBox_.
Definition at line 108 of file rectangleMesh.hpp.
References rectangleMesh::dx_, box::isInside(), rectangleMesh::meshBox_, and box::minPoint().
Implements IOobject.
Definition at line 121 of file rectangleMesh.hpp.
References notImplementedFunction.
Implements IOobject.
Definition at line 127 of file rectangleMesh.hpp.
References notImplementedFunction.
|
inline |
Definition at line 133 of file rectangleMesh.hpp.
References rectangleMesh::dx_, pFlow::endl(), rectangleMesh::minPoint(), rectangleMesh::nx(), rectangleMesh::ny(), and rectangleMesh::nz().
|
private |
Definition at line 40 of file rectangleMesh.hpp.
Referenced by rectangleMesh::isInsideIndex(), rectangleMesh::maxPoint(), and rectangleMesh::minPoint().
|
private |
Definition at line 42 of file rectangleMesh.hpp.
Referenced by rectangleMesh::nx(), rectangleMesh::ny(), rectangleMesh::nz(), and rectangleMesh::size().
|
private |
Definition at line 44 of file rectangleMesh.hpp.
Referenced by rectangleMesh::cellVol(), rectangleMesh::isInsideIndex(), and rectangleMesh::writeToVtk().