52 if (!isType<wedgePointPatch>(
p))
55 <<
"patch " << this->
patch().
index() <<
" not wedge type. "
56 <<
"Patch type = " << p.type()
73 if (!isType<wedgePointPatch>(this->
patch()))
76 <<
"Field type does not correspond to patch type for patch "
78 <<
"Field type: " << typeName <<
endl
79 <<
"Patch type: " << this->
patch().type()
101 if (!this->patch().size())
return;
105 const vector& nHat = this->patch().pointNormals()[0];
108 transform(
I - nHat*nHat, this->patchInternalField());
113 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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 &)