56 Info<<
"Patch " <<
name() <<
" calculated average normal "
64 if (
magSqr(n_ - nf[facei]) > SMALL)
67 <<
"Symmetry plane '" <<
name() <<
"' is not planar."
69 <<
"At local face at "
71 <<
" the normal " << nf[facei]
72 <<
" differs from the average normal " << n_
74 <<
"Either split the patch into planar parts"
108 const word& patchType
136 polyPatch(pp, bm, index, newSize, newStart),
150 polyPatch(pp, bm, index, mapAddressing, newStart),
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
const Field< point_type > & faceNormals() const
Return face unit normals for patch.
const Field< point_type > & faceCentres() const
Return face centres for patch.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void calcGeometry()
Calculate the geometry for the patches.
static const complex rootMax
complex (ROOTVGREAT, ROOTVGREAT)
const word & name() const noexcept
The patch name.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A patch is a list of labels that address the faces in the global face list.
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.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gAverage(const FieldField< Field, Type > &f)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
T returnReduce(const T &value, const BinaryOp &bop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Reduce (copy) and return value.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
#define forAll(list, i)
Loop across all elements in list.
static const char *const typeName
The type name used in ensight case files.