Go to the documentation of this file.
54 Info<<
"Patch " <<
name() <<
" calculated average normal "
65 <<
"Symmetry plane '" <<
name() <<
"' is not planar."
67 <<
"At local face at "
69 <<
" the normal " << nf[facei]
70 <<
" differs from the average normal " <<
n_
72 <<
"Either split the patch into planar parts"
73 <<
" or use the " << symmetryPolyPatch::typeName
106 const word& patchType
134 polyPatch(pp, bm, index, newSize, newStart),
148 polyPatch(pp, bm, index, mapAddressing, newStart),
A class for handling words, derived from string.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
#define forAll(list, i)
Loop across all elements in list.
Type gAverage(const FieldField< Field, Type > &f)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Buffers for inter-processor communications streams (UOPstream, UIPstream).
Ostream & endl(Ostream &os)
Add newline and flush stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
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 any number of values (e....
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.
vector n_
Symmetry plane normal.
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< PointType > & faceNormals() const
Return face normals for patch.
const Field< PointType > & faceCentres() const
Return face centres for patch.
static const Vector rootMax
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
defineTypeNameAndDebug(combustionModel, 0)
const word & name() const
Return name.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
word name(const complex &)
Return a string representation of a complex.