Loading...
Searching...
No Matches
cyclicACMIPointPatch Class Reference

Cyclic AMI point patch - place holder only. More...

#include <cyclicACMIPointPatch.H>

Inheritance diagram for cyclicACMIPointPatch:
Collaboration diagram for cyclicACMIPointPatch:

Public Member Functions

 TypeName (cyclicACMIPolyPatch::typeName_())
 Runtime type information.
 cyclicACMIPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components.
virtual ~cyclicACMIPointPatch ()
 Destructor.
virtual bool coupled () const
 Is patch 'coupled'. Note that on AMI the geometry is not.
virtual const wordconstraintType () const
 Return the constraint type this pointPatch implements.
const cyclicACMIPolyPatchcyclicACMIPatch () const
 Return the underlying cyclicAMIPolyPatch.
const cyclicACMIPointPatch & neighbPatch () const
 Return neighbour point patch.
bool parallel () const
 Are the cyclic planes parallel.
const tensorFieldforwardT () const
 Return face transformation tensor.
const tensorFieldreverseT () const
 Return neighbour-cell transformation tensor.
Public Member Functions inherited from coupledFacePointPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information.
 coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components.
 coupledFacePointPatch (const coupledFacePointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap)
 Construct given the original patch and a map.
virtual ~coupledFacePointPatch ()=default
 Destructor.
Public Member Functions inherited from facePointPatch
 TypeName (polyPatch::typeName_())
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm))
 facePointPatch (const polyPatch &p, const pointBoundaryMesh &pm)
 Construct from polyPatch and boundary mesh.
 facePointPatch (const facePointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap)
 Construct given the original patch and a map.
virtual autoPtr< pointPatchclone (const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap) const
 Construct and return a subset clone, resetting the point list and boundary mesh.
virtual ~facePointPatch ()=default
 Destructor.
virtual const polyPatchpatch () const
 Return the polyPatch.
virtual const wordname () const
 Return name.
virtual label size () const
 Return size.
virtual label index () const
 Return the index of this patch in the pointBoundaryMesh.
virtual const labelListmeshPoints () const
 Return mesh points.
virtual const pointFieldlocalPoints () const
 Return pointField of points in patch.
virtual const vectorFieldpointNormals () const
 Return point unit normals.
Public Member Functions inherited from pointPatch
 TypeName ("basePatch")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, pointPatch, dictionary,(const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &bm, const word &patchType),(name, dict, index, bm, patchType))
 pointPatch (const word &name, const label index, const pointBoundaryMesh &bm, const word &physicalType, const wordList &inGroups)
 Construct from components.
 pointPatch (const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &bm)
 Construct from dictionary.
 pointPatch (const pointPatch &pp, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap)
 Construct given the original patch and a map.
virtual ~pointPatch ()=default
 Destructor.
const pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference.
virtual void applyConstraint (const label pointi, pointConstraint &) const
 Accumulate the effect of constraint direction of this patch.
virtual void write (Ostream &) const
 Write the pointPatch data as a dictionary.
Public Member Functions inherited from patchIdentifier
 patchIdentifier (const patchIdentifier &)=default
 Copy construct.
 patchIdentifier (patchIdentifier &&)=default
 Move construct.
patchIdentifieroperator= (const patchIdentifier &)=default
 Copy assignment.
patchIdentifieroperator= (patchIdentifier &&)=default
 Move assignment.
virtual ~patchIdentifier ()=default
 Destructor.
 patchIdentifier ()
 Default construct: name="", index=0.
 patchIdentifier (const word &name, const label index)
 Construct from mandatory components.
 patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList())
 Construct from components.
 patchIdentifier (const word &name, const dictionary &dict, const label index)
 Construct from dictionary.
 patchIdentifier (const patchIdentifier &ident, const label newIndex)
 Copy construct, resetting the index (if non-negative).
 patchIdentifier (patchIdentifier &&ident, const label newIndex)
 Move construct, resetting the index (if non-negative).
const wordname () const noexcept
 The patch name.
wordname () noexcept
 Modifiable patch name.
label index () const noexcept
 The index of this patch in the boundaryMesh.
label & index () noexcept
 Modifiable index of this patch in the boundaryMesh.
const wordphysicalType () const noexcept
 The (optional) physical type of the patch.
wordphysicalType () noexcept
 Modifiable (optional) physical type of the patch.
const wordListinGroups () const noexcept
 The (optional) groups that the patch belongs to.
wordListinGroups () noexcept
 Modifiable (optional) groups that the patch belongs to.
bool inGroup (const word &name) const
 True if given name is in a group.
void addGroup (const word &name)
 Add (unique) group for the patch.
void removeGroup (const word &name)
 Remove group for the patch.
void write (Ostream &os) const
 Write (physicalType, inGroups) dictionary entries (without surrounding braces).
Public Member Functions inherited from coupledPointPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information.
 coupledPointPatch (const pointBoundaryMesh &bm)
 Construct from components.
virtual ~coupledPointPatch ()=default
 Destructor.

Protected Member Functions

virtual void initGeometry (PstreamBuffers &)
 Initialise the calculation of the patch geometry.
virtual void calcGeometry (PstreamBuffers &)
 Calculate the patch geometry.
virtual void initMovePoints (PstreamBuffers &, const pointField &)
 Initialise the patches for moving points.
virtual void movePoints (PstreamBuffers &, const pointField &)
 Correct patches after moving points.
