Public Member Functions | Private Member Functions | Private Attributes
cyclicPointPatch Class Reference

Cyclic patch for post-processing. More...

Inheritance diagram for cyclicPointPatch:
Inheritance graph
[legend]
Collaboration diagram for cyclicPointPatch:
Collaboration graph
[legend]

Public Member Functions

 TypeName (cyclicPolyPatch::typeName_())
 Runtime type information. More...
 
 cyclicPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~cyclicPointPatch ()
 Destructor. More...
 
virtual const wordconstraintType () const
 Return the constraint type this pointPatch implements. More...
 
const cyclicPolyPatchcyclicPatch () const
 Return the underlying cyclicPolyPatch. More...
 
const cyclicPointPatchneighbPatch () const
 Return neighbour point patch. More...
 
bool parallel () const
 Are the cyclic planes parallel. More...
 
const tensorFieldforwardT () const
 Return face transformation tensor. More...
 
const tensorFieldreverseT () const
 Return neighbour-cell transformation tensor. More...
 
virtual const edgeListtransformPairs () const
 Return the set of pairs of points that require transformation. More...
 
- Public Member Functions inherited from coupledFacePointPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information. More...
 
 coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~coupledFacePointPatch ()
 Destructor. More...
 
- Public Member Functions inherited from facePointPatch
 TypeName (polyPatch::typeName_())
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm))
 
 facePointPatch (const polyPatch &, const pointBoundaryMesh &)
 Construct from polyPatch. More...
 
virtual ~facePointPatch ()
 Destructor. More...
 
const polyPatchpatch () const
 Return the polyPatch. More...
 
virtual const wordname () const
 Return name. More...
 
virtual label size () const
 Return size. More...
 
virtual label index () const
 Return the index of this patch in the pointBoundaryMesh. More...
 
virtual bool coupled () const
 Return true if this patch field is coupled. More...
 
virtual const labelListmeshPoints () const
 Return mesh points. More...
 
virtual const pointFieldlocalPoints () const
 Return pointField of points in patch. More...
 
virtual const vectorFieldpointNormals () const
 Return point unit normals. More...
 
- Public Member Functions inherited from pointPatch
 TypeName ("basePatch")
 Runtime type information. More...
 
 pointPatch (const pointBoundaryMesh &bm)
 
virtual ~pointPatch ()
 Destructor. More...
 
const pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference. More...
 
virtual void applyConstraint (const label pointi, pointConstraint &) const
 Accumulate the effect of constraint direction of this patch. More...
 
