Go to the documentation of this file.
46 void Foam::wedgeFaPatch::findAxisPoint()
const
60 if (ptEdges[pointI].
size() == 1)
64 if (r < magL[ptEdges[pointI][0]])
66 axisPoint_ = ptLabels[pointI];
72 axisPointChecked_ =
true;
87 wedgePolyPatchPtr_(
nullptr),
89 axisPointChecked_(
false)
91 if (ngbPolyPatchIndex() < 0)
94 <<
"Neighbour polyPatch index is not specified for faPatch "
98 const auto* wedgePtr = isA<wedgePolyPatch>
105 wedgePolyPatchPtr_ = wedgePtr;
110 <<
"Neighbour polyPatch is not of type "
111 << wedgePolyPatch::typeName
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const labelListList & pointEdges() const
Return patch point-edge addressing.
A class for handling words, derived from Foam::string.
const faBoundaryMesh & boundaryMesh() const noexcept
Return boundaryMesh reference.
#define forAll(list, i)
Loop across all elements in list.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Finite area boundary mesh.
const faMesh & mesh() const noexcept
Return the mesh reference.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
const pointField & points() const
Return local patch points.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const labelList & pointLabels() const
Return patch point labels.
List< labelList > labelListList
A List of labelList.
const vector & axis() const
Return axis of the wedge.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const scalarField & magEdgeLengths() const
Return edge length magnitudes.
wedgeFaPatch(const word &name, const dictionary &dict, const label index, const faBoundaryMesh &bm)
Construct from dictionary.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
Finite area patch class. Used for 2-D non-Euclidian finite area method.
defineTypeNameAndDebug(combustionModel, 0)
static const Identity< scalar > I
virtual label size() const
Patch size is the number of edge labels.