51 const fvMesh* meshptr = isA<fvMesh>(
p.boundaryMesh().
mesh());
56 <<
"The polyPatch is not attached to a base fvMesh" <<
nl
93 const auto& cnstrTable = *polyPatchConstructorTablePtr_;
101 if (constraintType(iter.key()))
103 cTypes[i++] = iter.key();
115 return polyPatch_.faceCells();
128 auto& cc = tcc.ref();
166 return nHat*(nHat & (Cf() - Cn()));
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
const Mesh & mesh() const
Return mesh.
void setSize(const label n)
Alias for resize()
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
const bMesh & mesh() const
virtual const word & constraintType() const
Return the constraint type this pointPatch implements.
Smooth ATC in cells next to a set of patches supplied by type.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
static wordList constraintTypes()
Return a list of all the constraint patch types.
virtual ~fvPatch()
Destructor.
static const fvPatch & lookupPatch(const polyPatch &p)
Lookup the polyPatch index on corresponding fvMesh.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
virtual void movePoints()
Correct patches after moving points.
tmp< vectorField > Cn() const
Return neighbour cell centres.
virtual tmp< vectorField > delta() const
virtual void initMovePoints()
Initialise the patches for moving points.
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
const scalarField & magSf() const
Return face area magnitudes.
const scalarField & weights() const
Return patch weighting factors.
tmp< vectorField > nf() const
Return face normals.
const vectorField & Cf() const
Return face centres.
const scalarField & deltaCoeffs() const
const vectorField & Sf() const
Return face area vectors.
virtual const labelUList & faceCells() const
Return faceCells.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.