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 "
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->setInternalField(iF, tvalues());
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class for point-mesh patch fields.
const pointPatch & patch() const
Return patch.
Basic pointPatch represents a set of points from the mesh.
virtual label index() const =0
Return the index of this patch in the pointBoundaryMesh.
A class for managing temporary objects.
Wedge front and back plane patch field.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Update the patch field.
wedgePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static const Identity< scalar > I
dimensionSet transform(const dimensionSet &)