Go to the documentation of this file.
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"
75 <<
" or use the " << symmetryPolyPatch::typeName
108 const word& patchType
136 polyPatch(pp, bm, index, newSize, newStart),
150 polyPatch(pp, bm, index, mapAddressing, newStart),
int debug
Static debugging option.
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
static const Vector< scalar > rootMax
A class for handling words, derived from Foam::string.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
Type gAverage(const FieldField< Field, Type > &f)
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
messageStream Info
Information stream (stdout output on master, null elsewhere)
A patch is a list of labels that address the faces in the global face list.
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.
symmetryPlanePolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const Field< point_type > & faceNormals() const
Return face unit normals for patch.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const word & name() const noexcept
The patch name.
defineTypeNameAndDebug(combustionModel, 0)
const Field< point_type > & faceCentres() const
Return face centres for patch.