34 if (this->size() != this->patch().size())
37 <<
"field does not correspond to patch. " <<
endl
38 <<
"Field size: " << size() <<
" patch size: "
39 << this->patch().size()
65 const bool valueRequired
71 if (
dict.found(
"value"))
78 else if (!valueRequired)
85 <<
"Essential entry 'value' missing"
101 Field<Type>(mapper(ptf))
127 refCast<const valuePointPatchField<Type>>(ptf);
154 this->setInternalField(iF, *
this);
166 this->setInternalField(iF, *
this);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
Pre-declare SubField and related Field type.
void operator=(const Field< Type > &)
void reset(const Field< Type > &)
Reset the field values to the given field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Basic pointPatch represents a set of points from the mesh.
Foam::valuePointPatchField.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void write(Ostream &) const
Write.
valuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void reset(const pointPatchField< Type > &)
Reset the pointPatchField to the given pointPatchField.
virtual void map(const pointPatchField< Type > &, const fieldMapper &)
Map the given pointPatchField onto this pointPatchField.
#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)
To & refCast(From &r)
Reference type cast template function.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)