Loading...
Searching...
No Matches
nonuniformTransformCyclicPointPatch Class Reference

Cyclic patch with slip constraint. More...

#include <nonuniformTransformCyclicPointPatch.H>

Inheritance diagram for nonuniformTransformCyclicPointPatch:
Collaboration diagram for nonuniformTransformCyclicPointPatch:

Public Member Functions

 TypeName (nonuniformTransformCyclicPolyPatch::typeName_())
 Runtime type information.
 nonuniformTransformCyclicPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components.
 nonuniformTransformCyclicPointPatch (const nonuniformTransformCyclicPointPatch &patch, 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 ~nonuniformTransformCyclicPointPatch ()=default
virtual const vectorFieldpointNormals () const
 Return point unit normals.
virtual void applyConstraint (const label pointi, pointConstraint &) const
 Accumulate the effect of constraint direction of this patch.
Public Member Functions inherited from cyclicPointPatch
 TypeName (cyclicPolyPatch::typeName_())
 Runtime type information.
 cyclicPointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components.
 cyclicPointPatch (const cyclicPointPatch &patch, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap)
 Construct given the original patch and a map.
virtual ~cyclicPointPatch ()
 Destructor.
virtual const wordconstraintType () const
 Return the constraint type this pointPatch implements.
const cyclicPolyPatchcyclicPatch () const
 Return the underlying cyclicPolyPatch.
const cyclicPointPatch & 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.
virtual const edgeListtransformPairs () const
 Return the set of pairs of points that require transformation.
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 ~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 bool coupled () const
 Return true if this patch field is coupled.
virtual const labelListmeshPoints () const
 Return mesh points.
virtual const pointFieldlocalPoints () const
 Return pointField of points in patch.
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 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.

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 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.
Protected Attributes inherited from facePointPatch
const polyPatchpolyPatch_
 Reference to the underlying polyPatch.

Detailed Description

Cyclic patch with slip constraint.

Source files

Definition at line 48 of file nonuniformTransformCyclicPointPatch.H.

Constructor & Destructor Documentation

◆ nonuniformTransformCyclicPointPatch() [1/2]

nonuniformTransformCyclicPointPatch ( const polyPatch & patch,
const pointBoundaryMesh & bm )
inline

Construct from components.

Definition at line 66 of file nonuniformTransformCyclicPointPatch.H.

References facePointPatch::patch().

Referenced by nonuniformTransformCyclicPointPatch().

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

◆ nonuniformTransformCyclicPointPatch() [2/2]

nonuniformTransformCyclicPointPatch ( const nonuniformTransformCyclicPointPatch & patch,
const pointBoundaryMesh & bm,
const label index,
const labelUList & mapAddressing,
const labelUList & reversePointMap )
inline

Construct given the original patch and a map.

Definition at line 78 of file nonuniformTransformCyclicPointPatch.H.

References facePointPatch::index(), nonuniformTransformCyclicPointPatch(), and facePointPatch::patch().

Here is the call graph for this function:

◆ ~nonuniformTransformCyclicPointPatch()

virtual ~nonuniformTransformCyclicPointPatch ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( nonuniformTransformCyclicPolyPatch::typeName_() )

Runtime type information.

◆ clone()

virtual autoPtr< pointPatch > clone ( const pointBoundaryMesh & bm,
const label index,
const labelUList & mapAddressing,
const labelUList & reversePointMap ) const
inlinevirtual

Construct and return a subset clone, resetting the point list and boundary mesh.

Reimplemented from cyclicPointPatch.

Definition at line 94 of file nonuniformTransformCyclicPointPatch.H.

References facePointPatch::index(), and autoPtr< T >::NewFrom().

Here is the call graph for this function:

◆ pointNormals()

const vectorField & pointNormals ( ) const
virtual

Return point unit normals.

Reimplemented from facePointPatch.

Definition at line 44 of file nonuniformTransformCyclicPointPatch.C.

References Foam::refCast().

Referenced by applyConstraint().

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

◆ applyConstraint()

void applyConstraint ( const label pointi,
pointConstraint & pc ) const
virtual

Accumulate the effect of constraint direction of this patch.

Reimplemented from pointPatch.

Definition at line 54 of file nonuniformTransformCyclicPointPatch.C.

References pointConstraint::applyConstraint(), and pointNormals().

Here is the call graph for this function:

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