'old' style cyclic polyPatch with all faces in single patch. Does ordering but cannot be used to run. Writes 'type cyclic' so foamUpgradeCyclics can be run afterwards. Used to get cyclics from mesh converters that assume cyclics in single patch (e.g. fluent3DMeshToFoam) More...
Public Member Functions | |
TypeName ("oldCyclic") | |
oldCyclicPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType, const transformType transform=UNKNOWN) | |
oldCyclicPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType) | |
oldCyclicPolyPatch (const oldCyclicPolyPatch &, const polyBoundaryMesh &) | |
oldCyclicPolyPatch (const oldCyclicPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
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 | ~oldCyclicPolyPatch () |
virtual bool | owner () const |
virtual void | transformPosition (pointField &l) const |
virtual void | transformPosition (point &, const label facei) const |
virtual void | calcGeometry (const primitivePatch &referPatch, const pointField &thisCtrs, const vectorField &thisAreas, const pointField &thisCc, const pointField &nbrCtrs, const vectorField &nbrAreas, const pointField &nbrCc) |
virtual void | initOrder (PstreamBuffers &, const primitivePatch &) const |
virtual bool | order (PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const |
virtual void | write (Ostream &) const |
![]() | |
TypeName ("coupled") | |
coupledPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType, const transformType transform) | |
coupledPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType) | |
coupledPolyPatch (const coupledPolyPatch &, const polyBoundaryMesh &bm) | |
coupledPolyPatch (const coupledPolyPatch &, const labelList &faceCells) | |
coupledPolyPatch (const coupledPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
coupledPolyPatch (const coupledPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) | |
virtual | ~coupledPolyPatch () |
virtual bool | coupled () const |
virtual bool | neighbour () const |
virtual transformType | transform () const |
virtual transformType & | transform () |
virtual bool | separated () const |
virtual const vectorField & | separation () const |
virtual bool | parallel () const |
virtual const tensorField & | forwardT () const |
virtual const tensorField & | reverseT () const |
virtual const boolList & | collocated () const |
scalar | matchTolerance () const |
![]() | |
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 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 |
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 |
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 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 | |
Protected Member Functions | |
virtual void | initGeometry (PstreamBuffers &) |
virtual void | calcGeometry (PstreamBuffers &) |
virtual void | initMovePoints (PstreamBuffers &, const pointField &) |
virtual void | movePoints (PstreamBuffers &, const pointField &) |
virtual void | initUpdateMesh (PstreamBuffers &) |
virtual void | updateMesh (PstreamBuffers &) |
![]() | |
void | calcTransformTensors (const vectorField &Cf, const vectorField &Cr, const vectorField &nf, const vectorField &nr, const scalarField &smallDist, const scalar absTol, const transformType=UNKNOWN) const |
![]() | |
virtual void | clearGeom () |
virtual void | movePoints (const Field< point_type > &) |
Additional Inherited Members | |
![]() | |
enum | transformType { UNKNOWN, ROTATIONAL, TRANSLATIONAL, COINCIDENTFULLMATCH, NOORDERING } |
![]() | |
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 |
![]() | |
static scalarField | calcFaceTol (const UList< face > &faces, const pointField &points, const pointField &faceCentres) |
![]() | |
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 const Enum< transformType > | transformTypeNames |
![]() | |
static int | disallowGenericPolyPatch |
![]() | |
static void | writeOBJ (Ostream &os, const point &pt) |
static void | writeOBJ (Ostream &, const pointField &, const labelList &) |
static void | writeOBJ (const fileName &, const UList< face > &, const pointField &) |
static void | writeOBJ (Ostream &os, const point &p0, const point &p1, label &vertI) |
static pointField | getAnchorPoints (const UList< face > &, const pointField &, const transformType) |
static label | getRotation (const pointField &points, const face &f, const point &anchor, const scalar tol) |
'old' style cyclic polyPatch with all faces in single patch. Does ordering but cannot be used to run. Writes 'type cyclic' so foamUpgradeCyclics can be run afterwards. Used to get cyclics from mesh converters that assume cyclics in single patch (e.g. fluent3DMeshToFoam)
Definition at line 50 of file oldCyclicPolyPatch.H.
oldCyclicPolyPatch | ( | const word & | name, |
const label | size, | ||
const label | start, | ||
const label | index, | ||
const polyBoundaryMesh & | bm, | ||
const word & | patchType, | ||
const transformType | transform = UNKNOWN |
||
) |
Definition at line 560 of file oldCyclicPolyPatch.C.
Referenced by oldCyclicPolyPatch::clone().
oldCyclicPolyPatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index, | ||
const polyBoundaryMesh & | bm, | ||
const word & | patchType | ||
) |
Definition at line 579 of file oldCyclicPolyPatch.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::found(), Foam::name(), dictionary::readEntry(), dictionary::readIfPresent(), and Foam::transform().
oldCyclicPolyPatch | ( | const oldCyclicPolyPatch & | pp, |
const polyBoundaryMesh & | bm | ||
) |
Definition at line 628 of file oldCyclicPolyPatch.C.
oldCyclicPolyPatch | ( | const oldCyclicPolyPatch & | pp, |
const polyBoundaryMesh & | bm, | ||
const label | index, | ||
const label | newSize, | ||
const label | newStart | ||
) |
Definition at line 642 of file oldCyclicPolyPatch.C.
|
virtual |
Definition at line 660 of file oldCyclicPolyPatch.C.
|
protectedvirtual |
Implements coupledPolyPatch.
Definition at line 666 of file oldCyclicPolyPatch.C.
References polyPatch::initGeometry().
|
protectedvirtual |
Implements coupledPolyPatch.
Definition at line 685 of file oldCyclicPolyPatch.C.
|
protectedvirtual |
Implements coupledPolyPatch.
Definition at line 690 of file oldCyclicPolyPatch.C.
References polyPatch::initMovePoints(), and p.
|
protectedvirtual |
Implements coupledPolyPatch.
Definition at line 700 of file oldCyclicPolyPatch.C.
References polyPatch::movePoints(), and p.
|
protectedvirtual |
Implements coupledPolyPatch.
Definition at line 709 of file oldCyclicPolyPatch.C.
References polyPatch::initUpdateMesh().
|
protectedvirtual |
Implements coupledPolyPatch.
Definition at line 715 of file oldCyclicPolyPatch.C.
References polyPatch::updateMesh().
TypeName | ( | "oldCyclic" | ) |
|
inlinevirtual |
Reimplemented from polyPatch.
Definition at line 213 of file oldCyclicPolyPatch.H.
References oldCyclicPolyPatch::oldCyclicPolyPatch().
|
inlinevirtual |
Reimplemented from polyPatch.
Definition at line 221 of file oldCyclicPolyPatch.H.
References patchIdentifier::index(), and oldCyclicPolyPatch::oldCyclicPolyPatch().
|
inlinevirtual |
Implements coupledPolyPatch.
Definition at line 245 of file oldCyclicPolyPatch.H.
References NotImplemented.
|
inlinevirtual |
Implements coupledPolyPatch.
Definition at line 252 of file oldCyclicPolyPatch.H.
References NotImplemented.
|
inlinevirtual |
Implements coupledPolyPatch.
Definition at line 258 of file oldCyclicPolyPatch.H.
References NotImplemented.
|
virtual |
Implements coupledPolyPatch.
Definition at line 673 of file oldCyclicPolyPatch.C.
|
virtual |
Implements coupledPolyPatch.
Definition at line 722 of file oldCyclicPolyPatch.C.
|
virtual |
Implements coupledPolyPatch.
Definition at line 734 of file oldCyclicPolyPatch.C.
References Foam::abort(), Foam::constant::physicoChemical::c1, Foam::expressions::patchExpr::debug, Foam::endl(), f(), Foam::faceMap(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::identity(), PrimitivePatch< FaceList, PointField >::localFaces(), Foam::matchPoints(), mesh, OFstream::name(), Foam::name(), path(), pFaces, PrimitivePatch< FaceList, PointField >::pointFaces(), PrimitivePatch< FaceList, PointField >::points(), Foam::Pout, SeriousErrorInFunction, List::setSize(), and Foam::meshTools::writeOBJ().
|
virtual |
Reimplemented from coupledPolyPatch.
Definition at line 1217 of file oldCyclicPolyPatch.C.
References Foam::endl(), os(), Foam::transform(), WarningInFunction, patchIdentifier::write(), and Ostream::writeEntry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.