PatchIntersection< SrcPatchType, TgtPatchType > Class Template Reference

Base class for patch intersections. Provides storage and access to the intersection points and faces and their relationship between the source and target patches. More...

Inheritance diagram for PatchIntersection< SrcPatchType, TgtPatchType >:
Collaboration diagram for PatchIntersection< SrcPatchType, TgtPatchType >:

Public Member Functions

 PatchIntersection (const SrcPatchType &srcPatch, const TgtPatchType &tgtPatch)
 Construct from a source and a target patch. More...
 
virtual ~PatchIntersection ()
 Destructor. More...
 
const SrcPatchType & srcPatch () const
 The source patch. More...
 
const TgtPatchType & tgtPatch () const
 The target patch. More...
 
- Public Member Functions inherited from patchIntersection
 ClassName ("patchIntersection")
 
virtual word type () const =0
 
 patchIntersection (const label srcNPoints, const label tgtNPoints, const label srcNEdges, const label tgtNEdges, const label srcNFaces, const label tgtNFaces)
 Construct given sizes. More...
 
virtual ~patchIntersection ()
 Destructor. More...
 
const pointFieldpoints () const
 The intersection points. More...
 
const labelListsrcPointPoints () const
 The source points' corresponding intersection points. More...
 
const labelListtgtPointPoints () const
 The target points' corresponding intersection points. More...
 
const DynamicList< label > & pointSrcPoints () const
 The intersection points' corresponding source points, or -1. More...
 
const DynamicList< label > & pointTgtPoints () const
 The intersection points' corresponding target points, or -1. More...
 
const List< DynamicList< label > > & srcEdgePoints () const
 The source edges' intersection points. Ordered along the edge. More...
 
const List< DynamicList< label > > & tgtEdgePoints () const
 The target edges' intersection points. Ordered along the edge. More...
 
const DynamicList< label > & pointSrcEdges () const
 The intersection points' source edges, or -1 if the point. More...
 
const DynamicList< label > & pointTgtEdges () const
 The intersection points' target edges, or -1 if the point. More...
 
const DynamicList< label > & pointSrcFaces () const
 The intersection points' source faces, or -1 if the point. More...
 
const DynamicList< label > & pointTgtFaces () const
 The intersection points' target faces, or -1 if the point. More...
 
const faceListfaces () const
 The intersection faces. More...
 
const List< DynamicList< label > > & srcFaceFaces () const
 The source faces' intersection faces. More...
 
const List< DynamicList< label > > & tgtFaceFaces () const
 The target faces' intersection faces. More...
 
const DynamicList< label > & faceSrcFaces () const
 The intersection faces' corresponding source faces, or -1. More...
 
const DynamicList< label > & faceTgtFaces () const
 The intersection faces' corresponding target faces, or -1. More...
 

Protected Attributes

const SrcPatchType & srcPatch_
 Reference to the source patch. More...
 
const TgtPatchType & tgtPatch_
 Reference to the target patch. More...
 
- Protected Attributes inherited from patchIntersection
DynamicField< pointpoints_
 The intersection points. More...
 
labelList srcPointPoints_
 The source points' corresponding intersection points. More...
 
labelList tgtPointPoints_
 The target points' corresponding intersection points. More...
 
DynamicList< labelpointSrcPoints_
 The intersection points' corresponding source points, or -1. More...
 
DynamicList< labelpointTgtPoints_
 The intersection points' corresponding target points, or -1. More...
 
List< DynamicList< label > > srcEdgePoints_
 The source edges' intersection points. Ordered along the edge. More...
 
List< DynamicList< label > > tgtEdgePoints_
 The target edges' intersection points. Ordered along the edge. More...
 
DynamicList< labelpointSrcEdges_
 The intersection points' source edges, or -1 if the point. More...
 
DynamicList< labelpointTgtEdges_
 The intersection points' target edges, or -1 if the point. More...
 
DynamicList< labelpointSrcFaces_
 The intersection points' source faces, or -1 if the point. More...
 
DynamicList< labelpointTgtFaces_
 The intersection points' target faces, or -1 if the point. More...
 
DynamicList< facefaces_
 The intersection faces. More...
 
List< DynamicList< label > > srcFaceFaces_
 The source faces' intersection faces. More...
 
List< DynamicList< label > > tgtFaceFaces_
 The target faces' intersection faces. More...
 
DynamicList< labelfaceSrcFaces_
 The intersection faces' corresponding source faces, or -1. More...
 
DynamicList< labelfaceTgtFaces_
 The intersection faces' corresponding target faces, or -1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from patchIntersection
void report (const word &writeSuffix=word::null)
 Report properties of the intersection process. More...
 
- Static Protected Attributes inherited from patchIntersection
static const bool orientToSource_ = true
 Flag to set whether the faces of the intersection are oriented the. More...
 

Detailed Description

template<class SrcPatchType, class TgtPatchType>
class Foam::PatchIntersection< SrcPatchType, TgtPatchType >

Base class for patch intersections. Provides storage and access to the intersection points and faces and their relationship between the source and target patches.

Source files

Definition at line 54 of file PatchIntersection.H.

Constructor & Destructor Documentation

◆ PatchIntersection()

PatchIntersection ( const SrcPatchType &  srcPatch,
const TgtPatchType &  tgtPatch 
)

Construct from a source and a target patch.

Definition at line 33 of file PatchIntersection.C.

◆ ~PatchIntersection()

Destructor.

Definition at line 57 of file PatchIntersection.C.

Member Function Documentation

◆ srcPatch()

const SrcPatchType & srcPatch
inline

The source patch.

Definition at line 32 of file PatchIntersectionI.H.

Referenced by FacePatchIntersection< SrcPatchType, TgtPatchType >::FacePatchIntersection().

Here is the caller graph for this function:

◆ tgtPatch()

const TgtPatchType & tgtPatch
inline

The target patch.

Definition at line 40 of file PatchIntersectionI.H.

Referenced by FacePatchIntersection< SrcPatchType, TgtPatchType >::FacePatchIntersection().

Here is the caller graph for this function:

Member Data Documentation

◆ srcPatch_

const SrcPatchType& srcPatch_
protected

◆ tgtPatch_

const TgtPatchType& tgtPatch_
protected

The documentation for this class was generated from the following files: