Mesh consisting of general polyhedral cells. More...


Public Types | |
| enum | readUpdateState { UNCHANGED , POINTS_MOVED , TOPO_CHANGE , TOPO_PATCH_CHANGE } |
| Enumeration defining the state of the mesh after a read update. More... | |
| enum | cellDecomposition { FACE_PLANES , FACE_CENTRE_TRIS , FACE_DIAG_TRIS , CELL_TETS } |
| Enumeration defining the decomposition of the cell for. More... | |
| typedef polyMesh | Mesh |
| typedef polyBoundaryMesh | BoundaryMesh |
Public Types inherited from IOobject | |
| enum | objectState { GOOD , BAD } |
| Enumeration defining the valid states of an IOobject. More... | |
| enum | readOption { MUST_READ , MUST_READ_IF_MODIFIED , READ_IF_PRESENT , NO_READ } |
| Enumeration defining the read options. More... | |
| enum | writeOption { AUTO_WRITE = 0 , NO_WRITE = 1 } |
| Enumeration defining the write options. More... | |
| enum | fileCheckTypes { timeStamp , timeStampMaster , inotify , inotifyMaster } |
| Enumeration defining the file checking options. More... | |
Public Types inherited from HashTable< regIOobject * > | |
| typedef regIOobject * | value_type |
| Type of values the HashTable contains. More... | |
| typedef regIOobject * & | reference |
| Type that can be used for storing into HashTable::value_type. More... | |
| typedef const regIOobject * & | const_reference |
| Type that can be used for storing into constant. More... | |
| typedef label | size_type |
| The type that can represent the size of a HashTable. More... | |
Public Member Functions | |
| TypeName ("polyMesh") | |
| Runtime type information. More... | |
| polyMesh (const IOobject &io) | |
| Construct from IOobject. More... | |
| polyMesh (const IOobject &io, pointField &&points, faceList &&faces, labelList &&owner, labelList &&neighbour, const bool syncPar=true) | |
| Move construct from IOobject or from components. More... | |
| polyMesh (const IOobject &io, pointField &&points, faceList &&faces, cellList &&cells, const bool syncPar=true) | |
| Move construct without boundary with cells rather than. More... | |
| 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) | |
| Move construct from cell shapes. More... | |
| 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) | |
| Move construct from cell shapes with patch information in dictionary. More... | |
| polyMesh (polyMesh &&) | |
| Move constructor. More... | |
| polyMesh (const polyMesh &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~polyMesh () |
| Destructor. More... | |
| fileName | meshDir () const |
| Return the local mesh directory (dbDir()/meshSubDir) More... | |
| const fileName & | pointsInstance () const |
| Return the current instance directory for points. More... | |
| const fileName & | facesInstance () const |
| Return the current instance directory for faces. More... | |
| IOobject::writeOption | pointsWriteOpt () const |
| Return the points write option. More... | |
| IOobject::writeOption | facesWriteOpt () const |
| Return the points write option. More... | |
| void | setPointsInstance (const fileName &) |
| Set the instance for the points files. More... | |
| void | setInstance (const fileName &) |
| Set the instance for mesh files. More... | |
| virtual const pointField & | points () const |
| Return raw points. More... | |
| virtual const faceList & | faces () const |
| Return raw faces. More... | |
| virtual const labelList & | faceOwner () const |
| Return face owner. More... | |
| virtual const labelList & | faceNeighbour () const |
| Return face neighbour. More... | |
| virtual const pointField & | oldPoints () const |
| Return old points for mesh motion. More... | |
| virtual const pointField & | oldCellCentres () const |
| Return old cell centres for mesh motion. More... | |
| const polyBoundaryMesh & | boundaryMesh () const |
| Return boundary mesh. More... | |
| const boundBox & | bounds () const |
| Return mesh bounding box. More... | |
| const Vector< label > & | geometricD () const |
| Return the vector of geometric directions in mesh. More... | |
| label | nGeometricD () const |
| Return the number of valid geometric dimensions in the mesh. More... | |
| const Vector< label > & | solutionD () const |
| Return the vector of solved-for directions in mesh. More... | |
| label | nSolutionD () const |
| Return the number of valid solved-for dimensions in the mesh. More... | |
| const labelIOList & | tetBasePtIs () const |
| Return the tetBasePtIs. More... | |
| const indexedOctree< treeDataCell > & | cellTree () const |
| Return the cell search tree. More... | |
| const pointZoneList & | pointZones () const |
| Return point zones. More... | |
| const faceZoneList & | faceZones () const |
| Return face zones. More... | |
| const cellZoneList & | cellZones () const |
| Return cell zones. More... | |
| const globalMeshData & | globalData () const |
| Return parallel info. More... | |
| label | comm () const |
| Return communicator used for parallel communication. More... | |
| label & | comm () |
| Return communicator used for parallel communication. More... | |
| const objectRegistry & | thisDb () const |
| Return the object registry. More... | |
| bool | moving () const |
| Is mesh moving. More... | |
| bool | topoChanged () const |
| Has the mesh topology changed this time-step. More... | |
| bool | changing () const |
| Is mesh changing. More... | |
| virtual void | setPoints (const pointField &) |
| Reset the points. More... | |
| virtual tmp< scalarField > | movePoints (const pointField &) |
| Move points, returns volumes swept by faces in motion. More... | |
| void | resetMotion () const |
| Reset motion. More... | |
| pointZoneList & | pointZones () |
| Return non-const access to the pointZones. More... | |
| faceZoneList & | faceZones () |
| Return non-const access to the faceZones. More... | |
| cellZoneList & | cellZones () |
| Return non-const access to the cellZones. More... | |
| void | addPatches (const List< polyPatch * > &, const bool validBoundary=true) |
| Add boundary patches. More... | |
| void | addZones (const List< pointZone * > &pz, const List< faceZone * > &fz, const List< cellZone * > &cz) |
| Add mesh zones. More... | |
| virtual void | addPatch (const label insertPatchi, const polyPatch &patch) |
| Add/insert single patch. More... | |
| void | addedPatches () |
| Complete addition of single patches. More... | |
| virtual void | reorderPatches (const labelUList &newToOld, const bool validBoundary) |
| Reorder and trim existing patches. If validBoundary the new. More... | |
| readUpdateState | readUpdate () |
| Update the mesh based on the mesh files saved in. More... | |
| void | topoChangeZones (const polyTopoChangeMap &) |
| Update zones using the given map. More... | |
| virtual void | topoChange (const polyTopoChangeMap &) |
| Update topology using the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &map) |
| Redistribute or update using the given distribution map. More... | |
| void | removeBoundary () |
| Remove boundary patches. More... | |
| void | resetPrimitives (pointField &&points, faceList &&faces, labelList &&owner, labelList &&neighbour, const labelList &patchSizes, const labelList &patchStarts, const bool validBoundary=true) |
| Reset mesh primitive data. Assumes all patch info correct. More... | |
| void | swap (polyMesh &) |
| Swap mesh. More... | |
| void | printAllocated () const |
| Print a list of all the currently allocated mesh data. More... | |
| void | clearGeom () |
| Clear geometry. More... | |
| void | clearAddressing (const bool isMeshUpdate=false) |
| Clear addressing. More... | |
| void | clearOut () |
| Clear all geometry and addressing unnecessary for CFD. More... | |
| void | clearPrimitives () |
| Clear primitive data (points, faces and cells) More... | |
| void | clearTetBasePtIs () |
| Clear tet base points. More... | |
| void | clearCellTree () |
| Clear cell tree data. More... | |
| void | removeFiles (const fileName &instanceDir) const |
| Remove all files from mesh instance. More... | |
| void | removeFiles () const |
| Remove all files from mesh instance() More... | |
| void | findCellFacePt (const point &p, label &celli, label &tetFacei, label &tetPti) const |
| Find the cell, tetFacei and tetPti for point p. More... | |
| void | findTetFacePt (const label celli, const point &p, label &tetFacei, label &tetPti) const |
| Find the tetFacei and tetPti for point p in celli. More... | |
| bool | pointInCell (const point &p, label celli, const cellDecomposition=CELL_TETS) const |
| Test if point p is in the celli. More... | |
| label | findCell (const point &p, const cellDecomposition=CELL_TETS) const |
| Find cell enclosing this location and return index. More... | |
| virtual bool | writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp, const bool write=true) const |
| Write the underlying polyMesh. More... | |
| void | operator= (const polyMesh &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from objectRegistry | |
| TypeName ("objectRegistry") | |
| Declare type name for this IOobject. More... | |
| objectRegistry (const Time &db, const label nIoObjects=128) | |
| Construct the time objectRegistry given an initial estimate. More... | |
| objectRegistry (const IOobject &io, const fileName &dbDir, const label nIoObjects=128) | |
| Construct a sub-registry given an IObject to describe the registry. More... | |
| objectRegistry (const IOobject &io, const label nIoObjects=128) | |
| Construct a sub-registry given an IObject to describe the registry. More... | |
| objectRegistry (objectRegistry &&)=default | |
| Move constructor. More... | |
| objectRegistry (const objectRegistry &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~objectRegistry () |
| Destructor. More... | |
| const Time & | time () const |
| Return time. More... | |
| const objectRegistry & | parent () const |
| Return the parent objectRegistry. More... | |
| const fileName & | dbDir () const |
| Local directory path of this objectRegistry relative to the time. More... | |
| fileName | path (const word &instance, const fileName &local="") const |
| Return complete path with alternative instance and local. More... | |
| wordList | toc (const word &className) const |
| Return the list of names of IOobjects of given class name. More... | |
| wordList | sortedToc (const word &className) const |
| Return the sorted list of names of IOobjects of given class name. More... | |
| template<class Type > | |
| wordList | toc () const |
| Return the list of names of the IOobjects of given type. More... | |
| template<class Type > | |
| wordList | toc (const wordRe &name) const |
| Return the list of objects whose name matches the input regExp. More... | |
| template<class Type > | |
| wordList | toc (const wordReList &name) const |
| Return the list of objects whose name matches the input regExp. More... | |
| const objectRegistry & | subRegistry (const word &name, const bool forceCreate=false) const |
| Lookup and return a const sub-objectRegistry. Optionally create. More... | |
| template<class Type > | |
| HashTable< const Type * > | lookupClass (const bool strict=false) const |
| Lookup and return all objects of the given Type. More... | |
| template<class Type > | |
| HashTable< Type * > | lookupClass (const bool strict=false) |
| Lookup and return all objects of the given Type. More... | |
| template<class Type > | |
| bool | foundObject (const word &name) const |
| Is the named Type in registry. More... | |
| template<class Type > | |
| const Type & | lookupObject (const word &name) const |
| Lookup and return the object of the given Type and name. More... | |
| template<class Type > | |
| Type & | lookupObjectRef (const word &name) const |
| Lookup and return the object reference of the given Type. More... | |
| template<class Type > | |
| bool | foundType (const word &group=word::null) const |
| Is the Type in registry. More... | |
| template<class Type > | |
| const Type & | lookupType (const word &group=word::null) const |
| Lookup and return the object of the given Type. More... | |
| label | getEvent () const |
| Return new event number. More... | |
| const objectRegistry & | thisDb () const |
| Return the object registry. More... | |
| virtual void | rename (const word &newName) |
| Rename. More... | |
| bool | checkIn (regIOobject &) const |
| Add an regIOobject to registry. More... | |
| bool | checkOut (regIOobject &) const |
| Remove an regIOobject from registry. More... | |
| void | clear () |
| Remove all regIOobject owned by the registry. More... | |
| bool | cacheTemporaryObject (const word &name) const |
| Return true if given name is in the cacheTemporaryObjects set. More... | |
| template<class Object > | |
| bool | cacheTemporaryObject (Object &ob) const |
| Cache the given object. More... | |
| void | resetCacheTemporaryObject (const regIOobject &ob) const |
| Reset the cache state of the given object. More... | |
| bool | checkCacheTemporaryObjects () const |
| Check that all objects in the cacheTemporaryObjects set. More... | |
| virtual bool | modified () const |
| Return true if any of the object's files have been modified. More... | |
| virtual bool | dependenciesModified () const |
| Cache pointers to objects who's dependencies have been modified. More... | |
| virtual bool | readIfModified () |
| Read object if modified. More... | |
| virtual bool | read () |
| Read dependent objects. More... | |
| void | readModifiedObjects () |
| Read the objects that have been modified. More... | |
| void | printToc (Ostream &os) const |
| Print the list of object names and their type. More... | |
| virtual bool | writeData (Ostream &) const |
| writeData function required by regIOobject but not used More... | |
| void | operator= (const objectRegistry &)=delete |
| Disallow default bitwise assignment. More... | |
| template<class Type > | |
| Foam::wordList | toc () const |
| template<class Type > | |
| Foam::wordList | toc (const wordRe &name) const |
| template<class Type > | |
| Foam::wordList | toc (const wordReList &patterns) const |
| template<class Type > | |
| Foam::HashTable< const Type * > | lookupClass (const bool strict) const |
| template<class Type > | |
| Foam::HashTable< Type * > | lookupClass (const bool strict) |
| fileName | path () const |
| Return complete path. More... | |
Public Member Functions inherited from regIOobject | |
| TypeName ("regIOobject") | |
| Runtime type information. More... | |
| regIOobject (const IOobject &, const bool isTime=false) | |
| Construct from IOobject. Optional flag for if IOobject is the. More... | |
| regIOobject (const regIOobject &) | |
| Copy constructor. More... | |
| regIOobject (regIOobject &&) | |
| Move constructor. More... | |
| regIOobject (const regIOobject &, bool registerCopy) | |
| Copy constructor, transferring registry registration to copy. More... | |
| regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
| Copy constructor with new name, transferring registry registration. More... | |
| regIOobject (const IOobject &, const regIOobject &) | |
| Copy constructor with new IO parameters. More... | |
| virtual | ~regIOobject () |
| Destructor. More... | |
| virtual bool | global () const |
| Return true if object is global, i.e. same for all processors. More... | |
| virtual bool | globalFile () const |
| Return true if object is global, i.e. same for all processors. More... | |
| const fileName & | caseName () const |
| fileName | path () const |
| Return complete path. More... | |
| fileName | objectPath () const |
| Return complete path + object name. More... | |
| fileName | filePath () const |
| Return complete path + object name if the file exists. More... | |
| bool | checkIn () |
| Add object to registry. More... | |
| bool | checkOut () |
| Remove object from registry. More... | |
| void | addWatch () |
| Add file watch on object (if registered and READ_IF_MODIFIED) More... | |
| bool | registered () const |
| Is this object registered with the registry? More... | |
| bool | ownedByRegistry () const |
| Is this object owned by the registry? More... | |
| void | store () |
| Transfer ownership of this object to its registry. More... | |
| void | release () |
| Release ownership of this object from its registry. More... | |
| label | eventNo () const |
| Event number at last update. More... | |
| label & | eventNo () |
| Event number at last update. More... | |
| bool | upToDate (const regIOobject &) const |
| Return true if up-to-date with respect to given object. More... | |
| bool | upToDate (const regIOobject &, const regIOobject &) const |
| Return true if up-to-date with respect to given objects. More... | |
| bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
| Return true if up-to-date with respect to given objects. More... | |
| bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
| Return true if up-to-date with respect to given objects. More... | |
| void | setUpToDate () |
| Set up to date (obviously) More... | |
| bool | headerOk () |
| Read and check header info. More... | |
| Istream & | readStream (const word &, const bool read=true) |
| Return Istream and check object type against that given. More... | |
| void | close () |
| Close Istream. More... | |
| virtual bool | readData (Istream &) |
| Virtual readData function. More... | |
| const labelList & | watchIndices () const |
| Return file-monitoring handles. More... | |
| labelList & | watchIndices () |
| Return file-monitoring handles. More... | |
| virtual bool | write (const bool write=true) const |
| Write using setting from DB. More... | |
| void | operator= (const IOobject &)=delete |
| Assign to IOobject. More... | |
| void | operator= (const regIOobject &)=delete |
| Disallow default assignment. More... | |
| const fileName & | caseName (const bool global) const |
| fileName | path (const bool global) const |
| Return complete path including the processor sub-directory. More... | |
| fileName | objectPath (const bool global) const |
| Return complete path + object name including the processor. More... | |
| fileName | filePath (const bool global) const |
| Return complete path + object name if the file exists. More... | |
Public Member Functions inherited from IOobject | |
| TypeName ("IOobject") | |
| Runtime type information. More... | |
| IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, registry, io options. More... | |
| IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, local, registry, io options. More... | |
| IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from path, registry, io options. More... | |
| IOobject (const IOobject &io, const objectRegistry ®istry) | |
| Construct from copy resetting registry. More... | |
| IOobject (const IOobject &io, const word &name) | |
| Construct from copy resetting name. More... | |
| IOobject (const IOobject &io)=default | |
| Copy constructor. More... | |
| autoPtr< IOobject > | clone () const |
| Clone. More... | |
| autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
| Clone resetting registry. More... | |
| virtual | ~IOobject () |
| Destructor. More... | |
| const Time & | time () const |
| Return time. More... | |
| const objectRegistry & | db () const |
| Return the local objectRegistry. More... | |
| const word & | name () const |
| Return name. More... | |
| const word & | headerClassName () const |
| Return name of the class name read from header. More... | |
| word & | headerClassName () |
| Return name of the class name read from header. More... | |
| string & | note () |
| Return non-constant access to the optional note. More... | |
| const string & | note () const |
| Return the optional note. More... | |
| bool & | registerObject () |
| Register object created from this IOobject with registry if true. More... | |
| bool | registerObject () const |
| Register object created from this IOobject with registry if true. More... | |
| readOption | readOpt () const |
| readOption & | readOpt () |
| writeOption | writeOpt () const |
| writeOption & | writeOpt () |
| word | group () const |
| Return group (extension part of name) More... | |
| word | member () const |
| Return member (name without the extension) More... | |
| const fileName & | rootPath () const |
| const fileName & | caseName (const bool global) const |
| fileName & | instance () const |
| Return the instance directory, constant, system, <time> etc. More... | |
| void | updateInstance () const |
| If the instance is a time directory update to the current time. More... | |
| void | updateTimeInstance () const |
| Update instance to the current time. More... | |
| const fileName & | local () const |
| fileName | path (const bool global) const |
| Return complete path including the processor sub-directory. More... | |
| fileName | objectPath (const bool global) const |
| Return complete path + object name including the processor. More... | |
| fileName | relativePath () const |
| Return the path relative to the case directory. More... | |
| fileName | relativeObjectPath () const |
| Return complete relativePath + object name. More... | |
| fileName | filePath (const bool global) const |
| Return complete path + object name if the file exists. More... | |
| bool | readHeader (Istream &) |
| Read header. More... | |
| bool | headerOk () |
| Read header of local object without type-checking. More... | |
| template<class Type > | |
| void | warnNoRereading () const |
| Helper: warn that type does not support re-reading. More... | |
| bool | writeHeader (Ostream &) const |
| Write header. More... | |
| bool | writeHeader (Ostream &, const word &objectType) const |
| Write header. Allow override of type. More... | |
| bool | good () const |
| bool | bad () const |
| InfoProxy< IOobject > | info () const |
| Return info proxy. More... | |
| void | operator= (const IOobject &) |
| template<class Name > | |
| Foam::word | groupName (Name name, const word &group) |
Public Member Functions inherited from HashTable< regIOobject * > | |
| bool | set (const word &, const regIOobject * &newElmt) |
| Set a new hashedEntry, overwriting existing entries. More... | |
| void | set (const HashTable< regIOobject *, word, string::hash > &) |
| Insert all the entries from the given HashTable,. More... | |
| HashTable (const label size=128) | |
| Construct given initial table size. More... | |
| HashTable (Istream &, const label size=128) | |
| Construct from Istream. More... | |
| HashTable (const UList< word > &keyList, const UList< regIOobject * > &elmtList) | |
| Construct from a list of keys and list of elements. More... | |
| HashTable (const HashTable< regIOobject *, word, string::hash > &) | |
| Copy constructor. More... | |
| HashTable (HashTable< regIOobject *, word, string::hash > &&) | |
| Move constructor. More... | |
| HashTable (std::initializer_list< Tuple2< word, regIOobject * >>) | |
| Construct from an initialiser list. More... | |
| ~HashTable () | |
| Destructor. More... | |
| label | capacity () const |
| The size of the underlying table. More... | |
| label | size () const |
| Return number of elements in table. More... | |
| bool | empty () const |
| Return true if the hash table is empty. More... | |
| bool | found (const word &) const |
| Return true if hashedEntry is found in table. More... | |
| iterator | find (const word &) |
| Find and return an iterator set at the hashedEntry. More... | |
| const_iterator | find (const word &) const |
| Find and return an const_iterator set at the hashedEntry. More... | |
| List< word > | toc () const |
| Return the table of contents. More... | |
| List< word > | sortedToc () const |
| Return the table of contents as a sorted list. More... | |
| List< const_iterator > | sorted () const |
| Return a sorted list of constant iterators. More... | |
| Ostream & | printInfo (Ostream &) const |
| Print information. More... | |
| bool | insert (const word &, const regIOobject * &newElmt) |
| Insert a new hashedEntry. More... | |
| void | insert (const HashTable< regIOobject *, word, string::hash > &) |
| Insert all the entries from the given HashTable. More... | |
| bool | erase (const iterator &) |
| Erase a hashedEntry specified by given iterator. More... | |
| bool | erase (const word &) |
| Erase a hashedEntry specified by the given key. More... | |
| label | erase (const UList< word > &) |
| Remove entries given by the listed keys from this HashTable. More... | |
| label | erase (const HashTable< AnyType, word, AnyHash > &) |
| Remove entries given by the given keys from this HashTable. More... | |
| Foam::label | erase (const HashTable< AnyType, word, AnyHash > &rhs) |
| void | resize (const label newSize) |
| Resize the hash table for efficiency. More... | |
| void | clear () |
| Clear all entries from table. More... | |
| void | clearStorage () |
| Clear the table entries and the table itself. More... | |
| void | shrink () |
| Shrink the allocated table to approx. twice number of elements. More... | |
| void | transfer (HashTable< regIOobject *, word, string::hash > &) |
| Transfer the contents of the argument table into this table. More... | |
| regIOobject * & | operator[] (const word &) |
| Find and return a hashedEntry. More... | |
| const regIOobject * & | operator[] (const word &) const |
| Find and return a hashedEntry. More... | |
| regIOobject * & | operator() (const word &) |
| Find and return a hashedEntry, create it null if not present. More... | |
| void | operator= (const HashTable< regIOobject *, word, string::hash > &) |
| Assignment operator. More... | |
| void | operator= (HashTable< regIOobject *, word, string::hash > &&) |
| Move assignment operator. More... | |
| void | operator= (std::initializer_list< Tuple2< word, regIOobject * >>) |
| Assignment to an initialiser list. More... | |
| bool | operator== (const HashTable< regIOobject *, word, string::hash > &) const |
| Equality. Hash tables are equal if the keys and values are equal. More... | |
| bool | operator!= (const HashTable< regIOobject *, word, string::hash > &) const |
| The opposite of the equality operation. Takes linear time. More... | |
| iterator | begin () |
| Iterator set to the beginning of the HashTable. More... | |
| const_iterator | begin () const |
| const_iterator set to the beginning of the HashTable More... | |
| const_iterator | cbegin () const |
| const_iterator set to the beginning of the HashTable More... | |
Public Member Functions inherited from HashTableCore | |
| HashTableCore () | |
| Construct null. More... | |
| ClassName ("HashTable") | |
| Define template name and debug. More... | |
Public Member Functions inherited from primitiveMesh | |
| ClassName ("primitiveMesh") | |
| Runtime type information. More... | |
| primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) | |
| Construct from components. More... | |
| primitiveMesh (primitiveMesh &&)=default | |
| Move constructor. More... | |
| primitiveMesh (const primitiveMesh &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~primitiveMesh () |
| Destructor. More... | |
| void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) |
| Reset this primitiveMesh given the primitive array sizes. More... | |
| void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &cells) |
| Reset this primitiveMesh given the primitive array sizes and cells. More... | |
| void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &&cells) |
| Reset this primitiveMesh given the primitive array sizes and cells. More... | |
| label | nPoints () const |
| label | nEdges () const |
| label | nInternalFaces () const |
| label | nFaces () const |
| label | nCells () const |
| label | nInternalPoints () const |
| Points not on boundary. More... | |
| label | nInternal0Edges () const |
| Internal edges (i.e. not on boundary face) using. More... | |
| label | nInternal1Edges () const |
| Internal edges using 0 or 1 boundary point. More... | |
| label | nInternalEdges () const |
| Internal edges using 0,1 or 2 boundary points. More... | |
| const cellShapeList & | cellShapes () const |
| Return cell shapes. More... | |
| const edgeList & | edges () const |
| Return mesh edges. Uses calcEdges. More... | |
| 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 |
| const scalarField & | magFaceAreas () const |
| tmp< scalarField > | movePoints (const pointField &p, const pointField &oldP) |
| Move points, returns volumes swept by faces in motion. More... | |
| bool | isInternalFace (const label faceIndex) const |
| Return true if given face label is internal to the mesh. More... | |
| bool | pointInCellBB (const point &p, label celli, scalar inflationFraction=0) const |
| Return true if the point in the cell bounding box. More... | |
| bool | pointInCell (const point &p, label celli) const |
| Return true if the point is in the cell. More... | |
| label | findNearestCell (const point &location) const |
| Find the cell with the nearest cell centre to location. More... | |
| label | findCell (const point &location) const |
| Find cell enclosing this location (-1 if not in mesh) More... | |
| void | printAllocated () const |
| Print a list of all the currently allocated mesh data. More... | |
| template<class Type > | |
| bool | has (const Type &(primitiveMesh::*method)() const) const |
| Return whether the result of the given method has been allocated. More... | |
| const labelList & | cellCells (const label celli, DynamicList< label > &) const |
| cellCells using cells. More... | |
| const labelList & | cellCells (const label celli) const |
| const labelList & | cellPoints (const label celli, DynamicList< label > &) const |
| cellPoints using cells More... | |
| const labelList & | cellPoints (const label celli) const |
| const labelList & | pointCells (const label pointi, DynamicList< label > &) const |
| pointCells using pointFaces More... | |
| const labelList & | pointCells (const label pointi) const |
| const labelList & | pointPoints (const label pointi, DynamicList< label > &) const |
| pointPoints using edges, pointEdges More... | |
| const labelList & | pointPoints (const label pointi) const |
| const labelList & | faceEdges (const label facei, DynamicList< label > &) const |
| faceEdges using pointFaces, edges, pointEdges More... | |
| const labelList & | faceEdges (const label facei) const |
| const labelList & | edgeFaces (const label edgeI, DynamicList< label > &) const |
| edgeFaces using pointFaces, edges, pointEdges More... | |
| const labelList & | edgeFaces (const label edgeI) const |
| const labelList & | edgeCells (const label edgeI, DynamicList< label > &) const |
| edgeCells using pointFaces, edges, pointEdges More... | |
| const labelList & | edgeCells (const label edgeI) const |
| const labelList & | cellEdges (const label celli, DynamicList< label > &) const |
| cellEdges using cells, pointFaces, edges, pointEdges More... | |
| const labelList & | cellEdges (const label celli) const |
| void | clearGeom () |
| Clear geometry. More... | |
| void | clearAddressing () |
| Clear topological data. More... | |
| void | clearOut () |
| Clear all geometry and addressing unnecessary for CFD. More... | |
| void | operator= (const primitiveMesh &)=delete |
| Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
| static bool | found (const IOobject &io) |
| Return whether the given IOobject relates to a mesh on disk. More... | |
Static Public Member Functions inherited from regIOobject | |
| template<class Type > | |
| static Type & | store (Type *) |
| Transfer ownership of the given object pointer to its registry. More... | |
| template<class Type > | |
| static Type & | store (autoPtr< Type > &) |
| Transfer ownership of the given object pointer to its registry. More... | |
Static Public Member Functions inherited from IOobject | |
| static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
| Split path into instance, local, name components. More... | |
| template<class Name > | |
| static word | groupName (Name name, const word &group) |
| static word | group (const word &name) |
| Return group (extension part of name) More... | |
| static word | member (const word &name) |
| Return member (name without the extension) More... | |
| template<class Stream > | |
| static Stream & | writeBanner (Stream &os, bool noHint=false) |
| Write the standard OpenFOAM file/dictionary banner. More... | |
| template<class Stream > | |
| static Stream & | writeDivider (Stream &os) |
| Write the standard file section divider. More... | |
| template<class Stream > | |
| static Stream & | writeEndDivider (Stream &os) |
| Write the standard end file divider. More... | |
Static Public Member Functions inherited from HashTableCore | |
| static label | canonicalSize (const label) |
| Return a canonical (power-of-two) size. More... | |
| static iteratorEnd | cend () |
| iteratorEnd set to beyond the end of any HashTable More... | |
| static iteratorEnd | end () |
| iteratorEnd set to beyond the end of any HashTable More... | |
Static Public Member Functions inherited from primitiveMesh | |
| static void | calcCells (cellList &, const labelUList &own, const labelUList &nei, const label nCells=-1) |
| Helper function to calculate cell-face addressing from. More... | |
| static bool | calcPointOrder (label &nInternalPoints, labelList &pointMap, const faceList &, const label nInternalFaces, const label nPoints) |
| Helper function to calculate point ordering. Returns true. More... | |
Static Public Attributes | |
| static word | defaultRegion = "region0" |
| Return the default region name. More... | |
| static word | meshSubDir = "polyMesh" |
| Return the mesh sub-directory name (usually "polyMesh") More... | |
Static Public Attributes inherited from regIOobject | |
| static float | fileModificationSkew |
Static Public Attributes inherited from IOobject | |
| static constexpr const char * | foamFile = "FoamFile" |
| Keyword for the FoamFile header sub-dictionary. More... | |
| static const NamedEnum< fileCheckTypes, 4 > | fileCheckTypesNames |
| static fileCheckTypes | fileModificationChecking |
| Type of file modification checking. More... | |
Static Public Attributes inherited from HashTableCore | |
| static const label | maxTableSize |
| Maximum allowable table size. More... | |
Static Public Attributes inherited from primitiveMesh | |
| static const unsigned | cellsPerEdge_ = 4 |
| Estimated number of cells per edge. More... | |
| static const unsigned | cellsPerPoint_ = 8 |
| Estimated number of cells per point. More... | |
| static const unsigned | facesPerCell_ = 6 |
| Estimated number of faces per cell. More... | |
| static const unsigned | facesPerEdge_ = 4 |
| Estimated number of faces per edge. More... | |
| static const unsigned | facesPerPoint_ = 12 |
| Estimated number of faces per point. More... | |
| static const unsigned | edgesPerCell_ = 12 |
| Estimated number of edges per cell. More... | |
| static const unsigned | edgesPerFace_ = 4 |
| Estimated number of edges per cell. More... | |
| static const unsigned | edgesPerPoint_ = 6 |
| Estimated number of edges per point. More... | |
| static const unsigned | pointsPerCell_ = 8 |
| Estimated number of points per cell. More... | |
| static const unsigned | pointsPerFace_ = 4 |
| Estimated number of points per face. More... | |
Protected Attributes | |
| bool | moving_ |
| Member data pending transfer to fvMesh. More... | |
| bool | topoChanged_ |
| Has the mesh topology changed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from regIOobject | |
| bool | readHeaderOk (const IOstream::streamFormat defaultFormat, const word &typeName) |
| Read header, check readOpt flags and read data if necessary. More... | |
Protected Member Functions inherited from IOobject | |
| template<class Type > | |
| bool | typeHeaderOk (const bool checkType) |
| Read header using typeGlobalFile to find file. More... | |
Protected Member Functions inherited from primitiveMesh | |
| primitiveMesh () | |
| Construct null. More... | |
Static Protected Member Functions inherited from primitiveMesh | |
| template<class Class , class Type > | |
| static bool | isMethod (const Type &(Class::*method)() const, const Type &(Class::*otherMethod)() const) |
| Test if the supplied methods are the same. Same type overload. More... | |
| template<class Class , class Type , class OtherType > | |
| static bool | isMethod (const Type &(Class::*method)() const, const OtherType &(Class::*otherMethod)() const) |
| Test if the supplied methods are the same. Different type. More... | |
Definition at line 259 of file polyMesh.H.
| typedef polyBoundaryMesh BoundaryMesh |
Definition at line 260 of file polyMesh.H.
| enum readUpdateState |
Enumeration defining the state of the mesh after a read update.
Used for post-processing applications, where the mesh needs to update based on the files written in time directories.
| Enumerator | |
|---|---|
| UNCHANGED | |
| POINTS_MOVED | |
| TOPO_CHANGE | |
| TOPO_PATCH_CHANGE | |
Definition at line 89 of file polyMesh.H.
| enum cellDecomposition |
Enumeration defining the decomposition of the cell for.
inside/outside test
| Enumerator | |
|---|---|
| FACE_PLANES | |
| FACE_CENTRE_TRIS | |
| FACE_DIAG_TRIS | |
| CELL_TETS | |
Definition at line 99 of file polyMesh.H.
Construct from IOobject.
Definition at line 176 of file polyMesh.C.
References Foam::complete, Foam::endl(), IOobject::headerClassName(), IOobject::instance(), polyMesh::meshSubDir, IOobject::MUST_READ, primitiveMesh::nCells(), IOobject::NO_WRITE, primitiveMesh::nPoints(), UPstream::parRun(), TimePaths::processorCase(), ZoneList< ZoneType, ZonesType, MeshType >::readIfPresent(), Foam::returnReduce(), objectRegistry::time(), polyBoundaryMesh::topoChange(), WarningInFunction, and regIOobject::write().

