54 Info<<
"Patch " <<
name() <<
" calculated average normal " 62 if (
magSqr(n_ - nf[facei]) > small)
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
95 polyPatch(name, size, start, index, bm, patchType),
106 const word& patchType
109 polyPatch(name, dict, index, bm, patchType),
134 polyPatch(pp, bm, index, newSize, newStart),
148 polyPatch(pp, bm, index, mapAddressing, newStart),
#define forAll(list, i)
Loop across all elements in list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const Field< PointType > & faceCentres() const
Return face centres for patch.
symmetryPlanePolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType)
Construct from components.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
A class for handling words, derived from string.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
dimensioned< scalar > magSqr(const dimensioned< Type > &)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Buffers for inter-processor communications streams (UOPstream, UIPstream).
word name(const complex &)
Return a string representation of a complex.
static const Vector< scalar > rootMax
Type gAverage(const FieldField< Field, Type > &f)
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
A patch is a list of labels that address the faces in the global face list.