A patch is a list of labels that address the faces in the global face list. More...
Public Member Functions | |
TypeName ("patch") | |
declareRunTimeSelectionTable (autoPtr, polyPatch, word,(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType),(name, size, start, index, bm, patchType)) | |
declareRunTimeSelectionTable (autoPtr, polyPatch, dictionary,(const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType),(name, dict, index, bm, patchType)) | |
polyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType) | |
polyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &physicalType, const wordList &inGroups) | |
polyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType) | |
polyPatch (const polyPatch &, const polyBoundaryMesh &) | |
polyPatch (const polyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
polyPatch (const polyPatch &pp, const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) | |
polyPatch (const polyPatch &p) | |
polyPatch (const polyPatch &p, const labelList &faceCells) | |
virtual autoPtr< polyPatch > | clone (const labelList &faceCells) const |
virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm) const |
virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) const |
virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) const |
virtual | ~polyPatch () |
virtual void | newInternalProcFaces (label &, label &) const |
virtual const labelUList & | nbrCells () const |
virtual label | neighbPolyPatchID () const |
virtual refPtr< labelListList > | mapCollocatedFaces () const |
virtual bool | masterImplicit () const |
virtual word | neighbRegionID () const |
label | offset () const |
label | start () const |
labelRange | range () const |
const polyBoundaryMesh & | boundaryMesh () const |
virtual bool | coupled () const |
template<class T > | |
const UIndirectList< T > | patchInternalList (const UList< T > &internalValues) const |
template<class T > | |
const List< T >::subList | patchSlice (const UList< T > &l) const |
template<class T > | |
const Field< T >::subField | patchSlice (const Field< T > &l) const |
virtual void | write (Ostream &os) const |
const vectorField::subField | faceCentres () const |
const vectorField::subField | faceAreas () const |
tmp< vectorField > | faceCellCentres () const |
tmp< scalarField > | areaFraction () const |
const labelUList & | faceCells () const |
const labelList & | meshEdges () const |
virtual void | clearAddressing () |
label | whichFace (const label l) const |
virtual void | initOrder (PstreamBuffers &, const primitivePatch &) const |
virtual bool | order (PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const |
virtual bool | changeTopology () const |
virtual bool | setTopology (polyTopoChange &) |
void | operator= (const polyPatch &) |
![]() | |
patchIdentifier (const patchIdentifier &)=default | |
patchIdentifier & | operator= (const patchIdentifier &)=default |
virtual | ~patchIdentifier ()=default |
patchIdentifier () | |
patchIdentifier (const word &name, const label index) | |
patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
patchIdentifier (const word &name, const dictionary &dict, const label index) | |
patchIdentifier (const patchIdentifier &ident, const label index) | |
const word & | name () const noexcept |
word & | name () noexcept |
label | index () const noexcept |
label & | index () noexcept |
const word & | physicalType () const noexcept |
word & | physicalType () noexcept |
const wordList & | inGroups () const noexcept |
wordList & | inGroups () noexcept |
bool | inGroup (const word &name) const |
void | write (Ostream &os) const |
![]() | |
PrimitivePatch (const FaceList &faces, const PointField &points) | |
PrimitivePatch (FaceList &&faces, const PointField &points) | |
PrimitivePatch (FaceList &faces, PointField &points, const bool reuse) | |
PrimitivePatch (const PrimitivePatch< FaceList, PointField > &pp) | |
virtual | ~PrimitivePatch () |
void | clearOut () |
void | clearGeom () |
void | clearTopology () |
void | clearPatchMeshAddr () |
void | swap (PrimitivePatch &)=delete |
const Field< point_type > & | points () const noexcept |
label | nFaces () const noexcept |
label | nPoints () const |
label | nEdges () const |
const edgeList & | edges () const |
const edgeList::subList | internalEdges () const |
const edgeList::subList | boundaryEdges () const |
label | nInternalEdges () const |
label | nBoundaryEdges () const |
bool | isInternalEdge (const label edgei) const |
const labelList & | boundaryPoints () const |
const labelListList & | faceFaces () const |
const labelListList & | edgeFaces () const |
const labelListList & | faceEdges () const |
const labelListList & | pointEdges () const |
const labelListList & | pointFaces () const |
const List< face_type > & | localFaces () const |
labelList | boundaryFaces () const |
labelList | uniqBoundaryFaces () const |
const labelList & | meshPoints () const |
const Map< label > & | meshPointMap () const |
const Field< point_type > & | localPoints () const |
const labelList & | localPointOrder () const |
label | whichPoint (const label gp) const |
edge | meshEdge (const label edgei) const |
edge | meshEdge (const edge &e) const |
label | findEdge (const edge &e) const |
labelList | meshEdges (const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const |
labelList | meshEdges (const edgeList &allEdges, const labelListList &pointEdges) const |
label | meshEdge (const label edgei, const edgeList &allEdges, const labelListList &pointEdges) const |
labelList | meshEdges (const labelUList &edgeLabels, const edgeList &allEdges, const labelListList &pointEdges) const |
const Field< point_type > & | faceCentres () const |
const Field< point_type > & | faceAreas () const |
const Field< scalar > & | magFaceAreas () const |
const Field< point_type > & | faceNormals () const |
const Field< point_type > & | pointNormals () const |
bool | hasFaceAreas () const |
bool | hasFaceCentres () const |
bool | hasFaceNormals () const |
bool | hasPointNormals () const |
bool | hasBoundaryPoints () const |
bool | hasFaceFaces () const |
bool | hasEdgeFaces () const |
bool | hasFaceEdges () const |
bool | hasPointEdges () const |
bool | hasPointFaces () const |
bool | hasMeshPointMap () const |
template<class ToPatch > | |
List< objectHit > | projectPoints (const ToPatch &targetPatch, const Field< point_type > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
template<class ToPatch > | |
List< objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< point_type > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
const labelListList & | edgeLoops () const |
surfaceTopo | surfaceType () const |
bool | checkTopology (const bool report=false, labelHashSet *setPtr=nullptr) const |
bool | checkPointManifold (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual void | movePoints (const Field< point_type > &) |
void | operator= (const PrimitivePatch< FaceList, PointField > &rhs) |
void | operator= (PrimitivePatch< FaceList, PointField > &&rhs) |
label | whichEdge (const edge &e) const |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectPoints (const ToPatch &targetPatch, const Field< typename Foam::PrimitivePatch< FaceList, PointField >::point_type > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< typename Foam::PrimitivePatch< FaceList, PointField >::point_type > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
![]() | |
ClassName ("PrimitivePatch") | |
PrimitivePatchBase ()=default | |
Static Public Member Functions | |
static autoPtr< polyPatch > | New (const word &patchType, const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm) |
static autoPtr< polyPatch > | New (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm) |
static autoPtr< polyPatch > | New (const word &patchType, const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm) |
static bool | constraintType (const word &pt) |
static wordList | constraintTypes () |
![]() | |
static word | defaultName (const label n=-1) |
Static Public Attributes | |
static int | disallowGenericPolyPatch |
Protected Member Functions | |
virtual void | initGeometry (PstreamBuffers &) |
virtual void | calcGeometry (PstreamBuffers &) |
virtual void | initMovePoints (PstreamBuffers &, const pointField &) |
virtual void | movePoints (PstreamBuffers &, const pointField &p) |
virtual void | initUpdateMesh (PstreamBuffers &) |
virtual void | updateMesh (PstreamBuffers &) |
virtual void | clearGeom () |
virtual void | movePoints (const Field< point_type > &) |
Friends | |
class | polyBoundaryMesh |
Ostream & | operator<< (Ostream &, const polyPatch &) |
Additional Inherited Members | |
![]() | |
enum | surfaceTopo { MANIFOLD, OPEN, ILLEGAL } |
typedef std::remove_reference< FaceList >::type::value_type | face_type |
typedef std::remove_reference< PointField >::type::value_type | point_type |
typedef FaceList | FaceListType |
typedef PointField | PointFieldType |
typedef face_type | FaceType |
A patch is a list of labels that address the faces in the global face list.
The patch can calculate its own edges based on the global faces. Patch also contains all addressing between the faces.
Definition at line 64 of file polyPatch.H.
polyPatch | ( | const word & | name, |
const label | size, | ||
const label | start, | ||
const label | index, | ||
const polyBoundaryMesh & | bm, | ||
const word & | patchType | ||
) |
Definition at line 76 of file polyPatch.C.
polyPatch | ( | const word & | name, |
const label | size, | ||
const label | start, | ||
const label | index, | ||
const polyBoundaryMesh & | bm, | ||
const word & | physicalType, | ||
const wordList & | inGroups | ||
) |
Definition at line 104 of file polyPatch.C.
polyPatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index, | ||
const polyBoundaryMesh & | bm, | ||
const word & | patchType | ||
) |
Definition at line 128 of file polyPatch.C.
References List::appendUniq().
polyPatch | ( | const polyPatch & | pp, |
const polyBoundaryMesh & | bm | ||
) |
Definition at line 160 of file polyPatch.C.
polyPatch | ( | const polyPatch & | pp, |
const polyBoundaryMesh & | bm, | ||
const label | index, | ||
const label | newSize, | ||
const label | newStart | ||
) |
Definition at line 184 of file polyPatch.C.
polyPatch | ( | const polyPatch & | pp, |
const polyBoundaryMesh & | bm, | ||
const label | index, | ||
const labelUList & | mapAddressing, | ||
const label | newStart | ||
) |
Definition at line 211 of file polyPatch.C.
Definition at line 237 of file polyPatch.C.
Definition at line 249 of file polyPatch.C.
|
virtual |
Definition at line 262 of file polyPatch.C.
|
inlineprotectedvirtual |
Reimplemented in coupledPolyPatch, cyclicAMIPolyPatch, cyclicACMIPolyPatch, oldCyclicPolyPatch, cyclicPolyPatch, processorPolyPatch, processorCyclicPolyPatch, mappedPolyPatch, and mappedWallPolyPatch.
Definition at line 95 of file polyPatch.H.
Referenced by mappedPolyPatch::initGeometry(), mappedWallPolyPatch::initGeometry(), cyclicPolyPatch::initGeometry(), oldCyclicPolyPatch::initGeometry(), and cyclicAMIPolyPatch::initGeometry().
|
inlineprotectedvirtual |
Reimplemented in coupledPolyPatch, cyclicAMIPolyPatch, cyclicACMIPolyPatch, cyclicPolyPatch, oldCyclicPolyPatch, processorPolyPatch, wedgePolyPatch, processorCyclicPolyPatch, mappedPolyPatch, mappedWallPolyPatch, and symmetryPlanePolyPatch.
Definition at line 99 of file polyPatch.H.
Referenced by mappedPolyPatch::calcGeometry(), and mappedWallPolyPatch::calcGeometry().
|
inlineprotectedvirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicACMIPolyPatch, coupledPolyPatch, cyclicPolyPatch, oldCyclicPolyPatch, processorPolyPatch, processorCyclicPolyPatch, mappedPolyPatch, and mappedWallPolyPatch.
Definition at line 103 of file polyPatch.H.
Referenced by mappedPolyPatch::initMovePoints(), mappedWallPolyPatch::initMovePoints(), oldCyclicPolyPatch::initMovePoints(), and cyclicPolyPatch::initMovePoints().
|
protectedvirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicACMIPolyPatch, coupledPolyPatch, cyclicPolyPatch, oldCyclicPolyPatch, processorPolyPatch, processorCyclicPolyPatch, mappedPolyPatch, and mappedWallPolyPatch.
Definition at line 54 of file polyPatch.C.
References PrimitivePatch< FaceList, PointField >::movePoints(), and p.
Referenced by processorPolyPatch::initMovePoints(), mappedWallPolyPatch::movePoints(), mappedPolyPatch::movePoints(), oldCyclicPolyPatch::movePoints(), and cyclicPolyPatch::movePoints().
|
inlineprotectedvirtual |
Reimplemented in coupledPolyPatch, cyclicAMIPolyPatch, cyclicPolyPatch, cyclicACMIPolyPatch, oldCyclicPolyPatch, processorPolyPatch, processorCyclicPolyPatch, mappedPolyPatch, and mappedWallPolyPatch.
Definition at line 110 of file polyPatch.H.
Referenced by mappedPolyPatch::initUpdateMesh(), mappedWallPolyPatch::initUpdateMesh(), processorPolyPatch::initUpdateMesh(), oldCyclicPolyPatch::initUpdateMesh(), cyclicPolyPatch::initUpdateMesh(), and cyclicAMIPolyPatch::initUpdateMesh().
|
protectedvirtual |
Reimplemented in coupledPolyPatch, cyclicAMIPolyPatch, cyclicPolyPatch, cyclicACMIPolyPatch, oldCyclicPolyPatch, processorPolyPatch, processorCyclicPolyPatch, mappedPolyPatch, and mappedWallPolyPatch.
Definition at line 60 of file polyPatch.C.
References PrimitivePatch< FaceList, PointField >::clearGeom().
Referenced by mappedPolyPatch::updateMesh(), mappedWallPolyPatch::updateMesh(), processorPolyPatch::updateMesh(), oldCyclicPolyPatch::updateMesh(), cyclicPolyPatch::updateMesh(), and cyclicAMIPolyPatch::updateMesh().
|
protectedvirtual |
Reimplemented in cyclicAMIPolyPatch, and cyclicACMIPolyPatch.
Definition at line 67 of file polyPatch.C.
References PrimitivePatch< FaceList, PointField >::clearGeom().
Referenced by cyclicAMIPolyPatch::clearGeom().
TypeName | ( | "patch" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
polyPatch | , | ||
word | , | ||
(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType) | , | ||
(name, size, start, index, bm, patchType) | |||
) |
declareRunTimeSelectionTable | ( | autoPtr | , |
polyPatch | , | ||
dictionary | , | ||
(const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType) | , | ||
(name, dict, index, bm, patchType) | |||
) |
Definition at line 231 of file polyPatch.H.
References autoPtr::New().
Referenced by boundaryMesh::patchify().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicPolyPatch, cyclicACMIPolyPatch, oldCyclicPolyPatch, processorPolyPatch, processorCyclicPolyPatch, mappedPolyPatch, mappedWallPolyPatch, mappedVariableThicknessWallPolyPatch, cyclicPeriodicAMIPolyPatch, wedgePolyPatch, cyclicSlipPolyPatch, nonuniformTransformCyclicPolyPatch, symmetryPlanePolyPatch, genericPolyPatch, oversetPolyPatch, symmetryPolyPatch, emptyPolyPatch, and wallPolyPatch.
Definition at line 237 of file polyPatch.H.
References autoPtr::New().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicPolyPatch, cyclicACMIPolyPatch, oldCyclicPolyPatch, processorPolyPatch, processorCyclicPolyPatch, mappedPolyPatch, mappedWallPolyPatch, mappedVariableThicknessWallPolyPatch, cyclicPeriodicAMIPolyPatch, wedgePolyPatch, nonuniformTransformCyclicPolyPatch, cyclicSlipPolyPatch, symmetryPlanePolyPatch, genericPolyPatch, oversetPolyPatch, symmetryPolyPatch, emptyPolyPatch, and wallPolyPatch.
Definition at line 245 of file polyPatch.H.
References patchIdentifier::index(), and autoPtr::New().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicPolyPatch, cyclicACMIPolyPatch, processorCyclicPolyPatch, processorPolyPatch, mappedWallPolyPatch, mappedPolyPatch, mappedVariableThicknessWallPolyPatch, cyclicPeriodicAMIPolyPatch, nonuniformTransformCyclicPolyPatch, cyclicSlipPolyPatch, wedgePolyPatch, symmetryPlanePolyPatch, genericPolyPatch, oversetPolyPatch, symmetryPolyPatch, emptyPolyPatch, and wallPolyPatch.
Definition at line 258 of file polyPatch.H.
References patchIdentifier::index(), and autoPtr::New().
|
static |
Definition at line 28 of file polyPatchNew.C.
References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, and Foam::name().
Referenced by columnFvMeshInfo::addLocalPatches(), meshRefinement::appendPatch(), extrudePatchMesh::extrudePatchMesh(), PDRblock::innerMesh(), fvMeshTools::newMesh(), boundaryMesh::patchify(), polyBoundaryMesh::polyBoundaryMesh(), and polyMesh::polyMesh().
|
static |
Definition at line 67 of file polyPatchNew.C.
References DebugInFunction, dict, Foam::endl(), Foam::name(), and Foam::New().
|
static |
Definition at line 84 of file polyPatchNew.C.
References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::name().
|
inlinevirtual |
Reimplemented in cyclicPolyPatch, mappedWallPolyPatch, mappedPolyPatch, cyclicAMIPolyPatch, and cyclicACMIPolyPatch.
Definition at line 312 of file polyPatch.H.
References NotImplemented.
Referenced by lduPrimitiveMeshAssembly::update().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicPolyPatch, mappedWallPolyPatch, and mappedPolyPatch.
Definition at line 318 of file polyPatch.H.
References NotImplemented, and UList::null().
Referenced by lduPrimitiveMeshAssembly::update().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicPolyPatch, mappedWallPolyPatch, and mappedPolyPatch.
Definition at line 325 of file polyPatch.H.
References NotImplemented.
Referenced by fvMatrix< Type >::mapContributions(), and lduPrimitiveMeshAssembly::update().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicPolyPatch, cyclicACMIPolyPatch, mappedWallPolyPatch, and mappedPolyPatch.
Definition at line 332 of file polyPatch.H.
References NotImplemented.
Referenced by lduPrimitiveMeshAssembly::update().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, cyclicPolyPatch, mappedWallPolyPatch, and mappedPolyPatch.
Definition at line 339 of file polyPatch.H.
References NotImplemented.
Referenced by assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), fvMatrix< Type >::mapContributions(), and lduPrimitiveMeshAssembly::update().
|
inlinevirtual |
Reimplemented in mappedWallPolyPatch, and mappedPolyPatch.
Definition at line 346 of file polyPatch.H.
Referenced by lduPrimitiveMeshAssembly::findNbrMeshId().
Foam::label offset | ( | ) | const |
Definition at line 302 of file polyPatch.C.
Referenced by preservePatches::apply(), cyclicPolyPatch::transformGlobalFace(), and Foam::ensightOutput::writeVolField().
|
inline |
Definition at line 357 of file polyPatch.H.
Referenced by preservePatches::add(), polyMeshAdder::add(), cyclicAMIPolyPatch::addAMIFaces(), polyTopoChange::addMesh(), fvMeshTools::addPatch(), meshRefinement::addPatch(), cellToFaceStencil::allCoupledFacesPatch(), cellToFaceStencil::calcFaceStencil(), polyDualMesh::calcFeatures(), FaceCellWave< Type, int >::checkCyclic(), hexRef8::checkMesh(), particle< Type >::correctAfterParallelTransfer(), globalMeshData::coupledPatch(), meshRefinement::createBaffles(), structuredDecomp::decompose(), Bezier::dndbBasedSensitivities(), NURBS3DVolume::dndbBasedSensitivities(), faceCoupleInfo::faceLabels(), polyMeshTools::faceOrthogonality(), mappedPatchBase::facePoints(), polyMeshTools::faceSkewness(), polyMeshTools::faceWeights(), patchProbes::findElements(), externalDisplacementMeshMover::getPatch(), particle< Type >::hitCyclicACMIPatch(), particle< Type >::hitCyclicAMIPatch(), fluxSummary::initialiseCellZoneAndDirection(), isoSurfacePoint::isoSurfacePoint(), meshRefinement::makePatch(), combine< Type, TrackingData >::operator()(), polyMeshAdder::patchFacePairs(), boundaryMesh::patchify(), PatchCollisionDensity< CloudType >::postPatch(), fvMeshDistribute::printMeshInfo(), boundaryMesh::read(), cyclicAMIPolyPatch::removeAMIFaces(), structuredRenumber::renumber(), snappySnapDriver::repatchToSurface(), sampledPatchInternalField::sampleOnPoints(), sampledPatch::sampleOnPoints(), sampledFaceZone::sampleOnPoints(), fvMeshSubset::setCellSubset(), rotorDiskSource::setFaceArea(), lumpedPointMovement::setPatchControl(), removeFaces::setRefinement(), fvPatch::start(), syncTools::syncBoundaryFaceList(), syncTools::syncFaceList(), meshRefinement::testSyncBoundaryFaceList(), cyclicPolyPatch::transformGlobalFace(), sampledPatch::update(), cellToFaceStencil::validBoundaryFaces(), polyMeshTools::volRatio(), wallLayerCells::wallLayerCells(), regionSizeDistribution::write(), and meshRefinement::zonify().
|
inline |
Definition at line 363 of file polyPatch.H.
Referenced by mappedPatchBase::findLocalSamples(), labelRangeOp< polyPatch >::operator()(), and perfectInterface::setRefinement().
const Foam::polyBoundaryMesh & boundaryMesh | ( | ) | const |
Definition at line 308 of file polyPatch.C.
Referenced by mappedPatchBase::addWorldConnection(), viewFactor::calculate(), cyclicAMIPolyPatch::canResetAMI(), processorPolyPatch::comm(), patchPatchDist::correct(), mappedPatchBase::facePoints(), coupleGroupIdentifier::findOtherPatchID(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), regionModel::nbrCoupledPatchID(), cyclicPolyPatch::neighbPatch(), AMIWeights::read(), processorCyclicPolyPatch::referPatch(), processorCyclicPolyPatch::referPatchID(), cyclicAMIPolyPatch::restoreScaledGeometry(), meshRefinement::selectSeparatedCoupledFaces(), extractEulerianParticles::setBlockedFaces(), lumpedPointMovement::setPatchControl(), lduPrimitiveMeshAssembly::update(), cyclicACMIPolyPatch::updateAreas(), and outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch, processorPolyPatch, and coupledPolyPatch.
Definition at line 373 of file polyPatch.H.
Referenced by cellToFaceStencil::allCoupledFacesPatch(), cellToFaceStencil::calcFaceStencil(), solarLoad::calculate(), hexRef8::checkMesh(), facePointPatch::coupled(), fvPatch::coupled(), globalMeshData::coupledPatch(), meshRefinement::createBaffles(), snappyLayerDriver::doLayers(), polyMeshTools::faceOrthogonality(), polyMeshTools::faceSkewness(), polyMeshTools::faceWeights(), fluxSummary::initialiseCellZoneAndDirection(), isoSurfacePoint::isoSurfacePoint(), rotorDiskSource::setFaceArea(), shortestPathSet::shortestPathSet(), cellToFaceStencil::validBoundaryFaces(), polyMeshTools::volRatio(), and meshRefinement::zonify().
Definition at line 270 of file polyPatch.C.
References found.
Referenced by Foam::evaluateConstraintTypes(), surfaceDistance::execute(), KinematicParcel::hitPatch(), meshRefinement::meshedPatches(), and Foam::reusable().
|
static |
Definition at line 280 of file polyPatch.C.
References forAllConstIters(), and List::setSize().
|
inline |
Definition at line 387 of file polyPatch.H.
References polyPatch::faceCells().
Definition at line 396 of file polyPatch.H.
Referenced by isoSurfacePoint::isoSurfacePoint().
Definition at line 403 of file polyPatch.H.
|
virtual |
Reimplemented in coupledPolyPatch, cyclicAMIPolyPatch, cyclicPolyPatch, processorCyclicPolyPatch, processorPolyPatch, cyclicACMIPolyPatch, oldCyclicPolyPatch, mappedWallPolyPatch, mappedPolyPatch, mappedVariableThicknessWallPolyPatch, cyclicPeriodicAMIPolyPatch, and genericPolyPatch.
Definition at line 406 of file polyPatch.C.
References os(), Foam::type(), patchIdentifier::write(), and Ostream::writeEntry().
Referenced by mappedPolyPatch::write(), mappedWallPolyPatch::write(), and coupledPolyPatch::write().
const Foam::vectorField::subField faceCentres | ( | ) | const |
Definition at line 314 of file polyPatch.C.
References mesh.
Referenced by cyclicPolyPatch::calcTransforms(), cyclicAMIPolyPatch::calcTransforms(), forces::initialiseBins(), cyclicAMIPolyPatch::interpolate(), trackingInverseDistance::markBoundaries(), cyclicAMIFvPatch::movePoints(), cyclicACMIFvPatch::resetPatchAreas(), cyclicAMIPolyPatch::restoreScaledGeometry(), cyclicAMIPolyPatch::setAMIFaces(), and movingWallVelocityFvPatchVectorField::Uwall().
const Foam::vectorField::subField faceAreas | ( | ) | const |
Definition at line 320 of file polyPatch.C.
References mesh.
Referenced by DSMCParcel::hitWallPatch(), regionModel1D::moveMesh(), cyclicAMIFvPatch::movePoints(), cyclicACMIPolyPatch::nonOverlapPatchID(), cyclicACMIFvPatch::resetPatchAreas(), cyclicAMIPolyPatch::restoreScaledGeometry(), cyclicACMIPolyPatch::scalePatchFaceAreas(), cyclicAMIPolyPatch::setAMIFaces(), and dynamicMotionSolverFvMeshAMI::update().
Foam::tmp< Foam::vectorField > faceCellCentres | ( | ) | const |
Definition at line 326 of file polyPatch.C.
References forAll, and tmp::ref().
Foam::tmp< Foam::scalarField > areaFraction | ( | ) | const |
Definition at line 345 of file polyPatch.C.
References forAll, face::mag(), Foam::mag(), points, and tmp::ref().
const Foam::labelUList & faceCells | ( | ) | const |
Definition at line 364 of file polyPatch.C.
References mesh.
Referenced by preservePatches::apply(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), reconstructedDistanceFunction::constructRDF(), patchInjection::correct(), particle< Type >::correctAfterParallelTransfer(), structuredDecomp::decompose(), snappyLayerDriver::doLayers(), oversetFvPatch::faceCells(), mappedPolyPatch::nbrCells(), mappedWallPolyPatch::nbrCells(), cyclicPolyPatch::nbrCells(), cyclicAMIPolyPatch::nbrCells(), polyPatch::patchInternalList(), structuredRenumber::renumber(), lduPrimitiveMeshAssembly::update(), activeBaffleVelocityFvPatchVectorField::updateCoeffs(), and activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs().
const Foam::labelList & meshEdges | ( | ) | const |
Definition at line 378 of file polyPatch.C.
References mesh, and PrimitivePatch< FaceList, PointField >::meshEdges().
|
virtual |
Definition at line 397 of file polyPatch.C.
References PrimitivePatch< FaceList, PointField >::clearPatchMeshAddr(), PrimitivePatch< FaceList, PointField >::clearTopology(), and Foam::deleteDemandDrivenData().
|
inline |
Definition at line 444 of file polyPatch.H.
Referenced by MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), LocalInteraction< CloudType >::correct(), FacePostProcessing< CloudType >::FacePostProcessing(), particle< Type >::hitCyclicACMIPatch(), particle< Type >::hitCyclicAMIPatch(), particle< Type >::hitCyclicPatch(), DSMCParcel::hitWallPatch(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::patchData(), ParticleErosion< CloudType >::postPatch(), PatchInteractionFields< CloudType >::postPatch(), RemoveParcels< CloudType >::RemoveParcels(), extractEulerianParticles::setBlockedFaces(), ThermoSurfaceFilm< CloudType >::transferParcel(), KinematicSurfaceFilm< CloudType >::transferParcel(), and sampledFaceZone::update().
|
virtual |
Reimplemented in coupledPolyPatch, cyclicAMIPolyPatch, cyclicPolyPatch, processorCyclicPolyPatch, cyclicACMIPolyPatch, processorPolyPatch, and oldCyclicPolyPatch.
Definition at line 415 of file polyPatch.C.
|
virtual |
Reimplemented in coupledPolyPatch, cyclicAMIPolyPatch, cyclicPolyPatch, processorCyclicPolyPatch, processorPolyPatch, cyclicACMIPolyPatch, and oldCyclicPolyPatch.
Definition at line 420 of file polyPatch.C.
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch.
Definition at line 469 of file polyPatch.H.
Referenced by dynamicMotionSolverFvMeshAMI::update().
|
inlinevirtual |
Reimplemented in cyclicAMIPolyPatch.
Definition at line 475 of file polyPatch.H.
void operator= | ( | const polyPatch & | p | ) |
Definition at line 434 of file polyPatch.C.
References patchIdentifier::operator=(), PrimitivePatch< FaceList, PointField >::operator=(), and p.
|
protected |
Definition at line 164 of file PrimitivePatch.C.
|
friend |
Definition at line 92 of file polyPatch.H.
|
static |
Definition at line 126 of file polyPatch.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.