| polyMesh | ( | const IOobject & | io, |
| pointField && | points, | ||
| faceList && | faces, | ||
| labelList && | owner, | ||
| labelList && | neighbour, | ||
| const bool | syncPar = true |
||
| ) |
Move construct from IOobject or from components.
Boundary is added using addPatches() member function
Definition at line 368 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), Foam::min(), and List< T >::size().

| polyMesh | ( | const IOobject & | io, |
| pointField && | points, | ||
| faceList && | faces, | ||
| cellList && | cells, | ||
| const bool | syncPar = true |
||
| ) |
Move construct without boundary with cells rather than.
owner/neighbour. Boundary is added using addPatches() member function
Definition at line 519 of file polyMesh.C.
References Foam::abort(), primitiveMesh::cells(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), Foam::min(), and List< T >::size().

| 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 |
||
| ) |
Move construct from cell shapes.
Definition at line 389 of file polyMeshFromShapeMesh.C.
References primitiveMesh::cells(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), forAll, Foam::Info, IOobject::instance(), IOobject::name(), polyPatch::New(), primitiveMesh::nFaces(), patchi, Foam::reduce(), polyMesh::removeFiles(), PtrList< T >::set(), PtrList< T >::setSize(), UPtrList< T >::size(), List< T >::size(), polyBoundaryMesh::topoChange(), 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 |
||
| ) |
Move construct from cell shapes with patch information in dictionary.
format.
Definition at line 668 of file polyMeshFromShapeMesh.C.
References primitiveMesh::cells(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), forAll, Foam::Info, IOobject::instance(), IOobject::name(), polyPatch::New(), primitiveMesh::nFaces(), patchi, Foam::reduce(), polyMesh::removeFiles(), PtrList< T >::set(), PtrList< T >::setSize(), UPtrList< T >::size(), List< T >::size(), polyBoundaryMesh::topoChange(), Foam::type(), and WarningInFunction.

