Go to the documentation of this file.
52 const bool valueRequired
58 if (
dict.found(
"value"))
65 else if (!valueRequired)
72 <<
"Essential entry 'value' missing on patch " <<
p.name()
145 this->setInInternalField(iF, *
this);
157 this->setInInternalField(iF, *
this);
167 this->writeEntry(
"value",
os);
static constexpr const zero Zero
Global zero (0)
Basic pointPatch represents a set of points from the mesh.
Abstract base class for point-mesh patch fields.
Foam::pointPatchFieldMapper.
Generic templated field type.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
valuePointPatchField(const valuePointPatchField &)=default
Copy construct.
To & refCast(From &r)
Reference type cast template function.
errorManipArg< error, int > exit(error &err, const int errNo=1)
commsTypes
Types of communications.
Foam::valuePointPatchField.
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given PointPatchField onto.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.