- Public Member Functions inherited from coupledPointPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information. More...
 
 coupledPointPatch (const pointBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~coupledPointPatch ()
 Destructor. More...
 

Private Member Functions

 cyclicPointPatch (const cyclicPointPatch &)
 Disallow default construct as copy. More...
 
void operator= (const cyclicPointPatch &)
 Disallow default assignment. More...
 
virtual void initGeometry (PstreamBuffers &)
 Initialise the calculation of the patch geometry. More...
 
virtual void calcGeometry (PstreamBuffers &)
 Calculate the patch geometry. More...
 
virtual void initMovePoints (PstreamBuffers &, const pointField &)
 Initialise the patches for moving points. More...
 
virtual void movePoints (PstreamBuffers &, const pointField &)
 Correct patches after moving points. More...
 
virtual void initUpdateMesh (PstreamBuffers &)
 Initialise the update of the patch topology. More...
 
virtual void updateMesh (PstreamBuffers &)
 Update of the patch topology. More...
 

Private Attributes

const cyclicPolyPatchcyclicPolyPatch_
 Local reference cast into the cyclic patch. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from facePointPatch
static autoPtr< facePointPatchNew (const polyPatch &, const pointBoundaryMesh &)
 Return a pointer to a new patch created on freestore from polyPatch. More...
 
- Protected Attributes inherited from facePointPatch
const polyPatchpolyPatch_
 Reference to the underlying polyPatch. More...
 

Detailed Description

Cyclic patch for post-processing.

Source files

Definition at line 50 of file cyclicPointPatch.H.

Constructor & Destructor Documentation

◆ cyclicPointPatch() [1/2]

cyclicPointPatch ( const cyclicPointPatch )
private

Disallow default construct as copy.

◆ cyclicPointPatch() [2/2]

cyclicPointPatch ( const polyPatch patch,
const pointBoundaryMesh bm 
)

Construct from components.

Definition at line 82 of file cyclicPointPatch.C.

◆ ~cyclicPointPatch()

~cyclicPointPatch ( )
virtual

Destructor.

Definition at line 94 of file cyclicPointPatch.C.

Member Function Documentation

◆ operator=()

void operator= ( const cyclicPointPatch )
private

Disallow default assignment.

◆ initGeometry()

void initGeometry ( PstreamBuffers )
privatevirtual

Initialise the calculation of the patch geometry.

Implements coupledPointPatch.

Definition at line 49 of file cyclicPointPatch.C.

Referenced by cyclicPointPatch::initUpdateMesh().

Here is the caller graph for this function:

◆ calcGeometry()

void calcGeometry ( PstreamBuffers )
privatevirtual

Calculate the patch geometry.

Implements coupledFacePointPatch.

Definition at line 53 of file cyclicPointPatch.C.

Referenced by cyclicPointPatch::updateMesh().

Here is the caller graph for this function:

◆ initMovePoints()

void initMovePoints ( PstreamBuffers ,
const pointField  
)
privatevirtual

Initialise the patches for moving points.

Implements coupledPointPatch.

Definition at line 57 of file cyclicPointPatch.C.

◆ movePoints()

void movePoints ( PstreamBuffers ,
const pointField  
)
privatevirtual

Correct patches after moving points.

Implements coupledPointPatch.

Definition at line 61 of file cyclicPointPatch.C.

◆ initUpdateMesh()

void initUpdateMesh ( PstreamBuffers pBufs)
privatevirtual

Initialise the update of the patch topology.

Implements coupledPointPatch.

Definition at line 65 of file cyclicPointPatch.C.

References cyclicPointPatch::initGeometry(), and facePointPatch::initUpdateMesh().

Here is the call graph for this function:

◆ updateMesh()

void updateMesh ( PstreamBuffers pBufs)
privatevirtual

Update of the patch topology.

Implements coupledPointPatch.

Definition at line 72 of file cyclicPointPatch.C.

References cyclicPointPatch::calcGeometry(), and facePointPatch::updateMesh().

Here is the call graph for this function:

◆ TypeName()

TypeName ( cyclicPolyPatch::typeName_()  )

Runtime type information.

◆ constraintType()

virtual const word& constraintType ( ) const
inlinevirtual

Return the constraint type this pointPatch implements.

Reimplemented from pointPatch.

Definition at line 115 of file cyclicPointPatch.H.

References Foam::type().

Here is the call graph for this function:

◆ cyclicPatch()

const cyclicPolyPatch& cyclicPatch ( ) const
inline

Return the underlying cyclicPolyPatch.

Definition at line 121 of file cyclicPointPatch.H.

References cyclicPointPatch::cyclicPolyPatch_.

◆ neighbPatch()

const cyclicPointPatch& neighbPatch ( ) const
inline

Return neighbour point patch.

Definition at line 127 of file cyclicPointPatch.H.

References pointPatch::boundaryMesh(), cyclicPointPatch::cyclicPolyPatch_, and cyclicPolyPatch::neighbPatchID().

Referenced by cyclicPointPatchField< Type >::swapAddSeparated().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parallel()

bool parallel ( ) const
inline

Are the cyclic planes parallel.

Definition at line 135 of file cyclicPointPatch.H.

References cyclicPointPatch::cyclicPolyPatch_, and coupledPolyPatch::parallel().

Referenced by cyclicPointPatchField< Type >::doTransform().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forwardT()

const tensorField& forwardT ( ) const
inline

Return face transformation tensor.

Definition at line 141 of file cyclicPointPatch.H.

References cyclicPointPatch::cyclicPolyPatch_, and coupledPolyPatch::forwardT().

Referenced by cyclicPointPatchField< Type >::forwardT().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reverseT()

const tensorField& reverseT ( ) const
inline

Return neighbour-cell transformation tensor.

Definition at line 147 of file cyclicPointPatch.H.

References cyclicPointPatch::cyclicPolyPatch_, and coupledPolyPatch::reverseT().

Referenced by cyclicPointPatchField< Type >::reverseT().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transformPairs()

const Foam::edgeList & transformPairs ( ) const
virtual

Return the set of pairs of points that require transformation.

and/or mapping. First index is on this patch, second on the neighbour patch.

Definition at line 100 of file cyclicPointPatch.C.

Field Documentation

◆ cyclicPolyPatch_

const cyclicPolyPatch& cyclicPolyPatch_
private

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