Move constructor.
Definition at line 686 of file polyMesh.C.
|
virtual |
Destructor.
Definition at line 950 of file polyMesh.C.
| TypeName | ( | "polyMesh" | ) |
Runtime type information.
|
static |
Return whether the given IOobject relates to a mesh on disk.
Definition at line 959 of file polyMesh.C.
References polyMesh::defaultRegion, Foam::fileHandler(), fileOperation::findInstance(), fileOperation::isDir(), IOobject::local(), IOobject::name(), dimensioned< Type >::name(), IOobject::NO_READ, word::null, IOobject::time(), and dimensioned< Type >::value().

| Foam::fileName meshDir | ( | ) | const |
Return the local mesh directory (dbDir()/meshSubDir)
Definition at line 982 of file polyMesh.C.
| const Foam::fileName & pointsInstance | ( | ) | const |
Return the current instance directory for points.
Used in the construction of geometric mesh data dependent on points
Definition at line 988 of file polyMesh.C.
Referenced by Foam::meshCheck::checkGeometry(), Foam::meshCheck::checkMeshOutputDir(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), Foam::meshCheck::checkTopology(), and if().

| const Foam::fileName & facesInstance | ( | ) | const |
Return the current instance directory for faces.
Definition at line 994 of file polyMesh.C.
Referenced by refinementHistoryConstraint::add(), refinementHistoryConstraint::apply(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), manual::decompose(), topoSet::localPath(), manualRenumber::renumber(), and hexRef8Data::topoChange().

