46void Foam::wedgeFaPatch::findAxisPoint()
const
60 if (ptEdges[pointI].
size() == 1)
64 if (r < magL[ptEdges[pointI][0]])
66 axisPoint_ = ptLabels[pointI];
72 axisPointChecked_ =
true;
88 wedgePolyPatchPtr_(nullptr),
90 axisPointChecked_(false)
95 <<
"Neighbour polyPatch index is not specified for faPatch "
99 const auto* wedgePtr = isA<wedgePolyPatch>
106 wedgePolyPatchPtr_ = wedgePtr;
111 <<
"Neighbour polyPatch is not of type "
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Finite area boundary mesh.
const faMesh & mesh() const noexcept
Return the mesh reference.
const pointField & points() const
Return local points.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual label size() const
Patch size is the number of edge labels.
const labelListList & pointEdges() const
Return patch point-edge addressing.
const labelList & pointLabels() const
Return patch point labels.
const scalarField & magEdgeLengths() const
Return edge length magnitudes.
label ngbPolyPatchIndex() const noexcept
The neighbour polyPatch index.
const faBoundaryMesh & boundaryMesh() const noexcept
Return boundaryMesh reference.
const word & name() const noexcept
The patch name.
Wedge front and back plane patch.
const vector & axis() const
Return axis of the wedge.
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.
List< label > labelList
A List of labels.
static const Identity< scalar > I
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
List< labelList > labelListList
A List of labelList.
Field< vector > vectorField
Specialisation of Field<T> for vector.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define forAll(list, i)
Loop across all elements in list.
static const char *const typeName
The type name used in ensight case files.