Go to the documentation of this file.
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)
87 ) <<
"Essential entry 'value' missing"
160 this->setInInternalField(iF, *
this);
172 this->setInInternalField(iF, *
this);
182 this->writeEntry(
"value", os);
void checkFieldSize() const
tmp< Field< Type > > patchInternalField() const
Return field created from appropriate internal field values.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Basic pointPatch represents a set of points from the mesh.
Foam::pointPatchFieldMapper.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManip< error > abort(error &err)
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
To & refCast(From &r)
Reference type cast template function.
errorManipArg< error, int > exit(error &err, const int errNo=1)
conserve internalField()+
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.
Foam::valuePointPatchField.
commsTypes
Types of communications.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given PointPatchField onto.
#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,...
valuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...