Mesh consisting of general polyhedral cells. More...
Public Types | |
enum | readUpdateState { UNCHANGED, POINTS_MOVED, TOPO_CHANGE, TOPO_PATCH_CHANGE } |
enum | cellDecomposition { FACE_PLANES, FACE_CENTRE_TRIS, FACE_DIAG_TRIS, CELL_TETS } |
typedef polyMesh | Mesh |
typedef polyBoundaryMesh | BoundaryMesh |
![]() | |
enum | objectState : char { GOOD, BAD } |
enum | readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ } |
enum | writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 } |
enum | fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster } |
![]() | |
typedef HashTable< T, Key, Hash > | this_type |
typedef Key | key_type |
typedef T | mapped_type |
typedef T | value_type |
typedef Hash | hasher |
typedef T * | pointer |
typedef T & | reference |
typedef label | difference_type |
typedef label | size_type |
using | key_iterator = key_iterator_base< iterator > |
using | const_key_iterator = key_iterator_base< const_iterator > |
Public Member Functions | |
TypeName ("polyMesh") | |
polyMesh (const IOobject &io, const bool doInit=true) | |
polyMesh (const IOobject &io, const zero, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, faceList &&faces, labelList &&owner, labelList &&neighbour, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, faceList &&faces, cellList &&cells, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const wordList &boundaryPatchTypes, const word &defaultBoundaryPatchName, const word &defaultBoundaryPatchType, const wordList &boundaryPatchPhysicalTypes, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const PtrList< dictionary > &boundaryDicts, const word &defaultBoundaryPatchName, const word &defaultBoundaryPatchType, const bool syncPar=true) | |
virtual | ~polyMesh () |
virtual const fileName & | dbDir () const |
fileName | meshDir () const |
const fileName & | pointsInstance () const |
const fileName & | facesInstance () const |
void | setInstance (const fileName &instance, const IOobject::writeOption wOpt=IOobject::AUTO_WRITE) |
virtual const pointField & | points () const |
virtual bool | upToDatePoints (const regIOobject &io) const |
virtual void | setUpToDatePoints (regIOobject &io) const |
virtual const faceList & | faces () const |
virtual const labelList & | faceOwner () const |
virtual const labelList & | faceNeighbour () const |
virtual const pointField & | oldPoints () const |
virtual const pointField & | oldCellCentres () const |
const polyBoundaryMesh & | boundaryMesh () const |
const boundBox & | bounds () const |
const Vector< label > & | geometricD () const |
label | nGeometricD () const |
const Vector< label > & | solutionD () const |
label | nSolutionD () const |
const labelIOList & | tetBasePtIs () const |
const indexedOctree< treeDataCell > & | cellTree () const |
const pointZoneMesh & | pointZones () const noexcept |
const faceZoneMesh & | faceZones () const noexcept |
const cellZoneMesh & | cellZones () const noexcept |
const globalMeshData & | globalData () const |
label | comm () const noexcept |
label & | comm () noexcept |
const objectRegistry & | thisDb () const noexcept |
virtual bool | dynamic () const |
bool | moving () const noexcept |
bool | moving (const bool on) noexcept |
bool | topoChanging () const noexcept |
bool | topoChanging (const bool on) noexcept |
bool | changing () const noexcept |
virtual tmp< scalarField > | movePoints (const pointField &) |
void | resetMotion () const |
pointZoneMesh & | pointZones () noexcept |
faceZoneMesh & | faceZones () noexcept |
cellZoneMesh & | cellZones () noexcept |
void | addPatches (PtrList< polyPatch > &plist, const bool validBoundary=true) |
void | addPatches (const List< polyPatch * > &p, const bool validBoundary=true) |
void | addZones (const List< pointZone * > &pz, const List< faceZone * > &fz, const List< cellZone * > &cz) |
virtual bool | init (const bool doInit) |
virtual readUpdateState | readUpdate () |
virtual void | updateMesh (const mapPolyMesh &mpm) |
void | removeBoundary () |
void | resetPrimitives (autoPtr< pointField > &&points, autoPtr< faceList > &&faces, autoPtr< labelList > &&owner, autoPtr< labelList > &&neighbour, const labelUList &patchSizes, const labelUList &patchStarts, const bool validBoundary=true) |
void | clearGeom () |
void | updateGeomPoints (pointIOField &&newPoints, autoPtr< labelIOList > &newTetBasePtIsPtr) |
void | clearAddressing (const bool isMeshUpdate=false) |
void | clearOut () |
void | clearPrimitives () |
void | clearTetBasePtIs () |
void | clearCellTree () |
void | removeFiles (const fileName &instanceDir) const |
void | removeFiles () const |
bool | hasTetBasePtIs () const |
virtual bool | checkFaceOrthogonality (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceSkewness (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkEdgeAlignment (const bool report, const Vector< label > &directions, labelHashSet *setPtr) const |
virtual bool | checkCellDeterminant (const bool report, labelHashSet *setPtr) const |
virtual bool | checkMeshMotion (const pointField &newPoints, const bool report=false, const bool detailedReport=false) const |
virtual bool | checkFaceWeight (const bool report, const scalar minWeight=0.05, labelHashSet *setPtr=nullptr) const |
virtual bool | checkVolRatio (const bool report, const scalar minRatio=0.01, labelHashSet *setPtr=nullptr) const |
void | findCellFacePt (const point &p, label &celli, label &tetFacei, label &tetPti) const |
void | findTetFacePt (const label celli, const point &p, label &tetFacei, label &tetPti) const |
bool | pointInCell (const point &p, label celli, const cellDecomposition=CELL_TETS) const |
label | findCell (const point &p, const cellDecomposition=CELL_TETS) const |
![]() | |
TypeName ("objectRegistry") | |
objectRegistry (const Time &db, const label nObjects=128) | |
objectRegistry (const IOobject &io, const label nObjects=128) | |
virtual | ~objectRegistry () |
const objectRegistry & | thisDb () const noexcept |
const objectRegistry & | parent () const noexcept |
const Time & | time () const noexcept |
bool | isTimeDb () const noexcept |
HashTable< wordHashSet > | classes () const |
template<class MatchPredicate > | |
HashTable< wordHashSet > | classes (const MatchPredicate &matchName) const |
label | count (const char *clsName) const |
template<class MatchPredicate > | |
label | count (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
label | count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
label | count (const bool strict=false) const |
template<class Type , class MatchPredicate > | |
label | count (const MatchPredicate &matchName) const |
wordList | names () const |
wordList | names (const char *clsName) const |
template<class MatchPredicate > | |
wordList | names (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
wordList | names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
wordList | names () const |
template<class Type , class MatchPredicate > | |
wordList | names (const MatchPredicate &matchName) const |
wordList | sortedNames () const |
wordList | sortedNames (const char *clsName) const |
template<class MatchPredicate > | |
wordList | sortedNames (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
wordList | sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
wordList | sortedNames () const |
template<class Type , class MatchPredicate > | |
wordList | sortedNames (const MatchPredicate &matchName) const |
const objectRegistry & | subRegistry (const word &name, const bool forceCreate=false, const bool recursive=false) const |
template<class Type > | |
HashTable< const Type * > | lookupClass (const bool strict=false) const |
template<class Type > | |
HashTable< Type * > | lookupClass (const bool strict=false) |
const regIOobject * | cfindIOobject (const word &name, const bool recursive=false) const |
bool | found (const word &name, const bool recursive=false) const |
template<class Type > | |
bool | foundObject (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type * | cfindObject (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type * | findObject (const word &name, const bool recursive=false) const |
template<class Type > | |
Type * | findObject (const word &name, const bool recursive=false) |
template<class Type > | |
Type * | getObjectPtr (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type & | lookupObject (const word &name, const bool recursive=false) const |
template<class Type > | |
Type & | lookupObjectRef (const word &name, const bool recursive=false) const |
label | getEvent () const |
bool | checkIn (regIOobject *io) const |
bool | checkIn (regIOobject &io) const |
bool | checkOut (regIOobject *io) const |
bool | checkOut (regIOobject &io) const |
bool | checkOut (const word &key) const |
void | clear () |
void | clearStorage () |
bool | erase (const iterator &iter) |
bool | erase (const word &key) |
label | erase (std::initializer_list< word > keys) |
label | erase (const UList< word > &keys) |
virtual void | rename (const word &newName) |
virtual bool | modified () const |
void | readModifiedObjects () |
virtual bool | readIfModified () |
virtual bool | writeData (Ostream &) const |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
template<class Type > | |
const Type * | lookupObjectPtr (const word &name, bool recursive=false) const |
template<class Type > | |
Type * | lookupObjectRefPtr (const word &name, bool recursive=false) const |
template<class MatchPredicate > | |
Foam::HashTable< Foam::wordHashSet > | classesImpl (const objectRegistry &list, const MatchPredicate &matchName) |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::label | countImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) |
template<class Type , class MatchPredicate > | |
Foam::label | countTypeImpl (const objectRegistry &list, const MatchPredicate &matchName) |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | namesImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName, const bool doSort) |
template<class Type , class MatchPredicate > | |
Foam::wordList | namesTypeImpl (const objectRegistry &list, const MatchPredicate &matchName, const bool doSort) |
template<class MatchPredicate > | |
Foam::HashTable< Foam::wordHashSet > | classes (const MatchPredicate &matchName) const |
template<class MatchPredicate > | |
Foam::label | count (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::label | count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type , class MatchPredicate > | |
Foam::label | count (const MatchPredicate &matchName) const |
template<class Type > | |
Foam::label | count (const bool strict) const |
template<class MatchPredicate > | |
Foam::wordList | names (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
Foam::wordList | names () const |
template<class Type , class MatchPredicate > | |
Foam::wordList | names (const MatchPredicate &matchName) const |
template<class MatchPredicate > | |
Foam::wordList | sortedNames (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
Foam::wordList | sortedNames () const |
template<class Type , class MatchPredicate > | |
Foam::wordList | sortedNames (const MatchPredicate &matchName) const |
template<class Type > | |
Foam::HashTable< const Type * > | lookupClass (const bool strict) const |
template<class Type > | |
Foam::HashTable< Type * > | lookupClass (const bool strict) |
![]() | |
TypeName ("regIOobject") | |
regIOobject (const IOobject &io, const bool isTimeObject=false) | |
regIOobject (const regIOobject &rio) | |
regIOobject (const regIOobject &rio, bool registerCopy) | |
regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
regIOobject (const IOobject &io, const regIOobject &rio) | |
virtual | ~regIOobject () |
bool | checkIn () |
bool | checkOut () |
virtual void | addWatch () |
bool | ownedByRegistry () const |
bool | store () |
void | release (const bool unregister=false) |
label | eventNo () const |
label & | eventNo () |
bool | upToDate (const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
void | setUpToDate () |
const dictionary * | findMetaData () const noexcept |
dictionary & | getMetaData () noexcept |
void | removeMetaData () |
virtual void | updateMetaData () |
virtual fileName | filePath () const |
bool | headerOk () |
Istream & | readStream (const word &, const bool valid=true) |
void | close () |
virtual bool | readData (Istream &) |
virtual bool | read () |
virtual label | addWatch (const fileName &) |
const labelList & | watchIndices () const |
labelList & | watchIndices () |
virtual bool | write (const bool valid=true) const |
virtual bool | global () const |
void | operator= (const IOobject &io) |
virtual bool | writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const |
![]() | |
TypeName ("IOobject") | |
IOobject (const IOobject &)=default | |
virtual | ~IOobject ()=default |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const IOobject &io, const objectRegistry ®istry) | |
IOobject (const IOobject &io, const word &name) | |
IOobject (const IOobject &io, readOption, writeOption) | |
autoPtr< IOobject > | clone () const |
autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
const objectRegistry & | db () const noexcept |
const Time & | time () const |
const word & | name () const noexcept |
const word & | headerClassName () const noexcept |
word & | headerClassName () noexcept |
const string & | note () const noexcept |
string & | note () noexcept |
bool | registerObject () const noexcept |
bool | registerObject (bool on) noexcept |
bool | globalObject () const noexcept |
bool | globalObject (bool on) noexcept |
unsigned | labelByteSize () const noexcept |
unsigned | scalarByteSize () const noexcept |
bool | isHeaderClassName (const word &clsName) const |
template<class Type > | |
bool | isHeaderClassName () const |
readOption | readOpt () const noexcept |
readOption | readOpt (readOption opt) noexcept |
writeOption | writeOpt () const noexcept |
writeOption | writeOpt (writeOption opt) noexcept |
word | group () const |
word | member () const |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const noexcept |
fileName & | instance () noexcept |
const fileName & | local () const noexcept |
fileName | path () const |
fileName | path (const word &instance, const fileName &local=fileName::null) const |
fileName | objectPath () const |
fileName | objectRelPath () const |
fileName | localFilePath (const word &typeName, const bool search=true) const |
fileName | globalFilePath (const word &typeName, const bool search=true) const |
IOstreamOption | parseHeader (const dictionary &headerDict) |
bool | readHeader (Istream &is) |
bool | readHeader (dictionary &headerDict, Istream &is) |
template<class Type > | |
bool | typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true) |
template<class Type > | |
void | warnNoRereading () const |
bool | writeHeader (Ostream &os) const |
bool | writeHeader (Ostream &os, const word &objectType) const |
void | writeHeader (dictionary &dict, IOstreamOption streamOpt) const |
void | writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const |
bool | good () const noexcept |
bool | bad () const noexcept |
InfoProxy< IOobject > | info () const |
void | operator= (const IOobject &io) |
readOption & | readOpt () noexcept |
writeOption & | writeOpt () noexcept |
bool & | registerObject () noexcept |
bool & | globalObject () noexcept |
template<> | |
bool | isHeaderClassName () const |
template<class StringType > | |
Foam::word | groupName (StringType base, const word &group) |
![]() | |
HashTable () | |
HashTable (const label size) | |
HashTable (Istream &is, const label size=128) | |
HashTable (const this_type &ht) | |
HashTable (this_type &&rhs) | |
HashTable (std::initializer_list< std::pair< Key, T >> list) | |
~HashTable () | |
label | capacity () const noexcept |
label | size () const noexcept |
bool | empty () const noexcept |
T & | at (const Key &key) |
const T & | at (const Key &key) const |
bool | found (const Key &key) const |
iterator | find (const Key &key) |
const_iterator | find (const Key &key) const |
const_iterator | cfind (const Key &key) const |
const T & | lookup (const Key &key, const T &deflt) const |
List< Key > | toc () const |
List< Key > | sortedToc () const |
List< Key > | sortedToc (const Compare &comp) const |
Foam::List< Key > | sortedToc (const Compare &comp) const |
List< Key > | tocKeys (const UnaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocKeys (const UnaryPredicate &pred, const bool invert) const |
List< Key > | tocValues (const UnaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocValues (const UnaryPredicate &pred, const bool invert) const |
List< Key > | tocEntries (const BinaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocEntries (const BinaryPredicate &pred, const bool invert) const |
label | countKeys (const UnaryPredicate &pred, const bool invert=false) const |
Foam::label | countKeys (const UnaryPredicate &pred, const bool invert) const |
label | countValues (const UnaryPredicate &pred, const bool invert=false) const |
Foam::label | countValues (const UnaryPredicate &pred, const bool invert) const |
label | countEntries (const BinaryPredicate &pred, const bool invert=false) const |
Foam::label | countEntries (const BinaryPredicate &pred, const bool invert) const |
bool | emplace (const Key &key, Args &&... args) |
bool | emplace_set (const Key &key, Args &&... args) |
bool | insert (const Key &key, const T &obj) |
bool | insert (const Key &key, T &&obj) |
bool | set (const Key &key, const T &obj) |
bool | set (const Key &key, T &&obj) |
bool | erase (const iterator &iter) |
bool | erase (const Key &key) |
label | erase (const HashTable< AnyType, Key, AnyHash > &other) |
label | erase (std::initializer_list< Key > keys) |
label | erase (InputIter first, InputIter last) |
label | erase (const FixedList< Key, N > &keys) |
label | erase (const UList< Key > &keys) |
Foam::label | erase (InputIter first, InputIter last) |
Foam::label | erase (const FixedList< Key, N > &keys) |
Foam::label | erase (const HashTable< AnyType, Key, AnyHash > &other) |
label | retain (const HashTable< AnyType, Key, AnyHash > &other) |
Foam::label | retain (const HashTable< AnyType, Key, AnyHash > &other) |
label | filterKeys (const UnaryPredicate &pred, const bool pruning=false) |
Foam::label | filterKeys (const UnaryPredicate &pred, const bool pruning) |
label | filterValues (const UnaryPredicate &pred, const bool pruning=false) |
Foam::label | filterValues (const UnaryPredicate &pred, const bool pruning) |
label | filterEntries (const BinaryPredicate &pred, const bool pruning=false) |
Foam::label | filterEntries (const BinaryPredicate &pred, const bool pruning) |
void | resize (const label sz) |
void | clear () |
void | clearStorage () |
void | swap (HashTable< T, Key, Hash > &rhs) |
void | transfer (HashTable< T, Key, Hash > &rhs) |
T & | operator[] (const Key &key) |
const T & | operator[] (const Key &key) const |
T & | operator() (const Key &key) |
T & | operator() (const Key &key, const T &deflt) |
void | operator= (const this_type &rhs) |
void | operator= (std::initializer_list< std::pair< Key, T >> rhs) |
void | operator= (this_type &&rhs) |
bool | operator== (const this_type &rhs) const |
bool | operator!= (const this_type &rhs) const |
this_type & | operator+= (const this_type &rhs) |
const_iterator_pair< const_key_iterator, this_type > | keys () const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () noexcept |
const_iterator | end () const noexcept |
constexpr const_iterator | cend () const noexcept |
Ostream & | printInfo (Ostream &os) const |
Ostream & | writeKeys (Ostream &os, const label shortLen=0) const |
![]() | |
ClassName ("primitiveMesh") | |
primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) | |
virtual | ~primitiveMesh () |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &cells) |
void | resetGeometry (pointField &&faceCentres, pointField &&faceAreas, pointField &&cellCentres, scalarField &&cellVolumes) |
label | nPoints () const noexcept |
label | nEdges () const |
label | nFaces () const noexcept |
label | nCells () const noexcept |
label | nInternalFaces () const noexcept |
label | nBoundaryFaces () const noexcept |
label | nInternalPoints () const noexcept |
label | nInternal0Edges () const |
label | nInternal1Edges () const |
label | nInternalEdges () const |
const cellShapeList & | cellShapes () const |
const edgeList & | edges () const |
const labelListList & | cellCells () const |
const labelListList & | edgeCells () const |
const labelListList & | pointCells () const |
const cellList & | cells () const |
const labelListList & | edgeFaces () const |
const labelListList & | pointFaces () const |
const labelListList & | cellEdges () const |
const labelListList & | faceEdges () const |
const labelListList & | pointEdges () const |
const labelListList & | pointPoints () const |
const labelListList & | cellPoints () const |
const vectorField & | cellCentres () const |
const vectorField & | faceCentres () const |
const scalarField & | cellVolumes () const |
const vectorField & | faceAreas () const |
tmp< scalarField > | movePoints (const pointField &p, const pointField &oldP) |
bool | isInternalFace (const label faceIndex) const noexcept |
virtual bool | checkUpperTriangular (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkCellsZipUp (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceVertices (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkPoints (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceFaces (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkClosedBoundary (const bool report=false) const |
virtual bool | checkClosedCells (const bool report=false, labelHashSet *setPtr=nullptr, labelHashSet *highAspectSetPtr=nullptr, const Vector< label > &solutionD=Vector< label >::one) const |
virtual bool | checkFaceAreas (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkCellVolumes (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFacePyramids (const bool report=false, const scalar minPyrVol=-SMALL, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceAngles (const bool report=false, const scalar maxSin=10, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceFlatness (const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
virtual bool | checkPointNearness (const bool report, const scalar reportDistSqr, labelHashSet *setPtr=nullptr) const |
virtual bool | checkEdgeLength (const bool report, const scalar minLenSqr, labelHashSet *setPtr=nullptr) const |
virtual bool | checkConcaveCells (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkTopology (const bool report=false) const |
virtual bool | checkGeometry (const bool report=false) const |
virtual bool | checkMesh (const bool report=false) const |
bool | pointInCellBB (const point &p, label celli, scalar inflationFraction=0) const |
bool | pointInCell (const point &p, label celli) const |
label | findNearestCell (const point &location) const |
label | findCell (const point &location) const |
void | printAllocated () const |
bool | hasCellShapes () const noexcept |
bool | hasEdges () const noexcept |
bool | hasCellCells () const noexcept |
bool | hasEdgeCells () const noexcept |
bool | hasPointCells () const noexcept |
bool | hasCells () const noexcept |
bool | hasEdgeFaces () const noexcept |
bool | hasPointFaces () const noexcept |
bool | hasCellEdges () const noexcept |
bool | hasFaceEdges () const noexcept |
bool | hasPointEdges () const noexcept |
bool | hasPointPoints () const noexcept |
bool | hasCellPoints () const noexcept |
bool | hasCellCentres () const noexcept |
bool | hasFaceCentres () const noexcept |
bool | hasCellVolumes () const noexcept |
bool | hasFaceAreas () const noexcept |
const labelList & | cellCells (const label celli, DynamicList< label > &) const |
const labelList & | cellCells (const label celli) const |
const labelList & | cellPoints (const label celli, labelHashSet &, DynamicList< label > &) const |
const labelList & | cellPoints (const label celli) const |
const labelList & | pointCells (const label pointi, DynamicList< label > &) const |
const labelList & | pointCells (const label pointi) const |
const labelList & | pointPoints (const label pointi, DynamicList< label > &) const |
const labelList & | pointPoints (const label pointi) const |
const labelList & | faceEdges (const label facei, DynamicList< label > &) const |
const labelList & | faceEdges (const label facei) const |
const labelList & | edgeFaces (const label edgeI, DynamicList< label > &) const |
const labelList & | edgeFaces (const label edgeI) const |
const labelList & | edgeCells (const label edgeI, DynamicList< label > &) const |
const labelList & | edgeCells (const label edgeI) const |
const labelList & | cellEdges (const label celli, labelHashSet &, DynamicList< label > &) const |
const labelList & | cellEdges (const label celli) const |
virtual void | updateGeom () |
void | clearGeom () |
void | clearCellGeom () |
void | clearAddressing () |
void | clearOut () |
Static Public Attributes | |
static word | defaultRegion = "region0" |
static word | meshSubDir = "polyMesh" |
![]() | |
static const Enum< fileCheckTypes > | fileCheckTypesNames |
static char | scopeSeparator |
static fileCheckTypes | fileModificationChecking |
static float | fileModificationSkew |
static int | maxFileModificationPolls |
![]() | |
static const unsigned | cellsPerEdge_ = 4 |
static const unsigned | cellsPerPoint_ = 8 |
static const unsigned | facesPerCell_ = 6 |
static const unsigned | facesPerEdge_ = 4 |
static const unsigned | facesPerPoint_ = 12 |
static const unsigned | edgesPerCell_ = 12 |
static const unsigned | edgesPerFace_ = 4 |
static const unsigned | edgesPerPoint_ = 6 |
static const unsigned | pointsPerCell_ = 8 |
static const unsigned | pointsPerFace_ = 4 |
Additional Inherited Members | |
![]() | |
template<class Type > | |
static Type & | store (Type *p) |
template<class Type > | |
static Type & | store (autoPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (autoPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &&ptr) |
![]() | |
static bool | bannerEnabled () noexcept |
static bool | bannerEnabled (bool on) noexcept |
static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
template<class StringType > | |
static word | groupName (StringType base, const word &group) |
static word | group (const word &name) |
static word | member (const word &name) |
static word | scopedName (const std::string &scope, const word &name) |
static IOobject | selectIO (const IOobject &io, const fileName &altFile, const word &ioName="") |
static Ostream & | writeBanner (Ostream &os, const bool noSyntaxHint=false) |
static Ostream & | writeDivider (Ostream &os) |
static Ostream & | writeEndDivider (Ostream &os) |
![]() | |
static void | calcCells (cellList &, const labelUList &own, const labelUList &nei, const label nCells=-1) |
static bool | calcPointOrder (label &nInternalPoints, labelList &pointMap, const faceList &, const label nInternalFaces, const label nPoints) |
static scalar | setClosedThreshold (const scalar) |
static scalar | setAspectThreshold (const scalar) |
static scalar | setNonOrthThreshold (const scalar) |
static scalar | setSkewThreshold (const scalar) |
![]() | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
![]() | |
bool | readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName) |
![]() | |
void | setBad (const string &s) |
![]() | |
bool | iterator_erase (node_type *&entry, label &index) |
![]() | |
void | calcFaceCentresAndAreas () const |
void | calcCellCentresAndVols () const |
void | calcEdgeVectors () const |
bool | checkDuplicateFaces (const label, const Map< label > &, label &nBaffleFaces, labelHashSet *) const |
bool | checkCommonOrder (const label, const Map< label > &, labelHashSet *) const |
bool | checkClosedBoundary (const vectorField &areas, const bool report, const bitSet &internalOrCoupledFaces) const |
bool | checkClosedCells (const vectorField &faceAreas, const scalarField &cellVolumes, const bool report, labelHashSet *setPtr, labelHashSet *aspectSetPtr, const Vector< label > &meshD) const |
bool | checkFaceAreas (const vectorField &faceAreas, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
bool | checkCellVolumes (const scalarField &vols, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
bool | checkFaceOrthogonality (const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
bool | checkFacePyramids (const pointField &points, const vectorField &ctrs, const bool report, const bool detailedReport, const scalar minPyrVol, labelHashSet *setPtr) const |
bool | checkFaceSkewness (const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
bool | checkFaceAngles (const pointField &points, const vectorField &faceAreas, const bool report, const scalar maxDeg, labelHashSet *setPtr) const |
bool | checkFaceFlatness (const pointField &points, const vectorField &faceCentres, const vectorField &faceAreas, const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
bool | checkConcaveCells (const vectorField &fAreas, const pointField &fCentres, const bool report, labelHashSet *setPtr) const |
primitiveMesh () | |
![]() | |
static void | writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr) |
static void | writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr) |
![]() | |
static bool | masterOnlyReading = false |
![]() | |
static scalar | closedThreshold_ = 1.0e-6 |
static scalar | aspectThreshold_ = 1000 |
static scalar | nonOrthThreshold_ = 70 |
static scalar | skewThreshold_ = 4 |
static scalar | planarCosAngle_ = 1.0e-6 |
Definition at line 306 of file polyMesh.H.
typedef polyBoundaryMesh BoundaryMesh |
Definition at line 307 of file polyMesh.H.
enum readUpdateState |
Enumerator | |
---|---|
UNCHANGED | |
POINTS_MOVED | |
TOPO_CHANGE | |
TOPO_PATCH_CHANGE |
Definition at line 86 of file polyMesh.H.
enum cellDecomposition |
Enumerator | |
---|---|
FACE_PLANES | |
FACE_CENTRE_TRIS | |
FACE_DIAG_TRIS | |
CELL_TETS |
Definition at line 96 of file polyMesh.H.
Definition at line 166 of file polyMesh.C.
References Foam::endl(), IOobject::headerClassName(), polyMesh::init(), polyMesh::meshDir(), polyMesh::meshSubDir, IOobject::MUST_READ, primitiveMesh::nCells(), IOobject::NO_WRITE, primitiveMesh::nPoints(), Foam::returnReduce(), objectRegistry::time(), WarningInFunction, and regIOobject::write().
Definition at line 704 of file polyMesh.C.
polyMesh | ( | const IOobject & | io, |
pointField && | points, | ||
faceList && | faces, | ||
labelList && | owner, | ||
labelList && | neighbour, | ||
const bool | syncPar = true |
||
) |
Definition at line 381 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), and Foam::min().
polyMesh | ( | const IOobject & | io, |
pointField && | points, | ||
faceList && | faces, | ||
cellList && | cells, | ||
const bool | syncPar = true |
||
) |
Definition at line 535 of file polyMesh.C.
References Foam::abort(), cells, Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), and Foam::min().
polyMesh | ( | const IOobject & | io, |
pointField && | points, | ||
const cellShapeList & | shapes, | ||
const faceListList & | boundaryFaces, | ||
const wordList & | boundaryPatchNames, | ||
const wordList & | boundaryPatchTypes, | ||
const word & | defaultBoundaryPatchName, | ||
const word & | defaultBoundaryPatchType, | ||
const wordList & | boundaryPatchPhysicalTypes, | ||
const bool | syncPar = true |
||
) |
Definition at line 439 of file polyMeshFromShapeMesh.C.
References cells, Foam::expressions::patchExpr::debug, DebugInfo, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, polyPatch::New(), Foam::reduce(), and WarningInFunction.
polyMesh | ( | const IOobject & | io, |
pointField && | points, | ||
const cellShapeList & | shapes, | ||
const faceListList & | boundaryFaces, | ||
const wordList & | boundaryPatchNames, | ||
const PtrList< dictionary > & | boundaryDicts, | ||
const word & | defaultBoundaryPatchName, | ||
const word & | defaultBoundaryPatchType, | ||
const bool | syncPar = true |
||
) |
Definition at line 722 of file polyMeshFromShapeMesh.C.
References boundaryDicts, cells, Foam::expressions::patchExpr::debug, DebugInfo, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, Foam::name(), polyPatch::New(), Foam::reduce(), dictionary::set(), Foam::type(), and WarningInFunction.
|
virtual |
Definition at line 813 of file polyMesh.C.
TypeName | ( | "polyMesh" | ) |
|
virtual |
Reimplemented from objectRegistry.
Definition at line 822 of file polyMesh.C.
References objectRegistry::dbDir().
Referenced by topoSet::findIOobject(), faMesh::meshDir(), sensitivitySurface::smoothSensitivities(), and cellCellStencil::zoneID().
Foam::fileName meshDir | ( | ) | const |
Definition at line 833 of file polyMesh.C.
Referenced by points0MotionSolver::points0IO(), polyMesh::polyMesh(), and polyMesh::readUpdate().
const Foam::fileName & pointsInstance | ( | ) | const |
Definition at line 839 of file polyMesh.C.
Referenced by timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), meshRefinement::findRegions(), isoSurfacePoint::isoSurfacePoint(), fvMesh::makeSf(), averageNeighbourFvGeometryScheme::movePoints(), faMesh::pointsInstance(), polyMesh::readUpdate(), shortestPathSet::shortestPathSet(), and shapeOptimisation::updateDesignVariables().
const Foam::fileName & facesInstance | ( | ) | const |
Definition at line 845 of file polyMesh.C.
Referenced by attachPolyTopoChanger::attach(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), faMesh::facesInstance(), topoSet::findIOobject(), polyMesh::readUpdate(), processorMeshes::removeFiles(), topoSet::removeFiles(), refinementHistory::removeFiles(), hexRef8::removeFiles(), meshRefinement::removeFiles(), manualRenumber::renumber(), hexRef8Data::updateMesh(), and cellCellStencil::zoneID().
void setInstance | ( | const fileName & | instance, |
const IOobject::writeOption | wOpt = IOobject::AUTO_WRITE |
||
) |
Definition at line 29 of file polyMeshIO.C.
References DebugInFunction, and Foam::endl().
Referenced by snappyLayerDriver::addLayers(), attachPolyTopoChanger::attach(), polyMesh::readUpdate(), and polyMesh::updateMesh().
|
virtual |
Implements primitiveMesh.
Definition at line 1062 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by polyMeshAdder::add(), sensitivitySurface::addGeometricSens(), snappyLayerDriver::addLayers(), polyTopoChange::addMesh(), polyDualMesh::calcFeatures(), meshRefinement::calculateEdgeWeights(), deltaBoundary::cellCenters_d(), polyTopoChange::changeMesh(), layerAdditionRemoval::changeTopology(), pointZone::checkParallelSync(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), distanceSurface::createGeometry(), volumetricBSplinesMotionSolver::curPoints(), geomCellLooper::cut(), faceCoupleInfo::faceCoupleInfo(), FaceInteraction< CloudType >::FaceInteraction(), mappedPatchBase::facePoint(), tetIndices::faceTri(), sensitivitySurfacePoints::finalisePointSensitivities(), localPointRegion::findDuplicateFaces(), mappedPatchBase::findLocalSamples(), searchableExtrudedCircle::findParametricNearest(), polyMeshAdder::findSharedPoints(), Foam::getMeshPointRef(), searchableExtrudedCircle::getNormal(), globalIndexAndTransform::globalIndexAndTransform(), volPointInterpolation::interpolateDimensionedInternalField(), wallBoundedParticle::isTriAlongTrack(), meshRefinement::makePatch(), meshToMeshMethod::maskCells(), polyMeshAdder::mergePoints(), cyclicACMIFvPatch::movePoints(), stabilisedFvGeometryScheme::movePoints(), highAspectRatioFvGeometryScheme::movePoints(), averageNeighbourFvGeometryScheme::movePoints(), faMesh::movePoints(), zoneCellStencils::nonEmptyFacesPatch(), treeDataCell::findIntersectOp::operator()(), tetOverlapVolume::overlappingCells(), cuttingPlane::performCut(), pointHistory::pointHistory(), fvMeshDistribute::printMeshInfo(), boundaryMesh::read(), laplacianMotionSolver::setBoundaryConditions(), elasticityMotionSolver::setBoundaryConditions(), edgeFaceCirculator::setCanonical(), fvMeshSubset::setCellSubset(), motionSmootherAlgo::setDisplacement(), boundaryMesh::setFeatureEdges(), perfectInterface::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), shortestPathSet::shortestPathSet(), Foam::simpleGeometricFilter(), syncTools::syncEdgeList(), meshRefinement::testSyncPointList(), tetIndices::tet(), blockMesh::topology(), wallBoundedParticle::trackFaceTri(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), dynamicMotionSolverListFvMesh::update(), trackingInverseDistance::update(), inverseDistance::update(), shapeOptimisation::updateDesignVariables(), PointIntegrateData::updateEdge(), pointEdgePoint::updateEdge(), points0MotionSolver::updateMesh(), pointEdgePoint::updatePoint(), velocityDisplacementMotionSolver::velocityDisplacementMotionSolver(), wallLayerCells::wallLayerCells(), ensightCells::write(), meshToMeshMethod::writeConnectivity(), pointBitSet::writeDebug(), and pointSet::writeDebug().
|
virtual |
Definition at line 1075 of file polyMesh.C.
References regIOobject::upToDate().
|
virtual |
Definition at line 1081 of file polyMesh.C.
References regIOobject::eventNo().
|
virtual |
Implements primitiveMesh.
Definition at line 1087 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by polyMeshAdder::add(), cyclicAMIPolyPatch::addAMIFaces(), sensitivitySurface::addGeometricSens(), snappyLayerDriver::addLayers(), polyTopoChange::addMesh(), nearWallFields::calcAddressing(), polyDualMesh::calcFeatures(), deltaBoundary::cellCenters_d(), layerAdditionRemoval::changeTopology(), primitiveMeshGeometry::checkFaceAngles(), polyMeshGeometry::checkFaceAngles(), polyMeshGeometry::checkFaceFlatness(), primitiveMeshGeometry::checkFacePyramids(), polyMeshGeometry::checkFacePyramids(), primitiveMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkTriangleTwist(), inversePointDistanceDiffusivity::correct(), wallBoundedParticle::crossDiagonalEdge(), wallBoundedParticle::crossEdgeConnectedFace(), wallBoundedParticle::currentEdge(), decompositionMethod::decompose(), directionInfo::edgeToFaceIndex(), faceCoupleInfo::faceCoupleInfo(), FaceInteraction< CloudType >::FaceInteraction(), mappedPatchBase::facePoint(), tetIndices::faceTriIs(), sensitivitySurfacePoints::finalisePointSensitivities(), localPointRegion::findDuplicateFaces(), sampledSet::findNearFace(), dynamicMultiMotionSolverFvMesh::init(), prismMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), meshRefinement::makePatch(), meshToMeshMethod::maskCells(), degenerateMatcher::match(), prismMatcher::matches(), wedgeMatcher::matches(), tetWedgeMatcher::matches(), hexMatcher::matches(), tetMatcher::matches(), pyrMatcher::matches(), polyMeshAdder::mergePoints(), averageNeighbourFvGeometryScheme::movePoints(), zoneCellStencils::nonEmptyFacesPatch(), treeDataCell::findIntersectOp::operator()(), FaceInteraction< CloudType >::postFace(), particle< Type >::procTetPt(), edgeFaceCirculator::sameOrder(), edgeFaceCirculator::setCanonical(), fvMeshSubset::setCellSubset(), lumpedPointMovement::setPatchControl(), perfectInterface::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), shortestPathSet::shortestPathSet(), syncTools::syncEdgeMap(), tetMatcher::test(), pyrMatcher::test(), hexMatcher::test(), blockMesh::topology(), tetIndices::triIs(), directionInfo::updateCell(), wallLayerCells::wallLayerCells(), meshToMeshMethod::writeConnectivity(), and lumpedPointMovement::writeZonesVTP().
|
virtual |
Implements primitiveMesh.
Definition at line 1100 of file polyMesh.C.
Referenced by polyMeshAdder::add(), cyclicAMIPolyPatch::addAMIFaces(), polyTopoChange::addMesh(), polyMeshGeometry::affectedCells(), snappySnapDriver::avgCellCentres(), decompositionMethod::calcCellCells(), polyDualMesh::calcFeatures(), edgeFaceCirculator::cellLabel(), primitiveMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceDotProduct(), primitiveMeshGeometry::checkFacePyramids(), polyMeshGeometry::checkFacePyramids(), primitiveMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), primitiveMeshGeometry::checkFaceWeights(), polyMeshGeometry::checkFaceWeights(), polyMeshGeometry::checkVolRatio(), cellDistFuncs::correctBoundaryFaceCells(), decompositionMethod::decompose(), mappedPatchBase::facePoint(), tetIndices::faceTriIs(), sampledSet::getBoundaryCell(), sampledSet::getNeighbourCell(), cellCellStencil::globalCellCells(), cellToCellStencil::insertFaceCells(), cellToFaceStencil::insertFaceCells(), prismMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), fvMeshAdder::MapSurfaceField(), Foam::markGrowFaceCellFace(), degenerateMatcher::match(), wedgeMatcher::matches(), tetWedgeMatcher::matches(), prismMatcher::matches(), tetMatcher::matches(), pyrMatcher::matches(), hexMatcher::matches(), polyMeshAdder::mergePoints(), edgeFaceCirculator::operator++(), sampledSet::pointInCell(), particle< Type >::procTetPt(), sampledSet::pushIn(), undoableMeshCutter::removeSplitFaces(), SloanRenumber::renumber(), edgeFaceCirculator::setCanonical(), fvMeshSubset::setCellSubset(), perfectInterface::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), blockMesh::topology(), and tetIndices::triIs().
|
virtual |
Implements primitiveMesh.
Definition at line 1106 of file polyMesh.C.
Referenced by polyMeshAdder::add(), addPatchCellLayer::addedCells(), polyTopoChange::addMesh(), polyMeshGeometry::affectedCells(), decompositionMethod::calcCellCells(), edgeFaceCirculator::cellLabel(), primitiveMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceDotProduct(), primitiveMeshGeometry::checkFacePyramids(), polyMeshGeometry::checkFacePyramids(), primitiveMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), primitiveMeshGeometry::checkFaceWeights(), polyMeshGeometry::checkFaceWeights(), polyMeshGeometry::checkVolRatio(), decompositionMethod::decompose(), sampledSet::getNeighbourCell(), cellCellStencil::globalCellCells(), cellToCellStencil::insertFaceCells(), cellToFaceStencil::insertFaceCells(), Foam::markGrowFaceCellFace(), polyMeshAdder::mergePoints(), edgeFaceCirculator::operator++(), undoableMeshCutter::removeSplitFaces(), SloanRenumber::renumber(), edgeFaceCirculator::setCanonical(), fvMeshSubset::setCellSubset(), perfectInterface::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), and blockMesh::topology().
|
virtual |
Implements primitiveMesh.
Definition at line 1112 of file polyMesh.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and WarningInFunction.
Referenced by attachPolyTopoChanger::attach(), and tetIndices::oldFaceTri().
|
virtual |
Definition at line 1134 of file polyMesh.C.
|
inline |
Definition at line 440 of file polyMesh.H.
Referenced by fvMeshAdder::add(), polyMeshAdder::add(), snappyRefineDriver::addFaceZones(), sensitivitySurface::addGeometricSens(), snappyLayerDriver::addLayers(), polyTopoChange::addMesh(), meshRefinement::addPatch(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), mappedPatchBase::AMI(), meshRefinement::appendPatch(), lumpedPointMovement::areas(), sensitivitySurfacePoints::assembleSensitivities(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), attachPolyTopoChanger::attach(), patchMeshWriter::beginPiece(), extrudePatchMesh::bottomPatch(), decompositionMethod::calcCellCells(), addPatchCellLayer::calcExtrudeInfo(), polyDualMesh::calcFeatures(), snappySnapDriver::calcNearestSurface(), deltaBoundary::cellCenters_d(), polyTopoChange::changeMesh(), polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), faceZone::checkParallelSync(), polyMeshGeometry::checkVolRatio(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), patchInjection::correct(), cellDistFuncs::correctBoundaryFaceCells(), cellDistFuncs::correctBoundaryPointCells(), Foam::createZeroBoundaryPointFieldPtr(), curvatureSeparation::curvatureSeparation(), structuredDecomp::decompose(), decompositionMethod::decompose(), directions::directions(), snappyLayerDriver::doLayers(), extrudePatchMesh::extrudePatchMesh(), FacePostProcessing< CloudType >::FacePostProcessing(), localPointRegion::findDuplicateFacePairs(), meshRefinement::findRegions(), lumpedPointMovement::forcesAndMoments(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), cellDistFuncs::getPatchIDs(), globalIndexAndTransform::globalIndexAndTransform(), Sampled< Type >::haveSampleField(), isoSurfaceBase::ignoreCyclics(), fvBoundaryMesh::indices(), injectionModelList::info(), transferModelList::info(), objectivePtLosses::initialize(), SurfaceFilmModel< CloudType >::inject(), PDRblock::innerMesh(), interpolationCellPatchConstrained< Type >::interpolate(), regionModel::interRegionAMI(), mappedPatchBase::lookupMesh(), mappedPatchBase::lookupPatch(), polyTopoChange::makeMesh(), meshRefinement::makePatch(), mappedPatchBase::map(), Foam::MapConsistentSubMesh(), volSurfaceMapping::mapInternalToSurface(), mappedPatchFieldBase< scalar >::mappedField(), mapPolyMesh::mapPolyMesh(), volSurfaceMapping::mapToField(), volSurfaceMapping::mapToSurface(), volSurfaceMapping::mapToVolume(), cellDistFuncs::maxPatchSize(), polyMeshAdder::mergePoints(), meshReader::mesh(), regionModel::nbrCoupledPatchID(), fvMeshTools::newMesh(), zoneCellStencils::nonEmptyFacesPatch(), ParticleErosion< CloudType >::ParticleErosion(), polyMeshAdder::patchFacePairs(), sampledPatch::patchIDs(), boundaryMesh::patchify(), patchInjection::patchInjection(), patchInteractionDataList::patchInteractionDataList(), PatchParticleHistogram< CloudType >::PatchParticleHistogram(), PatchPostProcessing< CloudType >::PatchPostProcessing(), polyTopoChange::polyTopoChange(), boundaryMesh::read(), fvMeshTools::removeEmptyPatches(), RemoveParcels< CloudType >::RemoveParcels(), SloanRenumber::renumber(), fvMeshTools::reorderPatches(), snappySnapDriver::repatchToSurface(), fvFieldDecomposer::reset(), sampledCuttingPlane::sampledCuttingPlane(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), Sampled< Type >::sampleField(), mappedPatchFieldBase< scalar >::sampleField(), mappedPatchBase::samplePolyPatch(), laplacianMotionSolver::setBoundaryConditions(), elasticityMotionSolver::setBoundaryConditions(), adjointBoundaryCondition< Type >::setBoundaryContributionPtr(), fvMeshSubset::setCellSubset(), patchInjectionBase::setPositionAndCell(), perfectInterface::setRefinement(), meshCutAndRemove::setRefinement(), thermoSingleLayer::Sh(), shortestPathSet::shortestPathSet(), extrudePatchMesh::sidesPatch(), singleCellFvMesh::singleCellFvMesh(), thermalBaffle::solveEnergy(), thermoSingleLayer::Srho(), cellDistFuncs::sumPatchSize(), mappedPatchBase::surfPtr(), syncTools::swapBoundaryCellList(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), blockMesh::topology(), extrudePatchMesh::topPatch(), sampledFaceZone::update(), sampledPatch::update(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), patchInjectionBase::updateMesh(), perfectInterface::updateMesh(), attachDetach::updateMesh(), slidingInterface::updateMesh(), thermoSingleLayer::updateSurfaceTemperatures(), kinematicSingleLayer::updateSurfaceVelocities(), liquidFilmBase::Uw(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), Sampled< Type >::value(), wallLayerCells::wallLayerCells(), fieldExtents::writeFileHeader(), lumpedPointMovement::writeVTP(), and lumpedPointMovement::writeZonesVTP().
|
inline |
Definition at line 446 of file polyMesh.H.
Referenced by nearWallFields::calcAddressing(), sensitivitySurface::computeRadius(), isoSurfaceCell::isoSurfaceCell(), isoSurfaceTopo::isoSurfaceTopo(), meshToMeshMethod::maskCells(), streamLineParticle::move(), interRegionOption::setMapper(), and sampledMeshedSurface::update().
const Foam::Vector< Foam::label > & geometricD | ( | ) | const |
Definition at line 851 of file polyMesh.C.
Referenced by sensitivitySurface::computeRadius().
Foam::label nGeometricD | ( | ) | const |
Definition at line 862 of file polyMesh.C.
References Foam::cmptSum().
Referenced by sensitivitySurface::computeRadius(), InjectionModel< CloudType >::InjectionModel(), and inverseDistance::update().
const Foam::Vector< Foam::label > & solutionD | ( | ) | const |
Definition at line 868 of file polyMesh.C.
Referenced by InjectionModel< CloudType >::inject(), InjectionModel< CloudType >::injectSteadyState(), KinematicSurfaceFilm< CloudType >::splashInteraction(), and fvMesh::validComponents().
Foam::label nSolutionD | ( | ) | const |
Definition at line 879 of file polyMesh.C.
References Foam::cmptSum().
Referenced by GradientDispersionRAS< CloudType >::update().
const Foam::labelIOList & tetBasePtIs | ( | ) | const |
Definition at line 885 of file polyMesh.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), polyMeshTetDecomposition::findFaceBasePts(), IOobject::NO_WRITE, IOobject::READ_IF_PRESENT, and WarningInFunction.
Referenced by waveMethod::calculate(), wallBoundedParticle::crossEdgeConnectedFace(), wallBoundedParticle::currentEdge(), mappedPatchBase::facePoint(), mappedPatchBase::facePoints(), tetIndices::faceTriIs(), meshRefinement::findRegion(), trackingInverseDistance::markDonors(), inverseDistance::markDonors(), meshSearch::meshSearch(), and tetIndices::triIs().
const Foam::indexedOctree< Foam::treeDataCell > & cellTree | ( | ) | const |
Definition at line 919 of file polyMesh.C.
References Foam::constant::electromagnetic::e, treeBoundBox::extend(), boundBox::max(), boundBox::min(), points, rndGen, and VectorSpace< Vector< scalar >, scalar, 3 >::uniform().
Referenced by waveMethod::calculate(), mappedPatchBase::findLocalSamples(), and tetOverlapVolume::overlappingCells().
|
inlinenoexcept |
Definition at line 476 of file polyMesh.H.
Referenced by fvMeshAdder::add(), polyMeshAdder::add(), polyTopoChange::addMesh(), polyTopoChange::changeMesh(), polyTopoChange::makeMesh(), mapPolyMesh::mapPolyMesh(), blockMesh::mesh(), slidingInterface::modifyMotionPoints(), fvMeshTools::newMesh(), pointZoneSet::pointZoneSet(), polyTopoChange::polyTopoChange(), fvMeshDistribute::printMeshInfo(), and slidingInterface::updateMesh().
|
inlinenoexcept |
Definition at line 482 of file polyMesh.H.
Referenced by fvMeshAdder::add(), polyMeshAdder::add(), cyclicAMIPolyPatch::addAMIFaces(), surfaceZonesInfo::addFaceZone(), surfaceZonesInfo::addFaceZonesToMesh(), snappyLayerDriver::addLayers(), polyTopoChange::addMesh(), polyTopoChange::changeMesh(), layerAdditionRemoval::changeTopology(), meshRefinement::checkCoupledFaceZones(), extractEulerianParticles::checkFaceZone(), snappyLayerDriver::doLayers(), snappySnapDriver::doSnap(), FaceInteraction< CloudType >::FaceInteraction(), FacePostProcessing< CloudType >::FacePostProcessing(), faceZoneSet::faceZoneSet(), polyTopoChange::makeMesh(), mapPolyMesh::mapPolyMesh(), polyMeshAdder::mergePoints(), blockMesh::mesh(), slidingInterface::modifyMotionPoints(), fvMeshTools::newMesh(), polyTopoChange::polyTopoChange(), FacePostProcessing< CloudType >::postFace(), RemoveParcels< CloudType >::postFace(), FaceInteraction< CloudType >::postFace(), fvMeshDistribute::printMeshInfo(), RemoveParcels< CloudType >::RemoveParcels(), snappySnapDriver::repatchToSurface(), perfectInterface::setRefinement(), meshRefinement::subsetBaffles(), sampledFaceZone::update(), perfectInterface::updateMesh(), attachDetach::updateMesh(), slidingInterface::updateMesh(), and sampledFaceZone::zoneIDs().
|
inlinenoexcept |
Definition at line 488 of file polyMesh.H.
Referenced by fvMeshAdder::add(), polyMeshAdder::add(), surfaceZonesInfo::addCellZone(), cellTable::addCellZones(), surfaceZonesInfo::addCellZonesToMesh(), polyTopoChange::addMesh(), DarcyForchheimer::calcTransformModelData(), cellZoneSet::cellZoneSet(), polyTopoChange::changeMesh(), multiphaseMangrovesSource::dragCoeff(), dynamicMultiMotionSolverFvMesh::init(), objectiveNutSqr::J(), polyTopoChange::makeMesh(), mapPolyMesh::mapPolyMesh(), blockMesh::mesh(), fvMeshTools::newMesh(), cellTable::operator=(), polyTopoChange::polyTopoChange(), fvMeshDistribute::printMeshInfo(), multiphaseMangrovesTurbulenceModel::read(), sampledCuttingPlane::sampledCuttingPlane(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), sampledPlane::sampledPlane(), sizeDistribution::setCellZoneCells(), displacementLayeredMotionMotionSolver::solve(), objectiveNutSqr::update_divDxDbMultiplier(), objectiveNutSqr::update_dJdTMvar1(), and zeroATCcells::zeroATCcells().
const Foam::globalMeshData & globalData | ( | ) | const |
Definition at line 1288 of file polyMesh.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), and Foam::Pout.
Referenced by velocityDampingConstraint::addDamping(), addPatchCellLayer::calcExtrudeInfo(), waveMethod::calculate(), structuredDecomp::decompose(), decompositionMethod::decompose(), polyMeshAdder::findSharedPoints(), syncTools::getMasterEdges(), globalIndexAndTransform::globalIndexAndTransform(), pointBoundaryMesh::movePoints(), polyBoundaryMesh::movePoints(), patchInjection::patchInjection(), zoltanRenumber::renumber(), motionSmootherAlgo::setDisplacement(), syncTools::syncEdgeList(), syncTools::syncEdgeMap(), syncTools::syncPointList(), syncTools::syncPointMap(), pointBoundaryMesh::updateMesh(), and polyBoundaryMesh::updateMesh().
|
noexcept |
Definition at line 1306 of file polyMesh.C.
Referenced by fvMesh::comm(), and processorPolyPatch::comm().
|
noexcept |
|
inlinenoexcept |
Definition at line 503 of file polyMesh.H.
Referenced by fvMesh::thisDb().
|
inlinevirtual |
Reimplemented in dynamicFvMesh, engineMesh, and staticFvMesh.
Definition at line 512 of file polyMesh.H.
|
inlinenoexcept |
Definition at line 518 of file polyMesh.H.
Referenced by backwardDdtScheme< Type >::backwardDdtScheme(), polyMesh::changing(), CrankNicolsonDdtScheme< Type >::CrankNicolsonDdtScheme(), faMesh::moving(), and movingWallVelocityFvPatchVectorField::updateCoeffs().
Definition at line 524 of file polyMesh.H.
|
inlinenoexcept |
Definition at line 532 of file polyMesh.H.
Referenced by mappedPatchBase::AMI(), polyTopoChange::changeMesh(), polyMesh::changing(), mappedPatchBase::map(), and isoAlpha::reconstruct().
Definition at line 538 of file polyMesh.H.
|
inlinenoexcept |
Definition at line 546 of file polyMesh.H.
References polyMesh::moving(), and polyMesh::topoChanging().
Referenced by adjointRASModel::correct(), epsilonWallFunctionFvPatchScalarField::createAveragingWeights(), omegaWallFunctionFvPatchScalarField::createAveragingWeights(), and pyrolysisModelCollection::evolve().
|
virtual |
Reimplemented in fvMesh.
Definition at line 1153 of file polyMesh.C.
References IOobject::AUTO_WRITE, Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, InfoInFunction, primitiveMesh::movePoints(), Foam::nl, timeIndex, regIOobject::write(), and Foam::Zero.
Referenced by attachPolyTopoChanger::attach(), and fvMesh::movePoints().
void resetMotion | ( | ) | const |
Definition at line 1280 of file polyMesh.C.
Referenced by polyMeshAdder::add().
|
inlinenoexcept |
Definition at line 561 of file polyMesh.H.
|
inlinenoexcept |
Definition at line 567 of file polyMesh.H.
|
inlinenoexcept |
Definition at line 573 of file polyMesh.H.
Definition at line 954 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::Zero.
Referenced by polyMeshAdder::add(), attachPolyTopoChanger::attach(), PDRblock::innerMesh(), meshReader::mesh(), and blockMesh::topology().
Definition at line 1050 of file polyMesh.C.
References p.
void addZones | ( | const List< pointZone * > & | pz, |
const List< faceZone * > & | fz, | ||
const List< cellZone * > & | cz | ||
) |
Definition at line 992 of file polyMesh.C.
References Foam::abort(), IOobject::AUTO_WRITE, Foam::FatalError, FatalErrorInFunction, and forAll.
Referenced by blockMesh::mesh(), and fvMeshTools::newMesh().
Reimplemented from primitiveMesh.
Reimplemented in dynamicOversetFvMesh, interfaceTrackingFvMesh, fvMesh, dynamicRefineFvMesh, dynamicFvMesh, movingConeTopoFvMesh, dynamicMotionSolverFvMeshAMI, dynamicMultiMotionSolverFvMesh, dynamicMotionSolverFvMesh, dynamicMotionSolverTopoFvMesh, and dynamicMotionSolverListFvMesh.
Definition at line 360 of file polyMesh.C.
References primitiveMesh::init().
Referenced by fvMesh::init(), and polyMesh::polyMesh().
|
virtual |
Reimplemented in fvMesh.
Definition at line 68 of file polyMeshIO.C.
References primitiveMesh::cells(), PtrList::clear(), polyMesh::clearOut(), IOobject::clone(), Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), polyMesh::facesInstance(), forAll, IOobject::headerClassName(), Foam::Info, polyMesh::meshDir(), polyMesh::meshSubDir, IOobject::MUST_READ, IOobject::name(), polyBoundaryMesh::names(), Foam::nl, IOobject::NO_WRITE, polyMesh::POINTS_MOVED, polyMesh::pointsInstance(), IOobject::READ_IF_PRESENT, PtrList::set(), polyMesh::setInstance(), PtrList::setSize(), HashTable< regIOobject * >::size(), objectRegistry::time(), polyMesh::TOPO_CHANGE, polyMesh::TOPO_PATCH_CHANGE, polyBoundaryMesh::types(), polyMesh::UNCHANGED, polyMesh::updateGeomPoints(), polyBoundaryMesh::updateMesh(), WarningInFunction, and Foam::Zero.
Referenced by fvMesh::readUpdate().
|
virtual |
Reimplemented in fvMesh.
Definition at line 36 of file polyMeshUpdate.C.
References primitiveMesh::cellCentres(), mapPolyMesh::cellMap(), ZoneMesh::clearAddressing(), DebugInFunction, Foam::endl(), forAll, mapPolyMesh::hasMotionPoints(), Field::map(), newPointi, mapPolyMesh::pointMap(), mapPolyMesh::reversePointMap(), polyMesh::setInstance(), HashTable< regIOobject * >::size(), objectRegistry::time(), timeName, polyBoundaryMesh::updateMesh(), and Foam::Zero.
Referenced by fvMesh::updateMesh().
void removeBoundary | ( | ) |
Definition at line 32 of file polyMeshClear.C.
References PtrList::clear(), polyMesh::clearOut(), DebugInFunction, Foam::endl(), and PtrList::setSize().
Referenced by attachPolyTopoChanger::attach(), and fvMesh::removeFvBoundary().
void resetPrimitives | ( | autoPtr< pointField > && | points, |
autoPtr< faceList > && | faces, | ||
autoPtr< labelList > && | owner, | ||
autoPtr< labelList > && | neighbour, | ||
const labelUList & | patchSizes, | ||
const labelUList & | patchStarts, | ||
const bool | validBoundary = true |
||
) |
Definition at line 711 of file polyMesh.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), Foam::min(), nPoints, points, Foam::returnReduce(), and timeName.
Referenced by polyMeshAdder::add(), and polyTopoChange::changeMesh().
void clearGeom | ( | ) |
Definition at line 46 of file polyMeshClear.C.
References primitiveMesh::clearGeom(), DebugInFunction, Foam::endl(), and Foam::Zero.
void updateGeomPoints | ( | pointIOField && | newPoints, |
autoPtr< labelIOList > & | newTetBasePtIsPtr | ||
) |
Definition at line 68 of file polyMeshClear.C.
References bool, primitiveMesh::clearGeom(), meshObject::clearUpto(), DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::Zero.
Referenced by polyMesh::readUpdate().
void clearAddressing | ( | const bool | isMeshUpdate = false | ) |
Definition at line 145 of file polyMeshClear.C.
References primitiveMesh::clearAddressing(), meshObject::clearUpto(), DebugInFunction, Foam::endl(), and Foam::Zero.
void clearOut | ( | ) |
Definition at line 215 of file polyMeshClear.C.
Referenced by fvMesh::clearOut(), polyMesh::readUpdate(), and polyMesh::removeBoundary().
void clearPrimitives | ( | ) |
Definition at line 202 of file polyMeshClear.C.
void clearTetBasePtIs | ( | ) |
Definition at line 222 of file polyMeshClear.C.
References DebugInFunction, and Foam::endl().
void clearCellTree | ( | ) |
Definition at line 230 of file polyMeshClear.C.
References DebugInFunction, and Foam::endl().
void removeFiles | ( | const fileName & | instanceDir | ) | const |
Definition at line 1318 of file polyMesh.C.
References Foam::isDir(), fileName::path(), Foam::rm(), and Foam::rmDir().
Referenced by meshReader::writeMesh().
void removeFiles | ( | ) | const |
Definition at line 1342 of file polyMesh.C.
|
inline |
Definition at line 667 of file polyMesh.H.
References bool.
|
virtual |
Reimplemented from primitiveMesh.
Definition at line 634 of file polyMeshCheck.C.
|
virtual |
Reimplemented from primitiveMesh.
Definition at line 651 of file polyMeshCheck.C.
References points.
|
virtual |
Definition at line 670 of file polyMeshCheck.C.
References points.
|
virtual |
Definition at line 687 of file polyMeshCheck.C.
|
virtual |
Definition at line 733 of file polyMeshCheck.C.
References cellVols, Foam::expressions::patchExpr::debug, Foam::endl(), primitiveMeshTools::makeCellCentresAndVols(), primitiveMeshTools::makeFaceCentresAndAreas(), and Foam::Pout.
|
virtual |
Definition at line 703 of file polyMeshCheck.C.
References polyMesh::checkFaceWeight().
Referenced by polyMesh::checkFaceWeight().
|
virtual |
Definition at line 722 of file polyMeshCheck.C.
void findCellFacePt | ( | const point & | p, |
label & | celli, | ||
label & | tetFacei, | ||
label & | tetPti | ||
) | const |
Definition at line 1349 of file polyMesh.C.
References indexedOctree::findInside(), and p.
Referenced by patchInjectionBase::setPositionAndCell().
void findTetFacePt | ( | const label | celli, |
const point & | p, | ||
label & | tetFacei, | ||
label & | tetPti | ||
) | const |
Definition at line 1374 of file polyMesh.C.
References tetIndices::face(), polyMeshTetDecomposition::findTet(), mesh, p, and tetIndices::tetPt().
Referenced by nearWallFields::calcAddressing(), sampledSet::pushIn(), and patchInjectionBase::setPositionAndCell().
bool pointInCell | ( | const point & | p, |
label | celli, | ||
const cellDecomposition | decompMode = CELL_TETS |
||
) | const |
Definition at line 1390 of file polyMesh.C.
References triangle::areaNormal(), cells, triangle::centre(), f(), tetIndices::faceTri(), forAll, p, primitiveMesh::pointInCell(), and points.
Referenced by sampledSet::pointInCell().
Foam::label findCell | ( | const point & | p, |
const cellDecomposition | decompMode = CELL_TETS |
||
) | const |
Definition at line 1500 of file polyMesh.C.
References p, and UPstream::parRun().
Referenced by waveMethod::calculate(), meshRefinement::findRegion(), sampledSet::getTrackingPoint(), and inverseDistance::markDonors().
|
static |
Definition at line 314 of file polyMesh.H.
Referenced by writeFile::baseFileDir(), hydrostaticPressure::calculateAndWrite(), regIOobject::checkIn(), externalCoupled::compositeName(), polyBoundaryMesh::findPatchID(), FIREMeshReader::mesh(), meshReader::mesh(), reader::mesh(), dynamicFvMesh::New(), fvMeshTools::newMesh(), probes::prepare(), sampledSets::sampledSets(), vtkWrite::write(), and streamLineBase::writeToFile().
|
static |
Definition at line 317 of file polyMesh.H.
Referenced by refinementHistory::add(), refinementHistory::apply(), componentDisplacementMotionSolver::componentDisplacementMotionSolver(), faMeshDecomposition::decomposeMesh(), faMeshReconstructor::faMeshReconstructor(), topoSet::findIOobject(), isoSurfacePoint::isoSurfacePoint(), solidBodyMotionDisplacementPointPatchVectorField::localPoints0(), fvMesh::makeSf(), fvMeshTools::newMesh(), points0MotionSolver::points0IO(), points0MotionSolver::points0MotionSolver(), polyMesh::polyMesh(), polyMesh::readUpdate(), processorMeshes::reconstructPoints(), processorMeshes::removeFiles(), topoSet::removeFiles(), refinementHistory::removeFiles(), hexRef8::removeFiles(), meshRefinement::removeFiles(), shapeOptimisation::updateDesignVariables(), faMeshDecomposition::writeDecomposition(), and cellCellStencil::zoneID().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.