Go to the documentation of this file.
42 #ifndef cyclicFaPatch_H
43 #define cyclicFaPatch_H
65 void calcTransforms();
115 virtual bool master()
const
127 virtual bool owner()
const
virtual void initMovePoints(const pointField &)
Initialise the patches for moving points.
virtual void calcGeometry()
Calculate the patch geometry.
virtual bool owner() const
void makeWeights(scalarField &) const
Make patch weighting factors.
A class for handling words, derived from Foam::string.
cyclicFaPatch(const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm)
Construct from dictionary.
A class for managing temporary objects.
void makeDeltaCoeffs(scalarField &) const
Make patch face - neighbour cell distances.
coupledFaPatch(const word &name, const labelList &edgeLabels, const label index, const faBoundaryMesh &bm, const label ngbPolyPatchIndex)
Construct from components.
const labelUList & edgeFaces() const
Return edge-face addressing.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Finite area boundary mesh.
const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
coupledFaPatch is an abstract base class for patches that couple regions of the computational domain ...
virtual ~cyclicFaPatch()=default
Destructor.
TypeName("cyclic")
Runtime type information.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
static const scalar matchTol_
Relative tolerance (for geometric matching). Is factor of.
virtual void initGeometry()
Initialise the calculation of the patch geometry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual const tensorField & forwardT() const
Return face transformation tensor.
const tensorField & forwardT() const
Return face transformation tensor.
label index() const noexcept
The index of this patch in the boundaryMesh.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
commsTypes
Types of communications.
virtual tmp< labelField > transfer(const Pstream::commsTypes commsType, const labelUList &interfaceData) const
Transfer and return neighbour field.
virtual void movePoints(const pointField &)
Correct patches after moving points.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
const word & name() const noexcept
The patch name.
virtual const cyclicLduInterface & neighbPatch() const
Return processor number.
virtual label neighbPatchID() const
Return neighbour.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
An abstract base class for cyclic coupled interfaces.
virtual bool master() const
Is this the master side? Yes: it contains both sets of faces.