|
template<class Face , template< class > class FaceList, class PointField > |
| extrudedMesh (const IOobject &, const PrimitivePatch< Face, FaceList, PointField > &extrudePatch, const extrudeModel &) |
| Construct from the primitivePatch to extrude. More...
|
|
template<class Face , template< class > class FaceList, class PointField > |
| extrudedMesh (const IOobject &, const PrimitivePatch< Face, FaceList, PointField > &extrudePatch, const extrudeModel &) |
| Construct from the primitivePatch to extrude. More...
|
|
template<class Face , template< class > class FaceList, class PointField > |
| extrudedMesh (const IOobject &, const PrimitivePatch< Face, FaceList, PointField > &extrudePatch, const extrudeModel &) |
| Construct from the primitivePatch to extrude. More...
|
|
template<class Face , template< class > class FaceList, class PointField > |
| extrudedMesh (const IOobject &, const PrimitivePatch< Face, FaceList, PointField > &extrudePatch, const extrudeModel &) |
| Construct from the primitivePatch to extrude. More...
|
|
template<class Face , template< class > class FaceList, class PointField > |
Foam::Xfer< Foam::pointField > | extrudedPoints (const PrimitivePatch< Face, FaceList, PointField > &extrudePatch, const extrudeModel &model) |
|
template<class Face , template< class > class FaceList, class PointField > |
Foam::Xfer< Foam::faceList > | extrudedFaces (const PrimitivePatch< Face, FaceList, PointField > &extrudePatch, const extrudeModel &model) |
|
template<class Face , template< class > class FaceList, class PointField > |
Foam::Xfer< Foam::cellList > | extrudedCells (const PrimitivePatch< Face, FaceList, PointField > &extrudePatch, const extrudeModel &model) |
|
| TypeName ("polyMesh") |
| Runtime type information. More...
|
|
| polyMesh (const IOobject &io) |
| Construct from IOobject. More...
|
|
| polyMesh (const IOobject &io, const Xfer< pointField > &points, const Xfer< faceList > &faces, const Xfer< labelList > &owner, const Xfer< labelList > &neighbour, const bool syncPar=true) |
| Construct from IOobject or from components. More...
|
|
| polyMesh (const IOobject &io, const Xfer< pointField > &points, const Xfer< faceList > &faces, const Xfer< cellList > &cells, const bool syncPar=true) |
| Construct without boundary with cells rather than owner/neighbour. More...
|
|
| polyMesh (const IOobject &io, const Xfer< 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) |
| Construct from cell shapes. More...
|
|
| polyMesh (const IOobject &io, const Xfer< 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) |
| Construct from cell shapes with patch information in dictionary. More...
|
|
virtual | ~polyMesh () |
| Destructor. More...
|
|
virtual const fileName & | dbDir () const |
| Override the objectRegistry dbDir for a single-region case. 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...
|
|
void | setInstance (const fileName &) |
| Set the instance for mesh files. More...
|
|
virtual const pointField & | points () const |
| Return raw points. More...
|
|
virtual bool | upToDatePoints (const regIOobject &io) const |
| Return true if io is up-to-date with points. More...
|
|
virtual void | setUpToDatePoints (regIOobject &io) const |
| Set io to be up-to-date with 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...
|
|
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 labelList & | tetBasePtIs () const |
| Return the tetBasePtIs. More...
|
|
const indexedOctree< treeDataCell > & | cellTree () const |
| Return the cell search tree. More...
|
|
const pointZoneMesh & | pointZones () const |
| Return point zone mesh. More...
|
|
const faceZoneMesh & | faceZones () const |
| Return face zone mesh. More...
|
|
const cellZoneMesh & | cellZones () const |
| Return cell zone mesh. 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 | moving (const bool m) |
| Set the mesh to be moving. More...
|
|
bool | topoChanging () const |
| Is mesh topology changing. More...
|
|
bool | topoChanging (const bool c) |
| Set the mesh topology to be changing. More...
|
|
bool | changing () const |
| Is mesh changing (topology changing and/or moving) More...
|
|
virtual tmp< scalarField > | movePoints (const pointField &) |
| Move points, returns volumes swept by faces in motion. More...
|
|
void | resetMotion () const |
| Reset motion. More...
|
|
pointZoneMesh & | pointZones () |
| Return non-const access to the pointZones. More...
|
|
faceZoneMesh & | faceZones () |
| Return non-const access to the faceZones. More...
|
|
cellZoneMesh & | 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 readUpdateState | readUpdate () |
| Update the mesh based on the mesh files saved in. More...
|
|
virtual void | updateMesh (const mapPolyMesh &mpm) |
| Update the mesh corresponding to given map. More...
|
|
void | removeBoundary () |
| Remove boundary patches. More...
|
|
void | resetPrimitives (const Xfer< pointField > &points, const Xfer< faceList > &faces, const Xfer< labelList > &owner, const Xfer< labelList > &neighbour, const labelList &patchSizes, const labelList &patchStarts, const bool validBoundary=true) |
| Reset mesh primitive data. Assumes all patch info correct. 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 | clearAdditionalGeom () |
| Clear geometry not used for CFD (cellTree, tetBasePtIs) 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...
|
|
virtual bool | checkFaceOrthogonality (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check non-orthogonality. More...
|
|
virtual bool | checkFaceSkewness (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check face skewness. More...
|
|
virtual bool | checkEdgeAlignment (const bool report, const Vector< label > &directions, labelHashSet *setPtr) const |
| Check edge alignment for 1D/2D cases. More...
|
|
virtual bool | checkCellDeterminant (const bool report, labelHashSet *setPtr) const |
|
virtual bool | checkMeshMotion (const pointField &newPoints, const bool report=false, const bool detailedReport=false) const |
| Check mesh motion for correctness given motion points. More...
|
|
virtual bool | checkFaceWeight (const bool report, const scalar minWeight=0.05, labelHashSet *setPtr=NULL) const |
| Check for face weights. More...
|
|
virtual bool | checkVolRatio (const bool report, const scalar minRatio=0.01, labelHashSet *setPtr=NULL) const |
| Check for neighbouring cell volumes. 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...
|
|
| 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 label nIoObjects=128) |
| Construct a sub-registry given an IObject to describe the registry. More...
|
|
virtual | ~objectRegistry () |
| Destructor. More...
|
|
const Time & | time () const |
| Return time. More...
|
|
const objectRegistry & | parent () const |
| Return the parent objectRegistry. More...
|
|
wordList | names () const |
| Return the list of names of the IOobjects. More...
|
|
wordList | sortedNames () const |
| Return the sorted list of names of the IOobjects. More...
|
|
wordList | names (const word &className) const |
| Return the list of names of IOobjects of given class name. More...
|
|
wordList | sortedNames (const word &className) const |
| Return the sorted list of names of IOobjects of given class name. More...
|
|
template<class Type > |
wordList | names () const |
| Return the list of names of the IOobjects of given type. More...
|
|
template<class Type > |
wordList | names (const wordRe &name) const |
| Return the list of objects whose name matches the input regExp. More...
|
|
template<class Type > |
wordList | names (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 found? More...
|
|
template<class Type > |
const Type & | lookupObject (const word &name) const |
| Lookup and return the object of the given Type. More...
|
|
template<class Type > |
Type & | lookupObjectRef (const word &name) const |
|
label | getEvent () const |
| Return new event number. 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...
|
|
virtual bool | modified () const |
| Return true if any of the object's files have been modified. More...
|
|
void | readModifiedObjects () |
| Read the objects that have been modified. More...
|
|
virtual bool | readIfModified () |
| Read object if modified. More...
|
|
virtual bool | writeData (Ostream &) const |
| writeData function required by regIOobject but not used More...
|
|
virtual bool | writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const |
| Write the objects. More...
|
|
template<class Type > |
Foam::wordList | names () const |
|
template<class Type > |
Foam::wordList | names (const wordRe &name) const |
|
template<class Type > |
Foam::wordList | names (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) |
|
| 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 &) |
| Construct as copy. More...
|
|
| regIOobject (const regIOobject &, bool registerCopy) |
| Construct as copy, transferring registry registration to copy. More...
|
|
| regIOobject (const word &newName, const regIOobject &, bool registerCopy) |
| Construct as copy with new name, transfering registry registration. More...
|
|
| regIOobject (const IOobject &, const regIOobject &) |
| Construct as copy with new IO parameters. More...
|
|
virtual | ~regIOobject () |
| Destructor. More...
|
|
bool | checkIn () |
| Add object to registry. More...
|
|
bool | checkOut () |
| Remove object from 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...
|
|
Istream & | readStream (const word &) |
| Return Istream and check object type against that given. More...
|
|
void | close () |
| Close Istream. More...
|
|
virtual bool | readData (Istream &) |
| Virtual readData function. More...
|
|
virtual bool | read () |
| Read object. More...
|
|
label | watchIndex () const |
| Return file-monitoring handle. More...
|
|
label & | watchIndex () |
| Return file-monitoring handle. More...
|
|
virtual bool | write () const |
| Write using setting from DB. More...
|
|
void | operator= (const 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 word &name) |
| Construct as copy resetting name. More...
|
|
Foam::autoPtr< IOobject > | clone () const |
| Clone. 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...
|
|
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 |
|
const fileName & | instance () const |
|
fileName & | instance () |
|
const fileName & | local () const |
|
fileName | path () const |
| Return complete path. More...
|
|
fileName | path (const word &instance, const fileName &local="") const |
| Return complete path with alternative instance and local. More...
|
|
fileName | objectPath () const |
| Return complete path + object name. More...
|
|
fileName | filePath () const |
| Return complete path + object name if the file exists. More...
|
|
bool | readHeader (Istream &) |
| Read header. More...
|
|
bool | headerOk () |
| Read and check header info. 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) |
|
bool | set (const Key &, const T &newElmt) |
| Assign a new hashedEntry, overwriting existing entries. More...
|
|
| HashTable (const label size=128) |
| Construct given initial table size. More...
|
|
| HashTable (Istream &, const label size=128) |
| Construct from Istream. More...
|
|
| HashTable (const HashTable< T, Key, Hash > &) |
| Construct as copy. More...
|
|
| HashTable (const Xfer< HashTable< T, Key, Hash > > &) |
| Construct by transferring the parameter contents. 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 Key &) const |
| Return true if hashedEntry is found in table. More...
|
|
iterator | find (const Key &) |
| Find and return an iterator set at the hashedEntry. More...
|
|
const_iterator | find (const Key &) const |
| Find and return an const_iterator set at the hashedEntry. More...
|
|
List< Key > | toc () const |
| Return the table of contents. More...
|
|
List< Key > | sortedToc () const |
| Return the table of contents as a sorted list. More...
|
|
Ostream & | printInfo (Ostream &) const |
| Print information. More...
|
|
bool | insert (const Key &, const T &newElmt) |
| Insert a new hashedEntry. More...
|
|
bool | erase (const iterator &) |
| Erase a hashedEntry specified by given iterator. More...
|
|
bool | erase (const Key &) |
| Erase a hashedEntry specified by the given key. More...
|
|
label | erase (const UList< Key > &) |
| Remove entries given by the listed keys from this HashTable. More...
|
|
label | erase (const HashTable< AnyType, Key, AnyHash > &) |
| Remove entries given by the given keys from this HashTable. More...
|
|
Foam::label | erase (const HashTable< AnyType, Key, 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< T, Key, Hash > &) |
| Transfer the contents of the argument table into this table. More...
|
|
Xfer< HashTable< T, Key, Hash > > | xfer () |
| Transfer contents to the Xfer container. More...
|
|
T & | operator[] (const Key &) |
| Find and return a hashedEntry. More...
|
|
const T & | operator[] (const Key &) const |
| Find and return a hashedEntry. More...
|
|
T & | operator() (const Key &) |
| Find and return a hashedEntry, create it null if not present. More...
|
|
void | operator= (const HashTable< T, Key, Hash > &) |
| Assignment. More...
|
|
bool | operator== (const HashTable< T, Key, Hash > &) const |
| Equality. Hash tables are equal if the keys and values are equal. More...
|
|
bool | operator!= (const HashTable< T, Key, 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...
|
|
| ClassName ("primitiveMesh") |
|
| primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) |
| Construct from components. More...
|
|
virtual | ~primitiveMesh () |
|
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, const Xfer< 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 |
|
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 |
|
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 | checkCellsZipUp (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check cell zip-up. More...
|
|
bool | checkFaceVertices (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check uniqueness of face vertices. More...
|
|
bool | checkFaceFaces (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check face-face connectivity. More...
|
|
bool | checkUpperTriangular (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check face ordering. More...
|
|
bool | checkClosedBoundary (const bool report=false) const |
| Check boundary for closedness. More...
|
|
bool | checkClosedCells (const bool report=false, labelHashSet *setPtr=NULL, labelHashSet *highAspectSetPtr=NULL) const |
| Check cells for closedness. More...
|
|
bool | checkFaceAreas (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for negative face areas. More...
|
|
bool | checkCellVolumes (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for negative cell volumes. More...
|
|
bool | checkFaceOrthogonality (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for non-orthogonality. More...
|
|
bool | checkFacePyramids (const bool report=false, const scalar minPyrVol=-SMALL, labelHashSet *setPtr=NULL) const |
| Check face pyramid volume. More...
|
|
bool | checkFaceSkewness (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check face skewness. More...
|
|
bool | checkFaceAngles (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check face angles. More...
|
|
bool | checkFaceFlatness (const bool report, labelHashSet *setPtr) const |
| Check face warpage: decompose face and check ratio between. More...
|
|
bool | checkEdgeAlignment (const bool report, const Vector< label > &directions, labelHashSet *setPtr=NULL) const |
| Check edge alignment for 1D/2D cases. More...
|
|
bool | checkPoints (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for unused points. More...
|
|
bool | checkPointNearness (const bool report, const scalar reportDistSqr, labelHashSet *setPtr=NULL) const |
| Check for point-point-nearness,. More...
|
|
bool | checkEdgeLength (const bool report, const scalar minLenSqr, labelHashSet *setPtr=NULL) const |
| Check edge length. More...
|
|
bool | checkCellDeterminant (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check cell determinant. More...
|
|
bool | checkTopology (const bool report=false) const |
| Check mesh topology for correctness. More...
|
|
bool | checkGeometry (const bool report=false) const |
| Check mesh geometry (& implicitly topology) for correctness. More...
|
|
bool | checkMesh (const bool report=false) const |
| Check mesh for correctness. Returns false for no error. More...
|
|
bool | checkMeshMotion (const pointField &newPoints, const bool report=false) const |
| Check mesh motion for correctness given motion points. More...
|
|
bool | pointInCellBB (const point &p, label celli) const |
| Is the point in the cell bounding box. More...
|
|
bool | pointInCell (const point &p, label celli) const |
| Is the point 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...
|
|
bool | hasCellShapes () const |
|
bool | hasEdges () const |
|
bool | hasCellCells () const |
|
bool | hasEdgeCells () const |
|
bool | hasPointCells () const |
|
bool | hasCells () const |
|
bool | hasEdgeFaces () const |
|
bool | hasPointFaces () const |
|
bool | hasCellEdges () const |
|
bool | hasFaceEdges () const |
|
bool | hasPointEdges () const |
|
bool | hasPointPoints () const |
|
bool | hasCellPoints () const |
|
bool | hasCellCentres () const |
|
bool | hasFaceCentres () const |
|
bool | hasCellVolumes () const |
|
bool | hasFaceAreas () const |
|
const labelList & | cellCells (const label cellI, dynamicLabelList &) const |
| cellCells using cells. More...
|
|
const labelList & | cellCells (const label cellI) const |
|
const labelList & | cellPoints (const label cellI, dynamicLabelList &) const |
| cellPoints using cells More...
|
|
const labelList & | cellPoints (const label cellI) const |
|
const labelList & | pointCells (const label pointI, dynamicLabelList &) const |
| pointCells using pointFaces More...
|
|
const labelList & | pointCells (const label pointI) const |
|
const labelList & | pointPoints (const label pointI, dynamicLabelList &) const |
| pointPoints using edges, pointEdges More...
|
|
const labelList & | pointPoints (const label pointI) const |
|
const labelList & | faceEdges (const label faceI, dynamicLabelList &) const |
| faceEdges using pointFaces, edges, pointEdges More...
|
|
const labelList & | faceEdges (const label faceI) const |
|
const labelList & | edgeFaces (const label edgeI, dynamicLabelList &) const |
| edgeFaces using pointFaces, edges, pointEdges More...
|
|
const labelList & | edgeFaces (const label edgeI) const |
|
const labelList & | edgeCells (const label edgeI, dynamicLabelList &) const |
| edgeCells using pointFaces, edges, pointEdges More...
|
|
const labelList & | edgeCells (const label edgeI) const |
|
const labelList & | cellEdges (const label cellI, dynamicLabelList &) 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...
|
|
| ClassName ("primitiveMesh") |
|
| primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) |
| Construct from components. 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, const Xfer< 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 |
|
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...
|
|
virtual bool | checkUpperTriangular (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check face ordering. More...
|
|
virtual bool | checkCellsZipUp (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check cell zip-up. More...
|
|
virtual bool | checkFaceVertices (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check uniqueness of face vertices. More...
|
|
virtual bool | checkPoints (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for unused points. More...
|
|
virtual bool | checkFaceFaces (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check face-face connectivity. More...
|
|
virtual bool | checkClosedBoundary (const bool report=false) const |
| Check boundary for closedness. More...
|
|
virtual bool | checkClosedCells (const bool report=false, labelHashSet *setPtr=NULL, labelHashSet *highAspectSetPtr=NULL, const Vector< label > &solutionD=Vector< label >::one) const |
| Check cells for closedness. More...
|
|
virtual bool | checkFaceAreas (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for negative face areas. More...
|
|
virtual bool | checkCellVolumes (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for negative cell volumes. More...
|
|
virtual bool | checkFacePyramids (const bool report=false, const scalar minPyrVol=-SMALL, labelHashSet *setPtr=NULL) const |
| Check face pyramid volume. More...
|
|
virtual bool | checkFaceAngles (const bool report=false, const scalar maxSin=10, labelHashSet *setPtr=NULL) const |
| Check face angles. More...
|
|
virtual bool | checkFaceFlatness (const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
| Check face warpage: decompose face and check ratio between. More...
|
|
virtual bool | checkPointNearness (const bool report, const scalar reportDistSqr, labelHashSet *setPtr=NULL) const |
| Check for point-point-nearness,. More...
|
|
virtual bool | checkEdgeLength (const bool report, const scalar minLenSqr, labelHashSet *setPtr=NULL) const |
| Check edge length. More...
|
|
virtual bool | checkConcaveCells (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check for concave cells by the planes of faces. More...
|
|
virtual bool | checkTopology (const bool report=false) const |
| Check mesh topology for correctness. More...
|
|
virtual bool | checkGeometry (const bool report=false) const |
| Check mesh geometry (& implicitly topology) for correctness. More...
|
|
virtual bool | checkMesh (const bool report=false) const |
| Check mesh for correctness. Returns false for no error. 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...
|
|
bool | hasCellShapes () const |
|
bool | hasEdges () const |
|
bool | hasCellCells () const |
|
bool | hasEdgeCells () const |
|
bool | hasPointCells () const |
|
bool | hasCells () const |
|
bool | hasEdgeFaces () const |
|
bool | hasPointFaces () const |
|
bool | hasCellEdges () const |
|
bool | hasFaceEdges () const |
|
bool | hasPointEdges () const |
|
bool | hasPointPoints () const |
|
bool | hasCellPoints () const |
|
bool | hasCellCentres () const |
|
bool | hasFaceCentres () const |
|
bool | hasCellVolumes () const |
|
bool | hasFaceAreas () const |
|
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...
|
|
|
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 |
|
enum | fileCheckTypes { timeStamp,
timeStampMaster,
inotify,
inotifyMaster
} |
| Types of communications. More...
|
|
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...
|
|
typedef T | value_type |
| Type of values the HashTable contains. More...
|
|
typedef T & | reference |
| Type that can be used for storing into HashTable::value_type. More...
|
|
typedef label | size_type |
| The type that can represent the size of a HashTable. More...
|
|
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 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) |
|
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 void | replaceFileName (const word &from, const word &to) |
|
static void | calcCells (cellList &, const unallocLabelList &own, const unallocLabelList &nei, const label nCells=-1) |
| Helper function to calculate cell-face addressing from. More...
|
|
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 scalar | setClosedThreshold (const scalar) |
| Set the closedness ratio warning threshold. More...
|
|
static scalar | setAspectThreshold (const scalar) |
| Set the aspect ratio warning threshold. More...
|
|
static scalar | setNonOrthThreshold (const scalar) |
| Set the non-orthogonality warning threshold in degrees. More...
|
|
static scalar | setSkewThreshold (const scalar) |
| Set the skewness warning threshold as percentage. More...
|
|
const typedef T & | const_reference |
| Type that can be used for storing into constant. More...
|
|
static word | defaultRegion = "region0" |
| Return the default region name. More...
|
|
static word | meshSubDir = "polyMesh" |
| Return the mesh sub-directory name (usually "polyMesh") More...
|
|
static const NamedEnum< fileCheckTypes, 4 > | fileCheckTypesNames |
|
static int | fileModificationSkew |
|
static fileCheckTypes | fileModificationChecking |
|
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...
|
|
static const debug::tolerancesSwitch | closedThreshold_ = 1.0e-6 |
| Static data to control mesh checking. More...
|
|
static const debug::tolerancesSwitch | aspectThreshold_ = 1000 |
| Aspect ratio warning threshold. More...
|
|
static Foam::debug::tolerancesSwitch | nonOrthThreshold_ = 70 |
| Non-orthogonality warning threshold in deg. More...
|
|
static const debug::tolerancesSwitch | skewThreshold_ = 4 |
| Skewness warning threshold. More...
|
|
static Foam::debug::tolerancesSwitch | faceAngleThreshold_ |
| Face angle threshold. More...
|
|
static const debug::tolerancesSwitch | faceFlatnessThreshold_ |
| Face flatness threshold. More...
|
|
Istream * | objectStream () |
| Construct and return an IFstream for the object. More...
|
|
Istream * | objectStream (const fileName &) |
| Construct and return an IFstream for the object given the. More...
|
|
void | setBad (const string &) |
| Set the object state to bad. More...
|
|
| primitiveMesh () |
| Construct null. More...
|
|
void | calcFaceCentresAndAreas () const |
| Calculate face centres and areas. More...
|
|
void | makeFaceCentresAndAreas (const pointField &p, vectorField &fCtrs, vectorField &fAreas) const |
|
void | calcCellCentresAndVols () const |
| Calculate cell centres and volumes. More...
|
|
void | makeCellCentresAndVols (const vectorField &fCtrs, const vectorField &fAreas, vectorField &cellCtrs, scalarField &cellVols) const |
|
void | calcEdgeVectors () const |
| Calculate edge vectors. More...
|
|
bool | checkDuplicateFaces (const label, const Map< label > &, label &nBaffleFaces, labelHashSet *) const |
| Check if all points on face are shared with another face. More...
|
|
bool | checkCommonOrder (const label, const Map< label > &, labelHashSet *) const |
| Check that shared points are in consecutive order. More...
|
|
bool | checkClosedBoundary (const vectorField &, const bool, const PackedBoolList &) const |
| Check boundary for closedness. More...
|
|
bool | checkClosedCells (const vectorField &faceAreas, const scalarField &cellVolumes, const bool report, labelHashSet *setPtr, labelHashSet *aspectSetPtr, const Vector< label > &meshD) const |
| Check cells for closedness. More...
|
|
bool | checkFaceAreas (const vectorField &faceAreas, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
| Check for negative face areas. More...
|
|
bool | checkCellVolumes (const scalarField &vols, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
| Check for negative cell volumes. More...
|
|
bool | checkFaceOrthogonality (const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
| Check for non-orthogonality. More...
|
|
bool | checkFacePyramids (const pointField &points, const vectorField &ctrs, const bool report, const bool detailedReport, const scalar minPyrVol, labelHashSet *setPtr) const |
| Check face pyramid volume. More...
|
|
bool | checkFaceSkewness (const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
| Check face skewness. More...
|
|
bool | checkFaceAngles (const pointField &points, const vectorField &faceAreas, const bool report, const scalar maxDeg, labelHashSet *setPtr) const |
| Check face angles. More...
|
|
bool | checkFaceFlatness (const pointField &points, const vectorField &faceCentres, const vectorField &faceAreas, const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
| Check face warpage. More...
|
|
bool | checkConcaveCells (const vectorField &fAreas, const pointField &fCentres, const bool report, labelHashSet *setPtr) const |
| Check for concave cells by the planes of faces. More...
|
|
| primitiveMesh () |
| Construct null. More...
|
|
static bool | masterOnlyReading = false |
| To flag master-only reading of objects. More...
|
|
static scalar | closedThreshold_ |
| Static data to control mesh checking. More...
|
|
static scalar | aspectThreshold_ |
| Aspect ratio warning threshold. More...
|
|
static scalar | nonOrthThreshold_ |
| Non-orthogonality warning threshold in deg. More...
|
|
static scalar | skewThreshold_ |
| Skewness warning threshold. More...
|
|
static scalar | planarCosAngle_ = 1.0e-6 |
| Threshold where faces are considered coplanar. More...
|
|