53 if (!isType<wedgePointPatch>(p))
58 ) <<
"patch " << this->patch().index() <<
" not wedge type. " 59 <<
"Patch type = " << p.type()
76 if (!isType<wedgePointPatch>(this->patch()))
79 <<
"Field type does not correspond to patch type for patch " 80 << this->patch().index() <<
"." <<
endl 81 <<
"Field type: " << typeName <<
endl 82 <<
"Patch type: " << this->patch().type()
106 const vector& nHat = this->patch().pointNormals()[0];
109 transform(
I - nHat*nHat, this->patchInternalField());
114 this->setInInternalField(iF, tvalues());
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.
commsTypes
Types of communications.
Foam::pointPatchFieldMapper.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Update the patch field.
Wedge front and back plane patch field.
Abstract base class for point-mesh patch fields.
static const Identity< scalar > I
Pre-declare SubField and related Field type.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Basic pointPatch represents a set of points from the mesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
wedgePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
dimensionSet transform(const dimensionSet &)