Go to the documentation of this file.
45 void Foam::wedgeFaPatch::findAxisPoint()
const
59 if (ptEdges[pointI].
size() == 1)
63 if (r < magL[ptEdges[pointI][0]])
65 axisPoint_ = ptLabels[pointI];
71 axisPointChecked_ =
true;
86 wedgePolyPatchPtr_(
nullptr),
88 axisPointChecked_(
false)
90 if (ngbPolyPatchIndex() == -1)
93 <<
"Neighbour polyPatch index is not specified for faPatch "
100 refCast<const wedgePolyPatch>
105 wedgePolyPatchPtr_ = ∧
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.
Wedge front and back plane patch.
#define forAll(list, i)
Loop across all elements in list.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Finite area boundary mesh.
const faBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
word name(const complex &c)
Return string representation of complex.
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 mesh points.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const faMesh & mesh() const
Return the mesh reference.
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)
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.