| Foam::IOobject::writeOption pointsWriteOpt | ( | ) | const |
Return the points write option.
Definition at line 1000 of file polyMesh.C.
| Foam::IOobject::writeOption facesWriteOpt | ( | ) | const |
Return the points write option.
Definition at line 1006 of file polyMesh.C.
| void setPointsInstance | ( | const fileName & | inst | ) |
Set the instance for the points files.
Definition at line 71 of file polyMeshIO.C.
References IOobject::AUTO_WRITE, Foam::endl(), and InfoInFunction.

| void setInstance | ( | const fileName & | inst | ) |
Set the instance for mesh files.
Definition at line 91 of file polyMeshIO.C.
References IOobject::AUTO_WRITE, Foam::endl(), and InfoInFunction.
Referenced by snappyLayerDriver::addLayers(), meshRefinement::mergePatchFacesUndo(), Foam::polyMeshZipUpCells(), and polyMesh::swap().


|
virtual |
Return raw points.
Implements primitiveMesh.
Definition at line 1331 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by snappyLayerDriver::addLayers(), waveAlphaFvPatchScalarField::alphan(), meshRefinement::calculateEdgeWeights(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::meshCheck::checkCoupledPoints(), Foam::meshCheck::checkEdgeAlignment(), Foam::meshCheck::checkEdgeLength(), Foam::meshCheck::checkFaceAngles(), Foam::meshCheck::checkFaceFlatness(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkFaceSkewness(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkMesh(), pointZone::checkParallelSync(), Foam::meshCheck::checkPointNearness(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkWedges(), edgeVertex::coord(), waveForcing::correct(), pointLinear< Type >::correction(), motionSolverList::curPoints(), geomCellLooper::cut(), cutPolyIsoSurface::cutPolyIsoSurface(), cellsToCells::distributeMesh(), tetIndices::faceTri(), localPointRegion::findDuplicateFaces(), extrudedCircle::findParametricNearest(), faceCorrectedSnGrad< Type >::fullGradCorrection(), PatchTools::gatherAndMerge(), cylinderHeadPoints::generate(), pistonBowlPoints::generate(), extrudedCircle::getNormal(), globalIndexAndTransform::globalIndexAndTransform(), FreeStream< CloudType >::inflow(), Foam::levelSetFraction(), meshRefinement::makePatch(), interpolator::mapMesh(), componentDisplacementMotionSolver::mapMesh(), points0MotionSolver::mapMesh(), cellsToCells::maskCells(), Foam::meshCheck::mergeAndWrite(), MeshedSurface< Face >::MeshedSurface(), momentOfInertia::meshInertia(), meshTriangulation::meshTriangulation(), polyMeshTetDecomposition::minQuality(), volumeInjection::modify(), mappedPatchBaseBase::moving(), Foam::tracking::movingTetGeometry(), Foam::meshTools::normEdgeVec(), treeDataCell::findIntersectOp::operator()(), tetOverlapVolume::overlappingCells(), treeDataCell::overlaps(), mappedExtrudedPatchBase::patchLocalPoints(), pointMVCWeight::pointMVCWeight(), Foam::polyMeshZipUpCells(), polyTopoChange::polyTopoChange(), fvMeshDistribute::printMeshInfo(), Foam::meshCheck::printMeshStats(), nonConformalCyclicPolyPatch::ray(), nonConformalCyclicPolyPatch::rays(), repatchMesh::read(), mappedInternalPatchBase::samplePoints(), motionSmootherAlgo::setDisplacement(), repatchMesh::setFeatureEdges(), meshCutter::setRefinement(), addPatchCellLayer::setRefinement(), triSurfacePointGeoMesh::size(), Foam::tracking::stationaryTetGeometry(), meshRefinement::testSyncPointList(), tetIndices::tet(), cellsToCells::tgtMeshSendCells(), solidBodyMotionSolver::topoChange(), rigidBodyMeshMotion::topoChange(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), cellsToCells::trimLocalTgt(), waveVelocityFvPatchVectorField::Un(), cellMotionFvPatchField< Type >::updateCoeffs(), pointEdgePoint::updateEdge(), pointEdgePoint::updatePoint(), Implicit< CloudType >::velocityCorrection(), volPointInterpolation::volPointInterpolation(), FacePostProcessing< CloudType >::write(), edgeMeshFormat::write(), OBJedgeFormat::write(), STARCDedgeFormat::write(), and pointSet::writeDebug().


|
virtual |
Return raw faces.
Implements primitiveMesh.
Definition at line 1344 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by singleProcessorFaceSetsConstraint::add(), singleProcessorFaceSetsConstraint::apply(), Foam::meshCheck::boundaryFaceSkewness(), pointMVCWeight::calcWeights(), polyMeshTetDecomposition::cellTetIndices(), tetOverlapVolume::cellVolumeMinDecomp(), cellPoint< Type >::cellVolumeWeightedSum(), Foam::tracking::changeFace(), Foam::tracking::changeFaceTri(), Foam::meshCheck::checkCellsZipUp(), Foam::meshCheck::checkCommonOrder(), Foam::meshCheck::checkCoupledPoints(), Foam::meshCheck::checkDuplicateFaces(), Foam::meshCheck::checkEdgeAlignment(), Foam::meshCheck::checkEdgeLength(), Foam::meshCheck::checkFaceAngles(), Foam::meshCheck::checkFaceFaces(), Foam::meshCheck::checkFaceFlatness(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkFaceTet(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceTwist(), Foam::meshCheck::checkFaceVertices(), edgeCollapser::checkMeshQuality(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkTriangleTwist(), Foam::meshCheck::checkWedges(), pointLinear< Type >::correction(), Foam::tracking::crossCyclic(), cutPolyIsoSurface::cutPolyIsoSurface(), cellEdgeAddressingList::data(), decompositionMethod::decompose(), cellsToCells::distributeMesh(), snappySnapDriver::doSnap(), directionInfo::edgeToFaceIndex(), Foam::meshCheck::faceConcavity(), Foam::meshCheck::faceFlatness(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::faceSkewness(), polyMeshTetDecomposition::faceTetIndices(), tetIndices::faceTriIs(), polyMeshTetDecomposition::findBasePoint(), localPointRegion::findDuplicateFaces(), polyMeshTetDecomposition::findFaceBasePts(), polyMeshTetDecomposition::findSharedBasePoint(), polyMeshTetDecomposition::findTet(), faceCorrectedSnGrad< Type >::fullGradCorrection(), surfaceSets::getHangingCells(), snappySnapDriver::getZoneSurfacePoints(), Foam::interpolatePointToCell(), hexMatcher::isA(), prismMatcher::isA(), pyrMatcher::isA(), tetMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), LagrangianFieldDecomposer::LagrangianFieldDecomposer(), LagrangianFieldReconstructor::LagrangianFieldReconstructor(), Foam::tracking::locate(), meshRefinement::makePatch(), cellsToCells::maskCells(), degenerateMatcher::match(), hexMatcher::matches(), prismMatcher::matches(), pyrMatcher::matches(), tetMatcher::matches(), tetWedgeMatcher::matches(), wedgeMatcher::matches(), Foam::meshCheck::mergeAndWrite(), MeshedSurface< Face >::MeshedSurface(), meshTriangulation::meshTriangulation(), polyMeshTetDecomposition::minQuality(), volumeInjection::modify(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), inversePointDistanceDiffusivity::operator()(), treeDataCell::findIntersectOp::operator()(), Foam::tracking::outProcessor(), treeDataCell::overlaps(), pointMVCWeight::pointMVCWeight(), cellPoint< Type >::pointVolumeWeightedSum(), Foam::polyMeshUnMergeCyclics(), Foam::polyMeshZipUpCells(), polyTopoChange::polyTopoChange(), Foam::meshCheck::printMeshStats(), particle::procTetPt(), refiner::refiner(), meshCutter::setRefinement(), addPatchCellLayer::setRefinement(), syncTools::syncEdgeMap(), cellsToCells::tgtMeshSendCells(), cellsToCells::trimLocalTgt(), directionInfo::updateCell(), movingMappedWallVelocityFvPatchVectorField::updateCoeffs(), layerInfo::updateFace(), and Implicit< CloudType >::velocityCorrection().


|
virtual |
Return face owner.
Implements primitiveMesh.
Definition at line 1357 of file polyMesh.C.
Referenced by Flux< CloudType, Derived >::accumulate(), refinementHistory::add(), refinementHistory::apply(), preserveBafflesConstraint::apply(), preserveFaceZonesConstraint::apply(), singleProcessorFaceSetsConstraint::apply(), snappySnapDriver::avgCellCentres(), decompositionMethod::calcCellCells(), Foam::meshCheck::cellClosedness(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::tracking::changeFace(), Foam::tracking::changeFaceTri(), Foam::meshCheck::checkConcaveCells(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkFaceSkewness(), Foam::meshCheck::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceTwist(), Foam::meshCheck::checkFaceWeights(), Foam::meshCheck::checkNonOrtho(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkUpperTriangular(), Foam::meshCheck::checkVolRatio(), particle::correctAfterNonConformalCyclicTransfer(), Foam::tracking::crossCyclic(), Foam::tracking::crossInternalFace(), cellEdgeAddressingList::data(), decompositionMethod::decompose(), fvMeshDistribute::distribute(), cellsToCells::distributeMesh(), nonConformalCyclicLagrangianPatch::evaluate(), nonConformalProcessorCyclicLagrangianPatch::evaluate(), Foam::meshTools::faceOnCell(), Foam::meshCheck::faceOrthogonality(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::faceSkewness(), tetIndices::faceTriIs(), Foam::meshCheck::faceWeights(), polyMeshTetDecomposition::findBasePoint(), polyMeshTetDecomposition::findFaceBasePts(), polyMeshTetDecomposition::findSharedBasePoint(), cellPointWeight::findTriangle(), Foam::meshCheck::getAffectedCells(), Foam::meshTools::getSharedFace(), FreeStream< CloudType >::inflow(), cellToCellStencil::insertFaceCells(), cellToFaceStencil::insertFaceCells(), patch::interpolateField(), hexMatcher::isA(), prismMatcher::isA(), pyrMatcher::isA(), tetMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), degenerateMatcher::match(), hexMatcher::matches(), prismMatcher::matches(), pyrMatcher::matches(), tetMatcher::matches(), tetWedgeMatcher::matches(), wedgeMatcher::matches(), Foam::meshCheck::mergeAndWrite(), meshRefinement::mergePatchFacesUndo(), meshTriangulation::meshTriangulation(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), patchInjection::modify(), Foam::meshTools::otherCell(), Foam::polyMeshUnMergeCyclics(), polyTopoChange::polyTopoChange(), particle::procTetPt(), constSolidThermo::readProperty(), refiner::refiner(), undoableMeshCutter::removeSplitFaces(), SloanRenumber::renumber(), MPLIC::setCellAlphaf(), patchInjectionBase::setPositionAndCell(), meshCutter::setRefinement(), addPatchCellLayer::setRefinement(), cellsToCells::trimLocalTgt(), cellsToCellsStabilisation::update(), layerInfo::updateCell(), layerInfo::updateFace(), and Foam::meshCheck::volRatio().

|
virtual |
Return face neighbour.
Implements primitiveMesh.
Definition at line 1363 of file polyMesh.C.
Referenced by refinementHistory::add(), addPatchCellLayer::addedCells(), refinementHistory::apply(), preserveBafflesConstraint::apply(), preserveFaceZonesConstraint::apply(), singleProcessorFaceSetsConstraint::apply(), decompositionMethod::calcCellCells(), Foam::meshCheck::cellClosedness(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkFaceSkewness(), Foam::meshCheck::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceTwist(), Foam::meshCheck::checkFaceWeights(), Foam::meshCheck::checkNonOrtho(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkUpperTriangular(), Foam::meshCheck::checkVolRatio(), Foam::tracking::crossInternalFace(), decompositionMethod::decompose(), cellsToCells::distributeMesh(), Foam::meshTools::faceOnCell(), Foam::meshCheck::faceOrthogonality(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::faceSkewness(), Foam::meshCheck::faceWeights(), polyMeshTetDecomposition::findSharedBasePoint(), Foam::meshCheck::getAffectedCells(), Foam::meshTools::getSharedFace(), cellToCellStencil::insertFaceCells(), cellToFaceStencil::insertFaceCells(), Foam::meshCheck::mergeAndWrite(), Foam::meshTools::otherCell(), polyTopoChange::polyTopoChange(), Foam::meshCheck::printMeshStats(), refiner::refiner(), undoableMeshCutter::removeSplitFaces(), SloanRenumber::renumber(), meshCutter::setRefinement(), cellsToCells::trimLocalTgt(), cellsToCellsStabilisation::update(), and Foam::meshCheck::volRatio().

|
virtual |
Return old points for mesh motion.
Implements primitiveMesh.
Definition at line 1369 of file polyMesh.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by volumeInjection::modify(), mappedPatchBaseBase::moving(), Foam::tracking::movingTetGeometry(), nonConformalCyclicPolyPatch::ray(), nonConformalCyclicPolyPatch::rays(), movingMappedWallVelocityFvPatchVectorField::updateCoeffs(), and movingWallVelocityFvPatchVectorField::updateCoeffs().


|
virtual |
Return old cell centres for mesh motion.
Definition at line 1387 of file polyMesh.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by Cloud< ParticleType >::Cloud(), LagrangianMesh::LagrangianMesh(), volumeInjection::modify(), and Foam::tracking::movingTetGeometry().


|
inline |
Return boundary mesh.
Definition at line 401 of file polyMesh.H.
Referenced by Flux< CloudType, Derived >::accumulate(), preservePatchesConstraint::add(), fvMeshAdder::add(), polyMeshAdder::add(), snappyLayerDriver::addLayers(), pointMesh::addPatch(), fvMeshTools::addPatch(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), preserveFaceZonesConstraint::apply(), preservePatchesConstraint::apply(), decompositionMethod::calcCellCells(), addPatchCellLayer::calcSidePatch(), cellPointLagrangianAddressor::cellPointLagrangianAddressor(), polyTopoChange::changeMesh(), Foam::meshCheck::checkCoupledPoints(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFaceSkewness(), Foam::meshCheck::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceTwist(), Foam::meshCheck::checkFaceWeights(), Foam::meshCheck::checkGeometry(), faceZone::checkParallelSync(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkVolRatio(), Foam::meshCheck::checkWedges(), MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), particle::correctAfterNonConformalCyclicTransfer(), particle::correctAfterParallelTransfer(), particle::correctAfterProcessorTransfer(), structured::decompose(), decompositionMethod::decompose(), directions::directions(), fvMeshDistribute::distribute(), cellsToCells::distributeMesh(), snappyLayerDriver::doLayers(), extendedCellToCellStencil::extendedCellToCellStencil(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), nonConformalFvPatch::faceCells(), waveAlphaFvPatchScalarField::faceCellSubset(), waveVelocityFvPatchVectorField::faceCellSubset(), Foam::meshCheck::faceOrthogonality(), FacePostProcessing< CloudType >::FacePostProcessing(), Foam::meshCheck::faceSkewness(), Foam::meshCheck::faceWeights(), localPointRegion::findDuplicateFacePairs(), patchProbes::findElements(), polyMeshTetDecomposition::findFaceBasePts(), LagrangianBoundaryMesh::findIndex(), fvBoundaryMesh::findIndices(), LagrangianBoundaryMesh::findIndices(), Foam::meshCheck::findOppositeWedge(), cylinderHeadPoints::generate(), pistonBowlPoints::generate(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), globalIndexAndTransform::globalIndexAndTransform(), mappedFvPatchBaseBase::haveNbr(), mappedPatchBaseBase::haveNbr(), streamlinesParticle::hitCyclicPatch(), particle::hitCyclicPatch(), particle::hitFace(), particle::hitNonConformalCyclicPatch(), findCellParticle::hitProcessorPatch(), sampledSetParticle::hitProcessorPatch(), streamlinesParticle::hitProcessorPatch(), particle::hitProcessorPatch(), FreeStream< CloudType >::inflow(), SurfaceFilmModel< CloudType >::inject(), interpolationCellPatchConstrained< Type >::interpolate(), patch::interpolateField(), patchInternalField::interpolateField(), volPointInterpolation::interpolateUnconstrained(), LocalInteraction< CloudType >::LocalInteraction(), localPointRegion::localPointRegion(), polyTopoChange::makeMesh(), meshRefinement::makePatch(), Foam::meshCheck::mergeAndWrite(), snappyLayerDriver::mergePatchFacesUndo(), meshToMesh::meshToMesh(), meshTriangulation::meshTriangulation(), patchInjection::modify(), mappedFvPatchBaseBase::nbrFvPatch(), mappedFvPatchBaseBase::nbrMesh(), mappedInternalPatchBase::nbrMesh(), mappedPatchBaseBase::nbrMesh(), mappedPatchBaseBase::nbrPolyPatch(), mappedPatchBaseBase::nbrRegionName(), nearWallDist::nearWallDist(), LagrangianMesh::nGroups(), nonConformalBoundary::nonConformalOtherPatchIndices(), LagrangianMesh::nStates(), inversePointDistanceDiffusivity::operator()(), ParticleErosion< CloudType >::ParticleErosion(), particle::patch(), patch::patchIndices(), patchInjectionBase::patchInjectionBase(), patchInternalField::patchInternalField(), mappedExtrudedPatchBase::patchLocalPoints(), nonConformalBoundary::patchPointOwnerOrigBoundaryPoints(), PatchPostProcessing< CloudType >::PatchPostProcessing(), nonConformalFvPatch::polyFaces(), Foam::polyMeshUnMergeCyclics(), Foam::polyMeshZipUpCells(), polyTopoChange::polyTopoChange(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), ParticleErosion< CloudType >::preFace(), PatchCollisionDensity< CloudType >::preFace(), particle::prepareForNonConformalCyclicTransfer(), particle::prepareForProcessorTransfer(), Foam::meshCheck::printMeshStats(), repatchMesh::read(), ensightParts::recalculate(), structuredRenumber::renumber(), SloanRenumber::renumber(), snappySnapDriver::repatchToSurface(), GeometricBoundaryField< Type, GeoMesh, PrimitiveField >::reset(), triSurface::sampleField(), mappedInternalPatchBase::samplePoints(), patchInjectionBase::setPositionAndCell(), addPatchCellLayer::setRefinement(), singleCellFvMesh::singleCellFvMesh(), displacementLayeredMotionSolver::solve(), SlicedGeometricField< Type, GeoMesh >::splice(), fvMesh::swap(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), nonConformalMappedFvPatchBase::toNeighbour(), FreeStream< CloudType >::topoChange(), patchInjectionBase::topoChange(), LagrangianMesh::track(), patch::update(), movingWallVelocityFvPatchVectorField::updateCoeffs(), noSlipFvPatchVectorField::updateCoeffs(), surfaceDisplacementPointPatchVectorField::updateCoeffs(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), Implicit< CloudType >::velocityCorrection(), volPointInterpolation::volPointInterpolation(), Foam::meshCheck::volRatio(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), PatchPostProcessing< CloudType >::write(), and Foam::zeroDimensionalFvMesh().

|
inline |
Return mesh bounding box.
Definition at line 407 of file polyMesh.H.
Referenced by Foam::meshCheck::checkGeometry(), Foam::meshCheck::checkMesh(), Foam::meshTools::constrainToMeshCentre(), Foam::tracking::crossWedge(), refinementParameters::findCells(), Kmesh::Kmesh(), cellsToCells::maskCells(), and streamlinesParticle::move().

| const Foam::Vector< Foam::label > & geometricD | ( | ) | const |
Return the vector of geometric directions in mesh.
Defined according to the presence of empty and wedge patches. 1 indicates unconstrained direction and -1 a constrained direction.
Definition at line 1012 of file polyMesh.C.
Referenced by Foam::meshCheck::checkCellDeterminant(), Foam::meshCheck::checkGeometry(), Foam::meshTools::constrainToMeshCentre(), particle::deviationFromMeshCentre(), FitData< FitDataType, ExtendedStencil, Polynomial >::findFaceDirs(), and radiativeIntensityRay::radiativeIntensityRay().

| Foam::label nGeometricD | ( | ) | const |
Return the number of valid geometric dimensions in the mesh.
Definition at line 1023 of file polyMesh.C.
References Foam::cmptSum().
Referenced by Foam::fvc::average(), Foam::meshCheck::checkGeometry(), FitData< FitDataType, ExtendedStencil, Polynomial >::findFaceDirs(), if(), InjectionModel< CloudType >::InjectionModel(), main(), MomentumCloud< CloudType >::preEvolve(), Foam::fvc::reconstruct(), streamFunction::streamFunction(), zeroDimensionalFixedPressureConstraint::zeroDimensionalFixedPressureConstraint(), zeroDimensionalFixedPressureModel::zeroDimensionalFixedPressureModel(), and zeroDimensionalMassSourceBase::zeroDimensionalMassSourceBase().


| const Foam::Vector< Foam::label > & solutionD | ( | ) | const |
Return the vector of solved-for directions in mesh.
Differs from geometricD in that it includes for wedge cases the circumferential direction in case of swirl. 1 indicates valid direction and -1 an invalid direction.
Definition at line 1029 of file polyMesh.C.
Referenced by MomentumParcel< ParcelType >::calcVelocity(), Foam::meshCheck::checkGeometry(), InjectionModel< CloudType >::inject(), InjectionModel< CloudType >::injectSteadyState(), DSMCParcel< ParcelType >::move(), CloudFilmTransfer< CloudType >::splashInteraction(), GradientDispersionRAS< CloudType >::update(), StochasticDispersionRAS< CloudType >::update(), and fvMesh::validComponents().

| Foam::label nSolutionD | ( | ) | const |
Return the number of valid solved-for dimensions in the mesh.
Definition at line 1040 of file polyMesh.C.
References Foam::cmptSum().
Referenced by Foam::meshCheck::checkGeometry(), and radiativeIntensityRay::radiativeIntensityRay().


| const Foam::labelIOList & tetBasePtIs | ( | ) | const |
Return the tetBasePtIs.
Definition at line 1046 of file polyMesh.C.
References Foam::endl(), polyMeshTetDecomposition::findFaceBasePts(), IOobject::NO_READ, IOobject::NO_WRITE, and WarningInFunction.
Referenced by Foam::tracking::changeFace(), Cloud< ParticleType >::Cloud(), tetIndices::faceTriIs(), refinementParameters::findCells(), patchProbes::findElements(), LagrangianMesh::LagrangianMesh(), meshSearch::meshSearch(), and mappedInternalPatchBase::samplePoints().


| const Foam::indexedOctree< Foam::treeDataCell > & cellTree | ( | ) | const |
Return the cell search tree.
Definition at line 1080 of file polyMesh.C.
References Foam::e, and points.
Referenced by mappedInternalPatchBase::calcMapping(), LagrangianMesh::locate(), Foam::tracking::locate(), and tetOverlapVolume::overlappingCells().

|
inline |
Return point zones.
Definition at line 437 of file polyMesh.H.
Referenced by polyMeshAdder::add(), Foam::meshCheck::checkTopology(), polyTopoChange::makeMesh(), pointZoneSet::pointZoneSet(), fvMeshDistribute::printMeshInfo(), Foam::meshCheck::printMeshStats(), addPatchCellLayer::setRefinement(), and addPatchCellLayer::updateZones().

|
inline |
Return face zones.
Definition at line 443 of file polyMesh.H.
Referenced by preserveFaceZonesConstraint::add(), polyMeshAdder::add(), surfaceZonesInfo::addFaceZonesToMesh(), preserveFaceZonesConstraint::apply(), meshRefinement::checkCoupledFaceZones(), Foam::meshCheck::checkTopology(), snappySnapDriver::doSnap(), FacePostProcessing< CloudType >::FacePostProcessing(), faceZoneSet::faceZoneSet(), forAll(), snappySnapDriver::getZoneSurfacePoints(), polyTopoChange::makeMesh(), FacePostProcessing< CloudType >::preFace(), fvMeshDistribute::printMeshInfo(), Foam::meshCheck::printMeshStats(), snappySnapDriver::repatchToSurface(), addPatchCellLayer::setRefinement(), addPatchCellLayer::updateZones(), and FacePostProcessing< CloudType >::write().

|
inline |
Return cell zones.
Definition at line 449 of file polyMesh.H.
Referenced by polyMeshAdder::add(), cellTable::addCellZones(), surfaceZonesInfo::addCellZonesToMesh(), cellZoneSet::cellZoneSet(), Foam::meshCheck::checkTopology(), cutPolyIsoSurface::cutPolyIsoSurface(), zoneCombustion::filter(), interRegionPorosityForce::interRegionPorosityForce(), polyTopoChange::makeMesh(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), cellTable::operator=(), porosityModel::porosityModel(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), fvMeshDistribute::printMeshInfo(), Foam::meshCheck::printMeshStats(), constSolidThermo::readProperty(), ensightParts::recalculate(), sampledIsoSurfaceSurface::sampledIsoSurfaceSurface(), addPatchCellLayer::setRefinement(), CellZoneInjection< CloudType >::topoChange(), addPatchCellLayer::updateZones(), and zeroDimensionalMassSourceBase::zone().

| const Foam::globalMeshData & globalData | ( | ) | const |
Return parallel info.
Definition at line 1521 of file polyMesh.C.
References Foam::endl(), and Foam::Pout.
Referenced by structured::decompose(), decompositionMethod::decompose(), Dual< Type >::Dual(), PatchTools::edgeNormals(), PatchTools::gatherAndMerge(), pistonBowlPoints::generate(), syncTools::getMasterEdges(), syncTools::getMasterPoints(), globalIndexAndTransform::globalIndexAndTransform(), pointBoundaryMesh::movePoints(), polyBoundaryMesh::movePoints(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::PatchEdgeFaceWave(), mappedExtrudedPatchBase::patchFaceAreas(), mappedExtrudedPatchBase::patchLocalPoints(), PatchTools::pointNormals(), structuredRenumber::renumber(), motionSmootherAlgo::setDisplacement(), Foam::fvc::smooth(), syncTools::syncEdgeList(), syncTools::syncEdgeMap(), syncTools::syncPointList(), syncTools::syncPointMap(), pointBoundaryMesh::topoChange(), polyBoundaryMesh::topoChange(), distributor::update(), loadBalancer::update(), cellsToCellsStabilisation::update(), and FacePostProcessing< CloudType >::write().


| Foam::label comm | ( | ) | const |
Return communicator used for parallel communication.
Definition at line 1539 of file polyMesh.C.
Referenced by fvMesh::comm(), and processorPolyPatch::comm().

| Foam::label & comm | ( | ) |
Return communicator used for parallel communication.
Definition at line 1545 of file polyMesh.C.
|
inline |
Return the object registry.
Definition at line 464 of file polyMesh.H.
Referenced by fvMesh::thisDb().

|
inline |
Is mesh moving.
Definition at line 473 of file polyMesh.H.
References polyMesh::moving_.
Referenced by backwardDdtScheme< Type >::backwardDdtScheme(), Foam::tracking::coordinates(), CrankNicolsonDdtScheme< Type >::CrankNicolsonDdtScheme(), Foam::MULES::explicitSolve(), Foam::tracking::faceNormalAndDisplacement(), EulerD2dt2Scheme< Type >::fvcD2dt2(), backwardDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvmDdt(), Foam::MULES::limit(), volumeInjection::modify(), mappedPatchBaseBase::moving(), Foam::tracking::position(), compressibleVoF::pressureCorrector(), isothermalFluid::pressureWork(), shockFluid::thermophysicalPredictor(), movingMappedWallVelocityFvPatchVectorField::updateCoeffs(), movingWallSlipVelocityFvPatchVectorField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), and noSlipFvPatchVectorField::updateCoeffs().

|
inline |
Has the mesh topology changed this time-step.
Definition at line 479 of file polyMesh.H.
References polyMesh::topoChanged_.
Referenced by incompressibleDenseParticleFluid::motionCorrector(), incompressibleFluid::motionCorrector(), isothermalFluid::motionCorrector(), multiphaseEuler::motionCorrector(), shockFluid::motionCorrector(), VoFSolver::motionCorrector(), multiphaseEuler::moveMesh(), and VoFSolver::moveMesh().

|
inline |
Is mesh changing.
Moving or mesh topology changed this time-step)
Definition at line 486 of file polyMesh.H.
Referenced by Foam::correctUphiBCs(), waveAlphaFvPatchScalarField::faceCellSubset(), waveVelocityFvPatchVectorField::faceCellSubset(), incompressibleDenseParticleFluid::motionCorrector(), incompressibleFluid::motionCorrector(), isothermalFluid::motionCorrector(), multiphaseEuler::motionCorrector(), shockFluid::motionCorrector(), and VoFSolver::motionCorrector().

|
virtual |
Reset the points.
without storing old points or returning swept volumes
Reimplemented in fvMesh.
Definition at line 1407 of file polyMesh.C.
References primitiveMesh::clearGeom(), Foam::endl(), InfoInFunction, Foam::name(), and Foam::Zero.
Referenced by fvMesh::setPoints().


|
virtual |
Move points, returns volumes swept by faces in motion.
Reimplemented in fvMesh.
Definition at line 1449 of file polyMesh.C.
References Foam::endl(), InfoInFunction, primitiveMesh::movePoints(), Foam::name(), timeIndex, and Foam::Zero.
Referenced by fvMesh::movePoints().


| void resetMotion | ( | ) | const |
Reset motion.
Definition at line 1513 of file polyMesh.C.
Referenced by polyMeshAdder::add().

|
inline |
Return non-const access to the pointZones.
Definition at line 505 of file polyMesh.H.
|
inline |
Return non-const access to the faceZones.
Definition at line 511 of file polyMesh.H.
|
inline |
Return non-const access to the cellZones.
Definition at line 517 of file polyMesh.H.
Add boundary patches.
Definition at line 1106 of file polyMesh.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, forAll, p, and Foam::Zero.
Referenced by meshReader::mesh(), and Foam::polyMeshUnMergeCyclics().


| void addZones | ( | const List< pointZone * > & | pz, |
| const List< faceZone * > & | fz, | ||
| const List< cellZone * > & | cz | ||
| ) |
Add mesh zones.
Definition at line 1144 of file polyMesh.C.
References Foam::abort(), IOobject::AUTO_WRITE, Foam::FatalError, FatalErrorInFunction, forAll, Foam::name(), and List< T >::size().
Referenced by polyTopoChange::makeMesh().


Add/insert single patch.
Reimplemented in fvMesh.
Definition at line 1245 of file polyMesh.C.
References meshObjects::clearUpto(), and polyPatch::clone().
Referenced by polyMeshAdder::add(), and fvMesh::addPatch().


| void addedPatches | ( | ) |
Complete addition of single patches.
Definition at line 1319 of file polyMesh.C.
Referenced by fvMeshTools::addedPatches().

|
virtual |
Reorder and trim existing patches. If validBoundary the new.
situation is consistent across processors
Reimplemented in fvMesh.
Definition at line 1202 of file polyMesh.C.
References meshObjects::clearUpto(), and Foam::name().
Referenced by polyMeshAdder::add(), and fvMesh::reorderPatches().


| Foam::polyMesh::readUpdateState readUpdate | ( | ) |
Update the mesh based on the mesh files saved in.
time directories
Definition at line 124 of file polyMeshIO.C.
References cells, Foam::clone(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, InfoInFunction, IOobject::MUST_READ, Foam::name(), polyBoundaryMesh::names(), Foam::nl, IOobject::NO_WRITE, regIOobject::objectPath(), patchi, polyMesh::POINTS_MOVED, IOobject::READ_IF_PRESENT, UPtrList< T >::size(), List< T >::size(), polyMesh::TOPO_CHANGE, polyMesh::TOPO_PATCH_CHANGE, Foam::type(), polyBoundaryMesh::types(), polyMesh::UNCHANGED, autoPtr< T >::valid(), and Foam::Zero.
Referenced by fvMesh::readUpdate().


| void topoChangeZones | ( | const polyTopoChangeMap & | map | ) |
Update zones using the given map.
Definition at line 39 of file polyMeshUpdate.C.
References ZoneList< ZoneType, ZonesType, MeshType >::topoChange().

|
virtual |
Update topology using the given map.
Reimplemented in fvMesh.
Definition at line 47 of file polyMeshUpdate.C.
References polyTopoChangeMap::cellMap(), Foam::endl(), forAll, InfoInFunction, Field< Type >::map(), Foam::name(), newPointi, polyTopoChangeMap::pointMap(), List< T >::setSize(), and Foam::Zero.
Referenced by fvMesh::topoChange().


|
virtual |
Update from another mesh using the given map.
Reimplemented in fvMesh.
Definition at line 134 of file polyMeshUpdate.C.
Referenced by fvMesh::mapMesh().

|
virtual |
Redistribute or update using the given distribution map.
Reimplemented in fvMesh.
Definition at line 146 of file polyMeshUpdate.C.
Referenced by fvMesh::distribute().

| void removeBoundary | ( | ) |
Remove boundary patches.
Definition at line 36 of file polyMeshClear.C.
References PtrList< T >::clear(), polyMesh::clearOut(), Foam::endl(), InfoInFunction, and PtrList< T >::setSize().
Referenced by Foam::polyMeshUnMergeCyclics(), and fvMesh::removeFvBoundary().


| void resetPrimitives | ( | pointField && | points, |
| faceList && | faces, | ||
| labelList && | owner, | ||
| labelList && | neighbour, | ||
| const labelList & | patchSizes, | ||
| const labelList & | patchStarts, | ||
| const bool | validBoundary = true |
||
| ) |
Reset mesh primitive data. Assumes all patch info correct.
(so does e.g. parallel communication). If not use validBoundary=false
Definition at line 715 of file polyMesh.C.
References Foam::abort(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), Foam::min(), Foam::name(), Foam::notNull(), nPoints, patchi, points, Foam::returnReduce(), and List< T >::size().
Referenced by polyMeshAdder::add(), polyTopoChange::changeMesh(), and Foam::polyMeshZipUpCells().


| void swap | ( | polyMesh & | otherMesh | ) |
Swap mesh.
For run-time mesh replacement and mesh to mesh mapping
Definition at line 817 of file polyMesh.C.
References Foam::abort(), polyBoundaryMesh::clearAddressing(), polyMesh::clearAddressing(), polyBoundaryMesh::clearGeom(), Foam::clone(), Foam::FatalError, FatalErrorInFunction, forAll, objectRegistry::foundObject(), Foam::max(), mesh, Foam::min(), Foam::name(), DemandDrivenMeshObject< polyMesh, RepatchableMeshObject, pointMesh >::New(), patches, pointMesh::reset(), polyMesh::setInstance(), HashTable< T, Key, Hash >::size(), UPtrList< T >::size(), and polyBoundaryMesh::topoChange().
Referenced by fvMesh::swap().


| void printAllocated | ( | ) | const |
Print a list of all the currently allocated mesh data.
Definition at line 53 of file polyMeshClear.C.
References Foam::endl(), Foam::Pout, and primitiveMesh::printAllocated().
Referenced by fvMesh::printAllocated().


| void clearGeom | ( | ) |
Clear geometry.
Definition at line 71 of file polyMeshClear.C.
References primitiveMesh::clearGeom(), Foam::endl(), InfoInFunction, and Foam::Zero.
Referenced by fvMesh::clearGeom().


| void clearAddressing | ( | const bool | isMeshUpdate = false | ) |
Clear addressing.
Definition at line 95 of file polyMeshClear.C.
References primitiveMesh::clearAddressing(), meshObjects::clearUpto(), Foam::endl(), InfoInFunction, and Foam::Zero.
Referenced by polyMesh::swap().


| void clearOut | ( | ) |
Clear all geometry and addressing unnecessary for CFD.
Definition at line 168 of file polyMeshClear.C.
Referenced by fvMesh::clearOut(), and polyMesh::removeBoundary().

| void clearPrimitives | ( | ) |
Clear primitive data (points, faces and cells)
Definition at line 155 of file polyMeshClear.C.
| void clearTetBasePtIs | ( | ) |
Clear tet base points.
Definition at line 175 of file polyMeshClear.C.
References Foam::endl(), and InfoInFunction.

| void clearCellTree | ( | ) |
Clear cell tree data.
Definition at line 186 of file polyMeshClear.C.
References Foam::endl(), and InfoInFunction.

| void removeFiles | ( | const fileName & | instanceDir | ) | const |
Remove all files from mesh instance.
Definition at line 1551 of file polyMesh.C.
References Foam::isDir(), fileName::path(), Foam::rm(), and Foam::rmDir().
Referenced by meshReader::writeMesh().


| void removeFiles | ( | ) | const |
Remove all files from mesh instance()
Definition at line 1575 of file polyMesh.C.
Referenced by polyMesh::polyMesh().

Find the cell, tetFacei and tetPti for point p.
Definition at line 1581 of file polyMesh.C.
References indexedOctree< Type >::findInside(), and p.

Find the tetFacei and tetPti for point p in celli.
tetFacei and tetPtI are set to -1 if not found
Definition at line 1606 of file polyMesh.C.
References tetIndices::face(), polyMeshTetDecomposition::findTet(), mesh, p, and tetIndices::tetPt().

| bool pointInCell | ( | const point & | p, |
| label | celli, | ||
| const cellDecomposition | decompMode = CELL_TETS |
||
| ) | const |
Test if point p is in the celli.
Definition at line 1622 of file polyMesh.C.
References triangle< Point, PointRef >::area(), cells, triangle< Point, PointRef >::centre(), f(), tetIndices::faceTri(), forAll, p, primitiveMesh::pointInCell(), points, and List< T >::size().
Referenced by treeDataCell::contains(), and cellsToCells::srcToTgtPoint().


| Foam::label findCell | ( | const point & | p, |
| const cellDecomposition | decompMode = CELL_TETS |
||
| ) | const |
Find cell enclosing this location and return index.
If not found -1 is returned
Definition at line 1732 of file polyMesh.C.
References p, and UPstream::parRun().
Referenced by refinementParameters::findCells(), probes::findElements(), and meshRefinement::findRegion().


|
virtual |
Write the underlying polyMesh.
Reimplemented from objectRegistry.
Reimplemented in fvMesh.
Definition at line 525 of file polyMeshIO.C.
References Foam::fileHandler(), IOobject::filePath(), Foam::name(), IOobject::NO_WRITE, UPstream::parRun(), fileOperation::rm(), Foam::vtkWriteOps::write(), and objectRegistry::writeObject().
Referenced by fvMesh::writeObject().


|
protected |
Member data pending transfer to fvMesh.
Is the mesh moving
Definition at line 249 of file polyMesh.H.
Referenced by polyMesh::moving().
|
protected |
Has the mesh topology changed.
Definition at line 252 of file polyMesh.H.
Referenced by polyMesh::topoChanged(), and list::update().
|
static |
Return the default region name.
Definition at line 270 of file polyMesh.H.
Referenced by writeFile::baseFileDir(), regIOobject::checkIn(), polyMesh::found(), nonConformalCyclicPolyPatch::intersection(), meshReader::mesh(), probes::prepare(), nonConformalCyclicPolyPatch::rays(), Foam::regionName(), layerAverage::write(), and streamlines::write().
|
static |
Return the mesh sub-directory name (usually "polyMesh")
Definition at line 273 of file polyMesh.H.
Referenced by refinementHistoryConstraint::add(), refinementHistoryConstraint::apply(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), componentDisplacementMotionSolver::componentDisplacementMotionSolver(), topoSet::localPath(), solidBodyMotionDisplacementPointPatchVectorField::localPoints0(), fileOperation::nProcs(), points0MotionSolver::points0MotionSolver(), polyMesh::polyMesh(), domainDecomposition::readDecompose(), points0MotionSolver::readPoints0(), domainDecomposition::readReconstruct(), domainDecomposition::writeComplete(), and domainDecomposition::writeProcs().