patchIntersection Class Referenceabstract

Base class for patch intersections. Provides type name and debugging. See templated derivatives for actual functionality. More...

Inheritance diagram for patchIntersection:
Collaboration diagram for patchIntersection:

Public Member Functions

 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 Member Functions

void report (const word &writeSuffix=word::null)
 Report properties of the intersection process. More...
 

Protected Attributes

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...
 

Static Protected Attributes

static const bool orientToSource_ = true
 Flag to set whether the faces of the intersection are oriented the. More...
 

Detailed Description

Base class for patch intersections. Provides type name and debugging. See templated derivatives for actual functionality.

Source files

Definition at line 50 of file patchIntersection.H.

Constructor & Destructor Documentation

◆ patchIntersection()

patchIntersection ( const label  srcNPoints,
const label  tgtNPoints,
const label  srcNEdges,
const label  tgtNEdges,
const label  srcNFaces,
const label  tgtNFaces 
)

Construct given sizes.

Definition at line 149 of file patchIntersection.C.

◆ ~patchIntersection()

~patchIntersection ( )
virtual

Destructor.

Definition at line 185 of file patchIntersection.C.

Member Function Documentation

◆ report()

◆ ClassName()

ClassName ( "patchIntersection"  )

◆ type()

virtual word type ( ) const
pure virtual

◆ points()

const Foam::pointField & points ( ) const
inline

The intersection points.

Definition at line 30 of file patchIntersectionI.H.

References patchIntersection::points_.

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

Here is the caller graph for this function:

◆ srcPointPoints()

const Foam::labelList & srcPointPoints ( ) const
inline

The source points' corresponding intersection points.

Definition at line 37 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ tgtPointPoints()

const Foam::labelList & tgtPointPoints ( ) const
inline

The target points' corresponding intersection points.

Definition at line 44 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ pointSrcPoints()

const Foam::DynamicList< Foam::label > & pointSrcPoints ( ) const
inline

The intersection points' corresponding source points, or -1.

if the point does not correspond to a source point

Definition at line 51 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ pointTgtPoints()

const Foam::DynamicList< Foam::label > & pointTgtPoints ( ) const
inline

The intersection points' corresponding target points, or -1.

if the point does not correspond to a target point

Definition at line 58 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ srcEdgePoints()

const Foam::List< Foam::DynamicList< Foam::label > > & srcEdgePoints ( ) const
inline

The source edges' intersection points. Ordered along the edge.

Definition at line 65 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ tgtEdgePoints()

const Foam::List< Foam::DynamicList< Foam::label > > & tgtEdgePoints ( ) const
inline

The target edges' intersection points. Ordered along the edge.

Definition at line 72 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ pointSrcEdges()

const Foam::DynamicList< Foam::label > & pointSrcEdges ( ) const
inline

The intersection points' source edges, or -1 if the point.

is not on a source edge

Definition at line 79 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ pointTgtEdges()

const Foam::DynamicList< Foam::label > & pointTgtEdges ( ) const
inline

The intersection points' target edges, or -1 if the point.

is not on a target edge

Definition at line 86 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ pointSrcFaces()

const Foam::DynamicList< Foam::label > & pointSrcFaces ( ) const
inline

The intersection points' source faces, or -1 if the point.

did not project into a source face

Definition at line 93 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ pointTgtFaces()

const Foam::DynamicList< Foam::label > & pointTgtFaces ( ) const
inline

The intersection points' target faces, or -1 if the point.

did not project into a target face

Definition at line 100 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ faces()

const Foam::faceList & faces ( ) const
inline

The intersection faces.

Definition at line 106 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ srcFaceFaces()

const Foam::List< Foam::DynamicList< Foam::label > > & srcFaceFaces ( ) const
inline

The source faces' intersection faces.

Definition at line 113 of file patchIntersectionI.H.

◆ tgtFaceFaces()

const Foam::List< Foam::DynamicList< Foam::label > > & tgtFaceFaces ( ) const
inline

The target faces' intersection faces.

Definition at line 120 of file patchIntersectionI.H.

◆ faceSrcFaces()

const Foam::DynamicList< Foam::label > & faceSrcFaces ( ) const
inline

The intersection faces' corresponding source faces, or -1.

if the face does not correspond to source face

Definition at line 127 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

◆ faceTgtFaces()

const Foam::DynamicList< Foam::label > & faceTgtFaces ( ) const
inline

The intersection faces' corresponding target faces, or -1.

if the face does not correspond to target face

Definition at line 134 of file patchIntersectionI.H.

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

Here is the caller graph for this function:

Member Data Documentation

◆ orientToSource_

const bool orientToSource_ = true
staticprotected

Flag to set whether the faces of the intersection are oriented the.

same way as the source patch (true) or the target patch (false).

Definition at line 58 of file patchIntersection.H.

◆ points_

◆ srcPointPoints_

labelList srcPointPoints_
protected

The source points' corresponding intersection points.

Definition at line 69 of file patchIntersection.H.

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

◆ tgtPointPoints_

labelList tgtPointPoints_
protected

The target points' corresponding intersection points.

Definition at line 72 of file patchIntersection.H.

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

◆ pointSrcPoints_

DynamicList<label> pointSrcPoints_
protected

The intersection points' corresponding source points, or -1.

if the point does not correspond to a source point

Definition at line 76 of file patchIntersection.H.

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

◆ pointTgtPoints_

DynamicList<label> pointTgtPoints_
protected

The intersection points' corresponding target points, or -1.

if the point does not correspond to a target point

Definition at line 80 of file patchIntersection.H.

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

◆ srcEdgePoints_

List<DynamicList<label> > srcEdgePoints_
protected

The source edges' intersection points. Ordered along the edge.

Definition at line 83 of file patchIntersection.H.

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

◆ tgtEdgePoints_

List<DynamicList<label> > tgtEdgePoints_
protected

The target edges' intersection points. Ordered along the edge.

Definition at line 86 of file patchIntersection.H.

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

◆ pointSrcEdges_

DynamicList<label> pointSrcEdges_
protected

The intersection points' source edges, or -1 if the point.

is not on a source edge

Definition at line 90 of file patchIntersection.H.

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

◆ pointTgtEdges_

DynamicList<label> pointTgtEdges_
protected

The intersection points' target edges, or -1 if the point.

is not on a target edge

Definition at line 94 of file patchIntersection.H.

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

◆ pointSrcFaces_

DynamicList<label> pointSrcFaces_
protected

The intersection points' source faces, or -1 if the point.

did not project into a source face

Definition at line 104 of file patchIntersection.H.

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

◆ pointTgtFaces_

DynamicList<label> pointTgtFaces_
protected

The intersection points' target faces, or -1 if the point.

did not project into a target face

Definition at line 108 of file patchIntersection.H.

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

◆ faces_

◆ srcFaceFaces_

List<DynamicList<label> > srcFaceFaces_
protected

The source faces' intersection faces.

Definition at line 117 of file patchIntersection.H.

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

◆ tgtFaceFaces_

List<DynamicList<label> > tgtFaceFaces_
protected

The target faces' intersection faces.

Definition at line 120 of file patchIntersection.H.

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

◆ faceSrcFaces_

DynamicList<label> faceSrcFaces_
protected

The intersection faces' corresponding source faces, or -1.

if the face does not correspond to source face

Definition at line 124 of file patchIntersection.H.

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

◆ faceTgtFaces_

DynamicList<label> faceTgtFaces_
protected

The intersection faces' corresponding target faces, or -1.

if the face does not correspond to target face

Definition at line 128 of file patchIntersection.H.

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


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