Go to the documentation of this file.
42 #ifndef coupledFaPatch_H
43 #define coupledFaPatch_H
155 return separation_.size();
162 if (!separation_.size())
165 <<
"Coupled patches are not separated"
175 if (!forwardT_.size())
178 <<
"Coupled planes do not need transformation"
188 if (!reverseT_.size())
191 <<
"Coupled planes do not need transformation"
201 return forwardT_.size() == 0;
221 virtual tmp<vectorField>
delta()
const = 0;
vectorField pointField
pointField is a vectorField.
virtual void calcGeometry()=0
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual void makeWeights(scalarField &) const =0
virtual tmp< vectorField > delta() const =0
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
virtual void makeDeltaCoeffs(scalarField &) const =0
virtual void initGeometry()=0
virtual void movePoints(const pointField &)=0
coupledFaPatch(const word &name, const labelList &edgeLabels, const label index, const faBoundaryMesh &bm, const label ngbPolyPatchIndex)
const labelList & edgeLabels() const noexcept
const labelUList & edgeFaces() const
Finite area boundary mesh.
const tensorField & reverseT() const
Generic templated field type.
coupledFaPatch is an abstract base class for patches that couple regions of the computational domain ...
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const =0
virtual void initMovePoints(const pointField &)=0
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const =0
const tensorField & forwardT() const
label index() const noexcept
errorManip< error > abort(error &err)
const vectorField & separation() const
#define FatalErrorInFunction
void calcTransformTensors(const vector &Cf, const vector &Cr, const vector &nf, const vector &nr) const
virtual void initTransfer(const Pstream::commsTypes commsType, const labelUList &interfaceData) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual const labelUList & faceCells() const
const word & name() const noexcept
virtual void initInternalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &iF) const
virtual bool coupled() const
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual tmp< labelField > transfer(const Pstream::commsTypes commsType, const labelUList &interfaceData) const =0
label ngbPolyPatchIndex() const noexcept
virtual ~coupledFaPatch()=default