virtual void initUpdateMesh (PstreamBuffers &)
 Initialise the update of the patch topology.
virtual void updateMesh (PstreamBuffers &)
 Update of the patch topology.
Protected Member Functions inherited from coupledFacePointPatch
 coupledFacePointPatch (const coupledFacePointPatch &)=delete
 No copy construct.
void operator= (const coupledFacePointPatch &)=delete
 No copy assignment.
Protected Member Functions inherited from facePointPatch
 facePointPatch (const facePointPatch &)=delete
 No copy construct.
void operator= (const facePointPatch &)=delete
 No copy assignment.
Protected Member Functions inherited from pointPatch
 pointPatch (const pointPatch &)=delete
 No copy construct.
void operator= (const pointPatch &)=delete
 No copy assignment.
Protected Member Functions inherited from coupledPointPatch
 coupledPointPatch (const coupledPointPatch &)=delete
 No copy construct.
void operator= (const coupledPointPatch &)=delete
 No copy assignment.

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.
Static Public Member Functions inherited from pointPatch
static autoPtr< pointPatchNew (const word &name, const dictionary &dict, const label index, const pointBoundaryMesh &)
 Return a pointer to a new patch created on freestore. Returns null if not found.
Static Public Member Functions inherited from patchIdentifier
static word defaultName (const label n=-1)
 Default patch name: "patch" or "patchN".
Protected Attributes inherited from facePointPatch
const polyPatchpolyPatch_
 Reference to the underlying polyPatch.

Detailed Description

Cyclic AMI point patch - place holder only.

Source files

Definition at line 48 of file cyclicACMIPointPatch.H.

Constructor & Destructor Documentation

◆ cyclicACMIPointPatch()

cyclicACMIPointPatch ( const polyPatch & patch,
const pointBoundaryMesh & bm )

Construct from components.

Definition at line 77 of file cyclicACMIPointPatch.C.

References coupledFacePointPatch::coupledFacePointPatch(), facePointPatch::patch(), and Foam::refCast().

Here is the call graph for this function:

◆ ~cyclicACMIPointPatch()

~cyclicACMIPointPatch ( )
virtual

Destructor.

Definition at line 90 of file cyclicACMIPointPatch.C.

Member Function Documentation

◆ initGeometry()

void initGeometry ( PstreamBuffers & )
protectedvirtual

Initialise the calculation of the patch geometry.

Reimplemented from facePointPatch.

Definition at line 41 of file cyclicACMIPointPatch.C.

◆ calcGeometry()

void calcGeometry ( PstreamBuffers & )
protectedvirtual

Calculate the patch geometry.

Implements coupledFacePointPatch.

Definition at line 45 of file cyclicACMIPointPatch.C.

◆ initMovePoints()

void initMovePoints ( PstreamBuffers & ,
const pointField &  )
protectedvirtual

Initialise the patches for moving points.

Reimplemented from facePointPatch.

Definition at line 49 of file cyclicACMIPointPatch.C.

◆ movePoints()

void movePoints ( PstreamBuffers & ,
const pointField &  )
protectedvirtual

Correct patches after moving points.

Reimplemented from facePointPatch.

Definition at line 57 of file cyclicACMIPointPatch.C.

◆ initUpdateMesh()

void initUpdateMesh ( PstreamBuffers & pBufs)
protectedvirtual

Initialise the update of the patch topology.

Reimplemented from facePointPatch.

Definition at line 61 of file cyclicACMIPointPatch.C.

References facePointPatch::initUpdateMesh().

Here is the call graph for this function:

◆ updateMesh()

void updateMesh ( PstreamBuffers & pBufs)
protectedvirtual

Update of the patch topology.

Reimplemented from facePointPatch.

Definition at line 68 of file cyclicACMIPointPatch.C.

References facePointPatch::updateMesh().

Here is the call graph for this function:

◆ TypeName()

TypeName ( cyclicACMIPolyPatch::typeName_() )

Runtime type information.

References facePointPatch::patch().

Here is the call graph for this function:

◆ coupled()

virtual bool coupled ( ) const
inlinevirtual

Is patch 'coupled'. Note that on AMI the geometry is not.

coupled but the fields are!

Reimplemented from facePointPatch.

Definition at line 141 of file cyclicACMIPointPatch.H.

◆ constraintType()

virtual const word & constraintType ( ) const
inlinevirtual

Return the constraint type this pointPatch implements.

Reimplemented from pointPatch.

Definition at line 149 of file cyclicACMIPointPatch.H.

References Foam::type().

Here is the call graph for this function:

◆ cyclicACMIPatch()

const cyclicACMIPolyPatch & cyclicACMIPatch ( ) const
inline

Return the underlying cyclicAMIPolyPatch.

Definition at line 157 of file cyclicACMIPointPatch.H.

◆ neighbPatch()

const cyclicACMIPointPatch & neighbPatch ( ) const
inline

Return neighbour point patch.

Definition at line 165 of file cyclicACMIPointPatch.H.

References pointPatch::boundaryMesh(), pp(), and Foam::refCast().

Referenced by cyclicACMIPointPatchField< 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 175 of file cyclicACMIPointPatch.H.

◆ forwardT()

const tensorField & forwardT ( ) const
inline

Return face transformation tensor.

Definition at line 183 of file cyclicACMIPointPatch.H.

◆ reverseT()

const tensorField & reverseT ( ) const
inline

Return neighbour-cell transformation tensor.

Definition at line 191 of file cyclicACMIPointPatch.H.


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