Go to the documentation of this file.
100 faceCellsPtr_(nullptr),
116 const polyBoundaryMesh& bm,
117 const word& physicalType,
121 patchIdentifier(
name, index, physicalType, inGroups),
129 faceCellsPtr_(nullptr),
140 const word& patchType
154 start_(
dict.
get<label>(
"startFace")),
156 faceCellsPtr_(nullptr),
169 const polyBoundaryMesh& bm
185 faceCellsPtr_(nullptr),
212 faceCellsPtr_(nullptr),
232 mapAddressing.size(),
239 faceCellsPtr_(nullptr),
249 boundaryMesh_(
p.boundaryMesh_),
250 faceCellsPtr_(nullptr),
289 const auto& cnstrTable = *dictionaryConstructorTablePtr_;
297 if (constraintType(iter.key()))
299 cTypes[i++] = iter.key();
317 return boundaryMesh_;
339 const vectorField& gcc = boundaryMesh_.mesh().cellCentres();
354 tmp<scalarField> tfraction(
new scalarField(size()));
362 const face& curFace = this->operator[](facei);
364 mag(faceAreas[facei])/(curFace.mag(
points) + ROOTVSMALL);
377 patchSlice(boundaryMesh().
mesh().faceOwner())
381 return *faceCellsPtr_;
394 boundaryMesh().
mesh().edges(),
395 boundaryMesh().
mesh().pointEdges()
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
List< label > labelList
A List of labels.
vectorField pointField
pointField is a vectorField.
virtual const pointField & points() const
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
SubList< face > faceSubList
A SubList of faces.
patchIdentifier & operator=(const patchIdentifier &)=default
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A class for handling words, derived from Foam::string.
virtual void movePoints(PstreamBuffers &, const pointField &p)
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A class for managing temporary objects.
virtual void clearAddressing()
int debugSwitch(const char *name, const int deflt=0)
scalar mag(const UList< point > &p) const
Template functions to aid in the implementation of demand driven data.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
A List obtained as a section of another List.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
labelList meshEdges(const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const
tmp< scalarField > areaFraction() const
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
virtual void updateMesh(PstreamBuffers &)
Abstract base class for point-mesh patch fields.
Field< vector > vectorField
Specialisation of Field<T> for vector.
SubField is a Field obtained as a section of another Field, without its own allocation....
List< word > wordList
A List of words.
void deleteDemandDrivenData(DataPtr &dataPtr)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Identifies a patch by name and index, with optional physical type and group information.
const polyMesh & mesh() const noexcept
Generic templated field type.
const polyBoundaryMesh & boundaryMesh() const
const wordList & inGroups() const noexcept
void operator=(const polyPatch &)
A patch is a list of labels that address the faces in the global face list.
void setSize(const label n)
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
static wordList constraintTypes()
static bool constraintType(const word &pt)
label appendUniq(const T &val)
virtual bool check(const char *operation) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void write(Ostream &os) const
OBJstream os(runTime.globalPath()/outputName)
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Macros for easy insertion into run-time selection tables.
const labelUList & faceCells() const
tmp< vectorField > faceCellCentres() const
polyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
virtual const faceList & faces() const
forAllConstIters(mixture.phases(), phase)
const vectorField::subField faceCentres() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const vectorField::subField faceAreas() const
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
fileName::Type type(const fileName &name, const bool followLink=true)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Ostream & writeEntry(const keyType &key, const T &value)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
word name(const expressions::valueTypeCode typeCode)
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
void clearPatchMeshAddr()
void write(Ostream &os) const
PrimitivePatch< SubList< face >, const pointField & > primitivePatch
A PrimitivePatch with a SubList addressing for the faces, const reference for the point field.
SubField< Type > subField
A face is a list of labels corresponding to mesh vertices.
virtual void movePoints(const Field< point_type > &)
void operator=(const PrimitivePatch< FaceList, PointField > &rhs)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const labelList & meshEdges() const
defineTypeNameAndDebug(combustionModel, 0)
Smooth ATC in cells next to a set of patches supplied by type.
A list of faces which address into the list of points.
static int disallowGenericPolyPatch