69 wordList cTypes(polyPatchConstructorTablePtr_->size());
75 polyPatchConstructorTable::iterator cstrIter =
76 polyPatchConstructorTablePtr_->begin();
77 cstrIter != polyPatchConstructorTablePtr_->end();
81 if (constraintType(cstrIter.key()))
83 cTypes[i++] = cstrIter.key();
95 return boundaryMesh().mesh();
101 return polyPatch_.faceCells();
107 return boundaryMesh().mesh().Cf().boundaryField()[index()];
116 const labelUList& faceCells = this->faceCells();
119 const vectorField& gcc = boundaryMesh().mesh().cellCentres();
123 cc[facei] = gcc[faceCells[facei]];
138 return boundaryMesh().mesh().Sf().boundaryField()[index()];
144 return boundaryMesh().mesh().magSf().boundaryField()[index()];
152 return nHat*(nHat & (Cf() - Cn()));
159 boundaryMesh().mesh().conformal()
164 boundaryMesh().mesh().magFaceAreas(),
165 boundaryMesh().mesh().polyFacesBf()[patch().index()]
178 return boundaryMesh().mesh().deltaCoeffs().boundaryField()[index()];
184 return boundaryMesh().mesh().weights().boundaryField()[index()];
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
void setSize(const label)
Reset size of List.
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.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
const objectRegistry & db() const
Return the local object registry.
tmp< vectorField > Cn() const
Return neighbour cell centres.
tmp< scalarField > polyFaceFraction() const
Return the fraction of the poly-face that each fv-face in this.
virtual tmp< vectorField > delta() const
Return cell-centre to face-centre vector.
static bool constraintType(const word &pt)
Return true if the given type is a constraint type.
const scalarField & magSf() const
Return face area magnitudes.
const scalarField & weights() const
Return patch weighting factors.
fvPatch(const polyPatch &, const fvBoundaryMesh &)
Construct from polyPatch and fvBoundaryMesh.
tmp< vectorField > nf() const
Return face normals.
const vectorField & Cf() const
Return face centres.
virtual const scalarField & deltaCoeffs() const
Return the face - cell distance coefficient.
const vectorField & Sf() const
Return face area vectors.
virtual const labelUList & faceCells() const
Return faceCells.
Registry of regIOobjects.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
defineTypeNameAndDebug(combustionModel, 0)
Field< vector > vectorField
Specialisation of Field<T> for vector.