Public Member Functions | |
PrimitiveOldTimePatch (const FaceList &faces, const Field< PointType > &points, const Field< PointType > &points0) | |
Construct from components. More... | |
PrimitiveOldTimePatch (const PrimitivePatch< FaceList, PointField > &patch, const Field< PointType > &points0) | |
Construct from patch and old-time points. More... | |
PrimitiveOldTimePatch (const FaceList &faces, const Field< PointType > &points) | |
Construct from components without old-time points. More... | |
PrimitiveOldTimePatch (const PrimitivePatch< FaceList, PointField > &patch) | |
Construct from patch without old-time points. More... | |
PrimitiveOldTimePatch (const PrimitiveOldTimePatch &patch) | |
Copy constructor. More... | |
PrimitiveOldTimePatch (PrimitiveOldTimePatch &&patch) | |
Move constructor. More... | |
autoPtr< PrimitiveOldTimePatch< FaceList, PointField > > | clone () const |
Construct and return a clone. More... | |
virtual | ~PrimitiveOldTimePatch () |
Destructor. More... | |
bool | has0 () const |
Return whether or not old-time geometry is available. More... | |
const Field< PointType > & | points0 () const |
Return reference to old-time global points. More... | |
const Field< PointType > & | localPoints0 () const |
Return pointField of old-time points in patch. More... | |
const Field< PointType > & | faceCentres0 () const |
Return old-time face centres for patch. More... | |
const Field< PointType > & | faceAreas0 () const |
Return old-time face areas for patch. More... | |
const Field< PointType > & | faceNormals0 () const |
Return old-time face normals for patch. More... | |
const Field< PointType > & | pointNormals0 () const |
Return old-time point normals for patch. More... | |
void | clearOut () |
... More... | |
void | clearGeom () |
... More... | |
virtual void | movePoints0 (const Field< PointType > &) |
Correct patch after moving points. More... | |
void | operator= (const PrimitiveOldTimePatch &)=delete |
Disallow default bitwise assignment. More... | |
![]() | |
PrimitivePatch (const FaceList &faces, const Field< PointType > &points) | |
Construct from components. More... | |
PrimitivePatch (FaceList &&faces, Field< PointType > &&points) | |
Move constructor from components. More... | |
PrimitivePatch (FaceList &faces, Field< PointType > &points, const bool reuse) | |
Construct from components, reuse storage. More... | |
PrimitivePatch (const PrimitivePatch< FaceList, PointField > &) | |
Copy constructor. More... | |
PrimitivePatch (PrimitivePatch< FaceList, PointField > &&) | |
Move constructor. More... | |
autoPtr< PrimitivePatch< FaceList, PointField > > | clone () const |
Construct and return a clone. More... | |
~PrimitivePatch () | |
Destructor. More... | |
const Field< PointType > & | points () const |
Return reference to global points. More... | |
label | nPoints () const |
Return number of points supporting patch faces. More... | |
label | nEdges () const |
Return number of edges in patch. More... | |
const edgeList & | edges () const |
Return list of edges, address into LOCAL point list. More... | |
label | nInternalEdges () const |
Number of internal edges. More... | |
bool | isInternalEdge (const label edgeI) const |
Is internal edge? More... | |
const labelList & | boundaryPoints () const |
Return list of boundary points,. More... | |
const labelListList & | faceFaces () const |
Return face-face addressing. More... | |
const labelListList & | edgeFaces () const |
Return edge-face addressing. More... | |
const labelListList & | faceEdges () const |
Return face-edge addressing. More... | |
const labelListList & | pointEdges () const |
Return point-edge addressing. More... | |
const labelListList & | pointFaces () const |
Return point-face addressing. More... | |
const List< FaceType > & | localFaces () const |
Return patch faces addressing into local point list. More... | |
const labelList & | meshPoints () const |
Return labelList of mesh points in patch. They are constructed. More... | |
const Map< label > & | meshPointMap () const |
Mesh point map. Given the global point index find its. More... | |
const Field< PointType > & | localPoints () const |
Return pointField of points in patch. More... | |
const labelList & | localPointOrder () const |
Return orders the local points for most efficient search. More... | |
label | whichPoint (const label gp) const |
Given a global point index, return the local point index. More... | |
label | whichEdge (const edge &) const |
Given an edge in local point labels, return its. More... | |
labelList | meshEdges (const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const |
Return labels of patch edges in the global edge list using. More... | |
labelList | meshEdges (const edgeList &allEdges, const labelListList &pointEdges) const |
Return labels of patch edges in the global edge list using. More... | |
const Field< PointType > & | faceCentres () const |
Return face centres for patch. More... | |
const Field< PointType > & | faceAreas () const |
Return face areas for patch. More... | |
const Field< PointType > & | faceNormals () const |
Return face normals for patch. More... | |
const Field< PointType > & | pointNormals () const |
Return point normals for patch. More... | |
template<class ToPatch > | |
List< objectHit > | projectPoints (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm=intersection::algorithm::fullRay, const intersection::direction=intersection::direction::vector) const |
Project vertices of patch onto another patch. More... | |
template<class ToPatch > | |
List< objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm=intersection::algorithm::fullRay, const intersection::direction=intersection::direction::vector) const |
Project vertices of patch onto another patch. More... | |
const labelListList & | edgeLoops () const |
Return list of closed loops of boundary vertices. More... | |
surfaceTopo | surfaceType () const |
Calculate surface type formed by patch. More... | |
bool | checkTopology (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check surface formed by patch for manifoldness (see above). More... | |
bool | checkPointManifold (const bool report=false, labelHashSet *setPtr=nullptr) const |
Checks primitivePatch for faces sharing point but not edge. More... | |
void | clearOut () |
void | clearGeom () |
void | clearTopology () |
void | clearPatchMeshAddr () |
void | operator= (const PrimitivePatch< FaceList, PointField > &) |
Assignment operator. More... | |
void | operator= (PrimitivePatch< FaceList, PointField > &&) |
Move assignment operator. More... | |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectPoints (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
Additional Inherited Members | |
![]() | |
enum | surfaceTopo { MANIFOLD , OPEN , ILLEGAL } |
Enumeration defining the surface type. Used in check routines. More... | |
typedef FaceList | FaceListType |
typedef std::remove_reference< FaceList >::type::value_type | FaceType |
typedef PointField | PointFieldType |
typedef std::remove_reference< PointField >::type::value_type | PointType |
Definition at line 62 of file PrimitiveOldTimePatch.H.
PrimitiveOldTimePatch | ( | const FaceList & | faces, |
const Field< PointType > & | points, | ||
const Field< PointType > & | points0 | ||
) |
Construct from components.
Definition at line 31 of file PrimitiveOldTimePatch.C.
PrimitiveOldTimePatch | ( | const PrimitivePatch< FaceList, PointField > & | patch, |
const Field< PointType > & | points0 | ||
) |
Construct from patch and old-time points.
Definition at line 47 of file PrimitiveOldTimePatch.C.
PrimitiveOldTimePatch | ( | const FaceList & | faces, |
const Field< PointType > & | points | ||
) |
Construct from components without old-time points.
Definition at line 61 of file PrimitiveOldTimePatch.C.
PrimitiveOldTimePatch | ( | const PrimitivePatch< FaceList, PointField > & | patch | ) |
Construct from patch without old-time points.
Definition at line 76 of file PrimitiveOldTimePatch.C.
PrimitiveOldTimePatch | ( | const PrimitiveOldTimePatch< FaceList, PointField > & | patch | ) |
Copy constructor.
PrimitiveOldTimePatch | ( | PrimitiveOldTimePatch< FaceList, PointField > && | patch | ) |
Move constructor.
|
virtual |
Destructor.
Definition at line 117 of file PrimitiveOldTimePatch.C.
|
inline |
Construct and return a clone.
Definition at line 151 of file PrimitiveOldTimePatch.H.
|
inline |
Return whether or not old-time geometry is available.
Definition at line 169 of file PrimitiveOldTimePatch.H.
References autoPtr< T >::valid().
Referenced by patchToPatch::distributePatch(), patchToPatch::srcBox(), patchToPatch::tgtBox(), and patchToPatch::update().
Return reference to old-time global points.
Definition at line 175 of file PrimitiveOldTimePatch.H.
Referenced by patchToPatch::distributePatch().
const Foam::Field< typename Foam::PrimitiveOldTimePatch< FaceList, PointField >::PointType > & localPoints0 |
Return pointField of old-time points in patch.
Definition at line 129 of file PrimitiveOldTimePatch.C.
References forAll, and List< T >::size().
Referenced by patchToPatch::distributePatch(), and patchToPatch::update().
const Foam::Field< typename Foam::PrimitiveOldTimePatch< FaceList, PointField >::PointType > & faceCentres0 |
Return old-time face centres for patch.
Definition at line 168 of file PrimitiveOldTimePatch.C.
const Foam::Field< typename Foam::PrimitiveOldTimePatch< FaceList, PointField >::PointType > & faceAreas0 |
Return old-time face areas for patch.
Definition at line 178 of file PrimitiveOldTimePatch.C.
const Foam::Field< typename Foam::PrimitiveOldTimePatch< FaceList, PointField >::PointType > & faceNormals0 |
Return old-time face normals for patch.
Definition at line 188 of file PrimitiveOldTimePatch.C.
const Foam::Field< typename Foam::PrimitiveOldTimePatch< FaceList, PointField >::PointType > & pointNormals0 |
Return old-time point normals for patch.
Definition at line 198 of file PrimitiveOldTimePatch.C.
References NotImplemented.
void clearOut |
...
Definition at line 208 of file PrimitiveOldTimePatch.C.
References PrimitivePatch< FaceList, PointField >::clearOut(), and Foam::deleteDemandDrivenData().
void clearGeom |
...
Definition at line 218 of file PrimitiveOldTimePatch.C.
References PrimitivePatch< FaceList, PointField >::clearGeom(), and Foam::deleteDemandDrivenData().
Correct patch after moving points.
Definition at line 228 of file PrimitiveOldTimePatch.C.
|
delete |
Disallow default bitwise assignment.