Creates dual of polyMesh. More...
Public Member Functions | |
ClassName ("polyDualMesh") | |
polyDualMesh (const IOobject &) | |
polyDualMesh (const polyMesh &, const labelList &featureEdges, const labelList &featurePoints) | |
polyDualMesh (const polyMesh &, const scalar featureCos) | |
~polyDualMesh () | |
const labelIOList & | cellPoint () const |
const labelIOList & | boundaryFacePoint () const |
![]() | |
TypeName ("polyMesh") | |
polyMesh (const IOobject &io, const bool doInit=true) | |
polyMesh (const IOobject &io, const zero, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, faceList &&faces, labelList &&owner, labelList &&neighbour, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, faceList &&faces, cellList &&cells, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const wordList &boundaryPatchTypes, const word &defaultBoundaryPatchName, const word &defaultBoundaryPatchType, const wordList &boundaryPatchPhysicalTypes, const bool syncPar=true) | |
polyMesh (const IOobject &io, pointField &&points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const PtrList< dictionary > &boundaryDicts, const word &defaultBoundaryPatchName, const word &defaultBoundaryPatchType, const bool syncPar=true) | |
virtual | ~polyMesh () |
virtual const fileName & | dbDir () const |
fileName | meshDir () const |
const fileName & | pointsInstance () const |
const fileName & | facesInstance () const |
void | setInstance (const fileName &instance, const IOobject::writeOption wOpt=IOobject::AUTO_WRITE) |
virtual const pointField & | points () const |
virtual bool | upToDatePoints (const regIOobject &io) const |
virtual void | setUpToDatePoints (regIOobject &io) const |
virtual const faceList & | faces () const |
virtual const labelList & | faceOwner () const |
virtual const labelList & | faceNeighbour () const |
virtual const pointField & | oldPoints () const |
virtual const pointField & | oldCellCentres () const |
const polyBoundaryMesh & | boundaryMesh () const |
const boundBox & | bounds () const |
const Vector< label > & | geometricD () const |
label | nGeometricD () const |
const Vector< label > & | solutionD () const |
label | nSolutionD () const |
const labelIOList & | tetBasePtIs () const |
const indexedOctree< treeDataCell > & | cellTree () const |
const pointZoneMesh & | pointZones () const noexcept |
const faceZoneMesh & | faceZones () const noexcept |
const cellZoneMesh & | cellZones () const noexcept |
const globalMeshData & | globalData () const |
label | comm () const noexcept |
label & | comm () noexcept |
const objectRegistry & | thisDb () const noexcept |
virtual bool | dynamic () const |
bool | moving () const noexcept |
bool | moving (const bool on) noexcept |
bool | topoChanging () const noexcept |
bool | topoChanging (const bool on) noexcept |
bool | changing () const noexcept |
virtual tmp< scalarField > | movePoints (const pointField &) |
void | resetMotion () const |
pointZoneMesh & | pointZones () noexcept |
faceZoneMesh & | faceZones () noexcept |
cellZoneMesh & | cellZones () noexcept |
void | addPatches (PtrList< polyPatch > &plist, const bool validBoundary=true) |
void | addPatches (const List< polyPatch * > &p, const bool validBoundary=true) |
void | addZones (const List< pointZone * > &pz, const List< faceZone * > &fz, const List< cellZone * > &cz) |
virtual bool | init (const bool doInit) |
virtual readUpdateState | readUpdate () |
virtual void | updateMesh (const mapPolyMesh &mpm) |
void | removeBoundary () |
void | resetPrimitives (autoPtr< pointField > &&points, autoPtr< faceList > &&faces, autoPtr< labelList > &&owner, autoPtr< labelList > &&neighbour, const labelUList &patchSizes, const labelUList &patchStarts, const bool validBoundary=true) |
void | clearGeom () |
void | updateGeomPoints (pointIOField &&newPoints, autoPtr< labelIOList > &newTetBasePtIsPtr) |
void | clearAddressing (const bool isMeshUpdate=false) |
void | clearOut () |
void | clearPrimitives () |
void | clearTetBasePtIs () |
void | clearCellTree () |
void | removeFiles (const fileName &instanceDir) const |
void | removeFiles () const |
bool | hasTetBasePtIs () const |
virtual bool | checkFaceOrthogonality (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceSkewness (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkEdgeAlignment (const bool report, const Vector< label > &directions, labelHashSet *setPtr) const |
virtual bool | checkCellDeterminant (const bool report, labelHashSet *setPtr) const |
virtual bool | checkMeshMotion (const pointField &newPoints, const bool report=false, const bool detailedReport=false) const |
virtual bool | checkFaceWeight (const bool report, const scalar minWeight=0.05, labelHashSet *setPtr=nullptr) const |
virtual bool | checkVolRatio (const bool report, const scalar minRatio=0.01, labelHashSet *setPtr=nullptr) const |
void | findCellFacePt (const point &p, label &celli, label &tetFacei, label &tetPti) const |
void | findTetFacePt (const label celli, const point &p, label &tetFacei, label &tetPti) const |
bool | pointInCell (const point &p, label celli, const cellDecomposition=CELL_TETS) const |
label | findCell (const point &p, const cellDecomposition=CELL_TETS) const |
![]() | |
TypeName ("objectRegistry") | |
objectRegistry (const Time &db, const label nObjects=128) | |
objectRegistry (const IOobject &io, const label nObjects=128) | |
virtual | ~objectRegistry () |
const objectRegistry & | thisDb () const noexcept |
const objectRegistry & | parent () const noexcept |
const Time & | time () const noexcept |
bool | isTimeDb () const noexcept |
HashTable< wordHashSet > | classes () const |
template<class MatchPredicate > | |
HashTable< wordHashSet > | classes (const MatchPredicate &matchName) const |
label | count (const char *clsName) const |
template<class MatchPredicate > | |
label | count (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
label | count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
label | count (const bool strict=false) const |
template<class Type , class MatchPredicate > | |
label | count (const MatchPredicate &matchName) const |
wordList | names () const |
wordList | names (const char *clsName) const |
template<class MatchPredicate > | |
wordList | names (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
wordList | names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
wordList | names () const |
template<class Type , class MatchPredicate > | |
wordList | names (const MatchPredicate &matchName) const |
wordList | sortedNames () const |
wordList | sortedNames (const char *clsName) const |
template<class MatchPredicate > | |
wordList | sortedNames (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
wordList | sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
wordList | sortedNames () const |
template<class Type , class MatchPredicate > | |
wordList | sortedNames (const MatchPredicate &matchName) const |
const objectRegistry & | subRegistry (const word &name, const bool forceCreate=false, const bool recursive=false) const |
template<class Type > | |
HashTable< const Type * > | lookupClass (const bool strict=false) const |
template<class Type > | |
HashTable< Type * > | lookupClass (const bool strict=false) |
const regIOobject * | cfindIOobject (const word &name, const bool recursive=false) const |
bool | found (const word &name, const bool recursive=false) const |
template<class Type > | |
bool | foundObject (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type * | cfindObject (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type * | findObject (const word &name, const bool recursive=false) const |
template<class Type > | |
Type * | findObject (const word &name, const bool recursive=false) |
template<class Type > | |
Type * | getObjectPtr (const word &name, const bool recursive=false) const |
template<class Type > | |
const Type & | lookupObject (const word &name, const bool recursive=false) const |
template<class Type > | |
Type & | lookupObjectRef (const word &name, const bool recursive=false) const |
label | getEvent () const |
bool | checkIn (regIOobject *io) const |
bool | checkIn (regIOobject &io) const |
bool | checkOut (regIOobject *io) const |
bool | checkOut (regIOobject &io) const |
bool | checkOut (const word &key) const |
void | clear () |
void | clearStorage () |
bool | erase (const iterator &iter) |
bool | erase (const word &key) |
label | erase (std::initializer_list< word > keys) |
label | erase (const UList< word > &keys) |
virtual void | rename (const word &newName) |
virtual bool | modified () const |
void | readModifiedObjects () |
virtual bool | readIfModified () |
virtual bool | writeData (Ostream &) const |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
template<class Type > | |
const Type * | lookupObjectPtr (const word &name, bool recursive=false) const |
template<class Type > | |
Type * | lookupObjectRefPtr (const word &name, bool recursive=false) const |
template<class MatchPredicate > | |
Foam::HashTable< Foam::wordHashSet > | classesImpl (const objectRegistry &list, const MatchPredicate &matchName) |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::label | countImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) |
template<class Type , class MatchPredicate > | |
Foam::label | countTypeImpl (const objectRegistry &list, const MatchPredicate &matchName) |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | namesImpl (const objectRegistry &list, const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName, const bool doSort) |
template<class Type , class MatchPredicate > | |
Foam::wordList | namesTypeImpl (const objectRegistry &list, const MatchPredicate &matchName, const bool doSort) |
template<class MatchPredicate > | |
Foam::HashTable< Foam::wordHashSet > | classes (const MatchPredicate &matchName) const |
template<class MatchPredicate > | |
Foam::label | count (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::label | count (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type , class MatchPredicate > | |
Foam::label | count (const MatchPredicate &matchName) const |
template<class Type > | |
Foam::label | count (const bool strict) const |
template<class MatchPredicate > | |
Foam::wordList | names (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | names (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
Foam::wordList | names () const |
template<class Type , class MatchPredicate > | |
Foam::wordList | names (const MatchPredicate &matchName) const |
template<class MatchPredicate > | |
Foam::wordList | sortedNames (const MatchPredicate &matchClass) const |
template<class MatchPredicate1 , class MatchPredicate2 > | |
Foam::wordList | sortedNames (const MatchPredicate1 &matchClass, const MatchPredicate2 &matchName) const |
template<class Type > | |
Foam::wordList | sortedNames () const |
template<class Type , class MatchPredicate > | |
Foam::wordList | sortedNames (const MatchPredicate &matchName) const |
template<class Type > | |
Foam::HashTable< const Type * > | lookupClass (const bool strict) const |
template<class Type > | |
Foam::HashTable< Type * > | lookupClass (const bool strict) |
![]() | |
TypeName ("regIOobject") | |
regIOobject (const IOobject &io, const bool isTimeObject=false) | |
regIOobject (const regIOobject &rio) | |
regIOobject (const regIOobject &rio, bool registerCopy) | |
regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
regIOobject (const IOobject &io, const regIOobject &rio) | |
virtual | ~regIOobject () |
bool | checkIn () |
bool | checkOut () |
virtual void | addWatch () |
bool | ownedByRegistry () const |
bool | store () |
void | release (const bool unregister=false) |
label | eventNo () const |
label & | eventNo () |
bool | upToDate (const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
void | setUpToDate () |
const dictionary * | findMetaData () const noexcept |
dictionary & | getMetaData () noexcept |
void | removeMetaData () |
virtual void | updateMetaData () |
virtual fileName | filePath () const |
bool | headerOk () |
Istream & | readStream (const word &, const bool valid=true) |
void | close () |
virtual bool | readData (Istream &) |
virtual bool | read () |
virtual label | addWatch (const fileName &) |
const labelList & | watchIndices () const |
labelList & | watchIndices () |
virtual bool | write (const bool valid=true) const |
virtual bool | global () const |
void | operator= (const IOobject &io) |
virtual bool | writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const |
![]() | |
TypeName ("IOobject") | |
IOobject (const IOobject &)=default | |
virtual | ~IOobject ()=default |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const IOobject &io, const objectRegistry ®istry) | |
IOobject (const IOobject &io, const word &name) | |
IOobject (const IOobject &io, readOption, writeOption) | |
autoPtr< IOobject > | clone () const |
autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
const objectRegistry & | db () const noexcept |
const Time & | time () const |
const word & | name () const noexcept |
const word & | headerClassName () const noexcept |
word & | headerClassName () noexcept |
const string & | note () const noexcept |
string & | note () noexcept |
bool | registerObject () const noexcept |
bool | registerObject (bool on) noexcept |
bool | globalObject () const noexcept |
bool | globalObject (bool on) noexcept |
unsigned | labelByteSize () const noexcept |
unsigned | scalarByteSize () const noexcept |
bool | isHeaderClassName (const word &clsName) const |
template<class Type > | |
bool | isHeaderClassName () const |
readOption | readOpt () const noexcept |
readOption | readOpt (readOption opt) noexcept |
writeOption | writeOpt () const noexcept |
writeOption | writeOpt (writeOption opt) noexcept |
word | group () const |
word | member () const |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const noexcept |
fileName & | instance () noexcept |
const fileName & | local () const noexcept |
fileName | path () const |
fileName | path (const word &instance, const fileName &local=fileName::null) const |
fileName | objectPath () const |
fileName | objectRelPath () const |
fileName | localFilePath (const word &typeName, const bool search=true) const |
fileName | globalFilePath (const word &typeName, const bool search=true) const |
IOstreamOption | parseHeader (const dictionary &headerDict) |
bool | readHeader (Istream &is) |
bool | readHeader (dictionary &headerDict, Istream &is) |
template<class Type > | |
bool | typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true) |
template<class Type > | |
void | warnNoRereading () const |
bool | writeHeader (Ostream &os) const |
bool | writeHeader (Ostream &os, const word &objectType) const |
void | writeHeader (dictionary &dict, IOstreamOption streamOpt) const |
void | writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const |
bool | good () const noexcept |
bool | bad () const noexcept |
InfoProxy< IOobject > | info () const |
void | operator= (const IOobject &io) |
readOption & | readOpt () noexcept |
writeOption & | writeOpt () noexcept |
bool & | registerObject () noexcept |
bool & | globalObject () noexcept |
template<> | |
bool | isHeaderClassName () const |
template<class StringType > | |
Foam::word | groupName (StringType base, const word &group) |
![]() | |
HashTable () | |
HashTable (const label size) | |
HashTable (Istream &is, const label size=128) | |
HashTable (const this_type &ht) | |
HashTable (this_type &&rhs) | |
HashTable (std::initializer_list< std::pair< Key, T >> list) | |
~HashTable () | |
label | capacity () const noexcept |
label | size () const noexcept |
bool | empty () const noexcept |
T & | at (const Key &key) |
const T & | at (const Key &key) const |
bool | found (const Key &key) const |
iterator | find (const Key &key) |
const_iterator | find (const Key &key) const |
const_iterator | cfind (const Key &key) const |
const T & | lookup (const Key &key, const T &deflt) const |
List< Key > | toc () const |
List< Key > | sortedToc () const |
List< Key > | sortedToc (const Compare &comp) const |
Foam::List< Key > | sortedToc (const Compare &comp) const |
List< Key > | tocKeys (const UnaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocKeys (const UnaryPredicate &pred, const bool invert) const |
List< Key > | tocValues (const UnaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocValues (const UnaryPredicate &pred, const bool invert) const |
List< Key > | tocEntries (const BinaryPredicate &pred, const bool invert=false) const |
Foam::List< Key > | tocEntries (const BinaryPredicate &pred, const bool invert) const |
label | countKeys (const UnaryPredicate &pred, const bool invert=false) const |
Foam::label | countKeys (const UnaryPredicate &pred, const bool invert) const |
label | countValues (const UnaryPredicate &pred, const bool invert=false) const |
Foam::label | countValues (const UnaryPredicate &pred, const bool invert) const |
label | countEntries (const BinaryPredicate &pred, const bool invert=false) const |
Foam::label | countEntries (const BinaryPredicate &pred, const bool invert) const |
bool | emplace (const Key &key, Args &&... args) |
bool | emplace_set (const Key &key, Args &&... args) |
bool | insert (const Key &key, const T &obj) |
bool | insert (const Key &key, T &&obj) |
bool | set (const Key &key, const T &obj) |
bool | set (const Key &key, T &&obj) |
bool | erase (const iterator &iter) |
bool | erase (const Key &key) |
label | erase (const HashTable< AnyType, Key, AnyHash > &other) |
label | erase (std::initializer_list< Key > keys) |
label | erase (InputIter first, InputIter last) |
label | erase (const FixedList< Key, N > &keys) |
label | erase (const UList< Key > &keys) |
Foam::label | erase (InputIter first, InputIter last) |
Foam::label | erase (const FixedList< Key, N > &keys) |
Foam::label | erase (const HashTable< AnyType, Key, AnyHash > &other) |
label | retain (const HashTable< AnyType, Key, AnyHash > &other) |
Foam::label | retain (const HashTable< AnyType, Key, AnyHash > &other) |
label | filterKeys (const UnaryPredicate &pred, const bool pruning=false) |
Foam::label | filterKeys (const UnaryPredicate &pred, const bool pruning) |
label | filterValues (const UnaryPredicate &pred, const bool pruning=false) |
Foam::label | filterValues (const UnaryPredicate &pred, const bool pruning) |
label | filterEntries (const BinaryPredicate &pred, const bool pruning=false) |
Foam::label | filterEntries (const BinaryPredicate &pred, const bool pruning) |
void | resize (const label sz) |
void | clear () |
void | clearStorage () |
void | swap (HashTable< T, Key, Hash > &rhs) |
void | transfer (HashTable< T, Key, Hash > &rhs) |
T & | operator[] (const Key &key) |
const T & | operator[] (const Key &key) const |
T & | operator() (const Key &key) |
T & | operator() (const Key &key, const T &deflt) |
void | operator= (const this_type &rhs) |
void | operator= (std::initializer_list< std::pair< Key, T >> rhs) |
void | operator= (this_type &&rhs) |
bool | operator== (const this_type &rhs) const |
bool | operator!= (const this_type &rhs) const |
this_type & | operator+= (const this_type &rhs) |
const_iterator_pair< const_key_iterator, this_type > | keys () const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () noexcept |
const_iterator | end () const noexcept |
constexpr const_iterator | cend () const noexcept |
Ostream & | printInfo (Ostream &os) const |
Ostream & | writeKeys (Ostream &os, const label shortLen=0) const |
![]() | |
ClassName ("primitiveMesh") | |
primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) | |
virtual | ~primitiveMesh () |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &cells) |
void | resetGeometry (pointField &&faceCentres, pointField &&faceAreas, pointField &&cellCentres, scalarField &&cellVolumes) |
label | nPoints () const noexcept |
label | nEdges () const |
label | nFaces () const noexcept |
label | nCells () const noexcept |
label | nInternalFaces () const noexcept |
label | nBoundaryFaces () const noexcept |
label | nInternalPoints () const noexcept |
label | nInternal0Edges () const |
label | nInternal1Edges () const |
label | nInternalEdges () const |
const cellShapeList & | cellShapes () const |
const edgeList & | edges () const |
const labelListList & | cellCells () const |
const labelListList & | edgeCells () const |
const labelListList & | pointCells () const |
const cellList & | cells () const |
const labelListList & | edgeFaces () const |
const labelListList & | pointFaces () const |
const labelListList & | cellEdges () const |
const labelListList & | faceEdges () const |
const labelListList & | pointEdges () const |
const labelListList & | pointPoints () const |
const labelListList & | cellPoints () const |
const vectorField & | cellCentres () const |
const vectorField & | faceCentres () const |
const scalarField & | cellVolumes () const |
const vectorField & | faceAreas () const |
tmp< scalarField > | movePoints (const pointField &p, const pointField &oldP) |
bool | isInternalFace (const label faceIndex) const noexcept |
virtual bool | checkUpperTriangular (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkCellsZipUp (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceVertices (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkPoints (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceFaces (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkClosedBoundary (const bool report=false) const |
virtual bool | checkClosedCells (const bool report=false, labelHashSet *setPtr=nullptr, labelHashSet *highAspectSetPtr=nullptr, const Vector< label > &solutionD=Vector< label >::one) const |
virtual bool | checkFaceAreas (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkCellVolumes (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFacePyramids (const bool report=false, const scalar minPyrVol=-SMALL, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceAngles (const bool report=false, const scalar maxSin=10, labelHashSet *setPtr=nullptr) const |
virtual bool | checkFaceFlatness (const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
virtual bool | checkPointNearness (const bool report, const scalar reportDistSqr, labelHashSet *setPtr=nullptr) const |
virtual bool | checkEdgeLength (const bool report, const scalar minLenSqr, labelHashSet *setPtr=nullptr) const |
virtual bool | checkConcaveCells (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual bool | checkTopology (const bool report=false) const |
virtual bool | checkGeometry (const bool report=false) const |
virtual bool | checkMesh (const bool report=false) const |
bool | pointInCellBB (const point &p, label celli, scalar inflationFraction=0) const |
bool | pointInCell (const point &p, label celli) const |
label | findNearestCell (const point &location) const |
label | findCell (const point &location) const |
void | printAllocated () const |
bool | hasCellShapes () const noexcept |
bool | hasEdges () const noexcept |
bool | hasCellCells () const noexcept |
bool | hasEdgeCells () const noexcept |
bool | hasPointCells () const noexcept |
bool | hasCells () const noexcept |
bool | hasEdgeFaces () const noexcept |
bool | hasPointFaces () const noexcept |
bool | hasCellEdges () const noexcept |
bool | hasFaceEdges () const noexcept |
bool | hasPointEdges () const noexcept |
bool | hasPointPoints () const noexcept |
bool | hasCellPoints () const noexcept |
bool | hasCellCentres () const noexcept |
bool | hasFaceCentres () const noexcept |
bool | hasCellVolumes () const noexcept |
bool | hasFaceAreas () const noexcept |
const labelList & | cellCells (const label celli, DynamicList< label > &) const |
const labelList & | cellCells (const label celli) const |
const labelList & | cellPoints (const label celli, labelHashSet &, DynamicList< label > &) const |
const labelList & | cellPoints (const label celli) const |
const labelList & | pointCells (const label pointi, DynamicList< label > &) const |
const labelList & | pointCells (const label pointi) const |
const labelList & | pointPoints (const label pointi, DynamicList< label > &) const |
const labelList & | pointPoints (const label pointi) const |
const labelList & | faceEdges (const label facei, DynamicList< label > &) const |
const labelList & | faceEdges (const label facei) const |
const labelList & | edgeFaces (const label edgeI, DynamicList< label > &) const |
const labelList & | edgeFaces (const label edgeI) const |
const labelList & | edgeCells (const label edgeI, DynamicList< label > &) const |
const labelList & | edgeCells (const label edgeI) const |
const labelList & | cellEdges (const label celli, labelHashSet &, DynamicList< label > &) const |
const labelList & | cellEdges (const label celli) const |
virtual void | updateGeom () |
void | clearGeom () |
void | clearCellGeom () |
void | clearAddressing () |
void | clearOut () |
Static Public Member Functions | |
static void | calcFeatures (const polyMesh &, const scalar featureCos, labelList &featureEdges, labelList &featurePoints) |
![]() | |
template<class Type > | |
static Type & | store (Type *p) |
template<class Type > | |
static Type & | store (autoPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (autoPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &&ptr) |
![]() | |
static bool | bannerEnabled () noexcept |
static bool | bannerEnabled (bool on) noexcept |
static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
template<class StringType > | |
static word | groupName (StringType base, const word &group) |
static word | group (const word &name) |
static word | member (const word &name) |
static word | scopedName (const std::string &scope, const word &name) |
static IOobject | selectIO (const IOobject &io, const fileName &altFile, const word &ioName="") |
static Ostream & | writeBanner (Ostream &os, const bool noSyntaxHint=false) |
static Ostream & | writeDivider (Ostream &os) |
static Ostream & | writeEndDivider (Ostream &os) |
![]() | |
static void | calcCells (cellList &, const labelUList &own, const labelUList &nei, const label nCells=-1) |
static bool | calcPointOrder (label &nInternalPoints, labelList &pointMap, const faceList &, const label nInternalFaces, const label nPoints) |
static scalar | setClosedThreshold (const scalar) |
static scalar | setAspectThreshold (const scalar) |
static scalar | setNonOrthThreshold (const scalar) |
static scalar | setSkewThreshold (const scalar) |
Additional Inherited Members | |
![]() | |
enum | readUpdateState { UNCHANGED, POINTS_MOVED, TOPO_CHANGE, TOPO_PATCH_CHANGE } |
enum | cellDecomposition { FACE_PLANES, FACE_CENTRE_TRIS, FACE_DIAG_TRIS, CELL_TETS } |
typedef polyMesh | Mesh |
typedef polyBoundaryMesh | BoundaryMesh |
![]() | |
enum | objectState : char { GOOD, BAD } |
enum | readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ } |
enum | writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 } |
enum | fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster } |
![]() | |
typedef HashTable< T, Key, Hash > | this_type |
typedef Key | key_type |
typedef T | mapped_type |
typedef T | value_type |
typedef Hash | hasher |
typedef T * | pointer |
typedef T & | reference |
typedef label | difference_type |
typedef label | size_type |
using | key_iterator = key_iterator_base< iterator > |
using | const_key_iterator = key_iterator_base< const_iterator > |
![]() | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
![]() | |
static word | defaultRegion = "region0" |
static word | meshSubDir = "polyMesh" |
![]() | |
static const Enum< fileCheckTypes > | fileCheckTypesNames |
static char | scopeSeparator |
static fileCheckTypes | fileModificationChecking |
static float | fileModificationSkew |
static int | maxFileModificationPolls |
![]() | |
static const unsigned | cellsPerEdge_ = 4 |
static const unsigned | cellsPerPoint_ = 8 |
static const unsigned | facesPerCell_ = 6 |
static const unsigned | facesPerEdge_ = 4 |
static const unsigned | facesPerPoint_ = 12 |
static const unsigned | edgesPerCell_ = 12 |
static const unsigned | edgesPerFace_ = 4 |
static const unsigned | edgesPerPoint_ = 6 |
static const unsigned | pointsPerCell_ = 8 |
static const unsigned | pointsPerFace_ = 4 |
![]() | |
bool | readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName) |
![]() | |
void | setBad (const string &s) |
![]() | |
bool | iterator_erase (node_type *&entry, label &index) |
![]() | |
void | calcFaceCentresAndAreas () const |
void | calcCellCentresAndVols () const |
void | calcEdgeVectors () const |
bool | checkDuplicateFaces (const label, const Map< label > &, label &nBaffleFaces, labelHashSet *) const |
bool | checkCommonOrder (const label, const Map< label > &, labelHashSet *) const |
bool | checkClosedBoundary (const vectorField &areas, const bool report, const bitSet &internalOrCoupledFaces) const |
bool | checkClosedCells (const vectorField &faceAreas, const scalarField &cellVolumes, const bool report, labelHashSet *setPtr, labelHashSet *aspectSetPtr, const Vector< label > &meshD) const |
bool | checkFaceAreas (const vectorField &faceAreas, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
bool | checkCellVolumes (const scalarField &vols, const bool report, const bool detailedReport, labelHashSet *setPtr) const |
bool | checkFaceOrthogonality (const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
bool | checkFacePyramids (const pointField &points, const vectorField &ctrs, const bool report, const bool detailedReport, const scalar minPyrVol, labelHashSet *setPtr) const |
bool | checkFaceSkewness (const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs, const bool report, labelHashSet *setPtr) const |
bool | checkFaceAngles (const pointField &points, const vectorField &faceAreas, const bool report, const scalar maxDeg, labelHashSet *setPtr) const |
bool | checkFaceFlatness (const pointField &points, const vectorField &faceCentres, const vectorField &faceAreas, const bool report, const scalar warnFlatness, labelHashSet *setPtr) const |
bool | checkConcaveCells (const vectorField &fAreas, const pointField &fCentres, const bool report, labelHashSet *setPtr) const |
primitiveMesh () | |
![]() | |
static void | writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr) |
static void | writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr) |
![]() | |
static bool | masterOnlyReading = false |
![]() | |
static scalar | closedThreshold_ = 1.0e-6 |
static scalar | aspectThreshold_ = 1000 |
static scalar | nonOrthThreshold_ = 70 |
static scalar | skewThreshold_ = 4 |
static scalar | planarCosAngle_ = 1.0e-6 |
Creates dual of polyMesh.
Every polyMesh point becomes a cell on the dual mesh
Every polyMesh cell and patchFace becomes a point on the dual mesh.
Definition at line 53 of file polyDualMesh.H.
polyDualMesh | ( | const IOobject & | io | ) |
Definition at line 1342 of file polyDualMesh.C.
polyDualMesh | ( | const polyMesh & | mesh, |
const labelList & | featureEdges, | ||
const labelList & | featurePoints | ||
) |
Definition at line 1374 of file polyDualMesh.C.
References mesh.
polyDualMesh | ( | const polyMesh & | mesh, |
const scalar | featureCos | ||
) |
Definition at line 1414 of file polyDualMesh.C.
References mesh.
~polyDualMesh | ( | ) |
Definition at line 1606 of file polyDualMesh.C.
ClassName | ( | "polyDualMesh" | ) |
|
static |
Definition at line 1455 of file polyDualMesh.C.
References DynamicList::append(), polyMesh::boundaryMesh(), primitiveMesh::cellEdges(), Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, PrimitivePatch< FaceList, PointField >::edgeFaces(), PrimitivePatch< FaceList, PointField >::edges(), primitiveMesh::edges(), Foam::endl(), faceNormals(), PrimitivePatch< FaceList, PointField >::faceNormals(), polyMesh::faceOwner(), polyMesh::faces(), forAll, mesh, PrimitivePatch< FaceList, PointField >::meshEdges(), PrimitivePatch< FaceList, PointField >::meshPoints(), OFstream::name(), primitiveMesh::nBoundaryFaces(), primitiveMesh::nInternalFaces(), patches, PrimitivePatch< FaceList, PointField >::pointEdges(), polyMesh::points(), Foam::Pout, bitSet::set(), PackedList::size(), polyPatch::start(), bitSet::test(), List::transfer(), WarningInFunction, and Foam::meshTools::writeOBJ().
|
inline |
Definition at line 203 of file polyDualMesh.H.
|
inline |
Definition at line 209 of file polyDualMesh.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.