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);
189 void Foam::valuePointPatchField<Type>::operator=
199 void Foam::valuePointPatchField<Type>::operator=
209 void Foam::valuePointPatchField<Type>::operator=
219 void Foam::valuePointPatchField<Type>::operator=
229 void Foam::valuePointPatchField<Type>::operator==
239 void Foam::valuePointPatchField<Type>::operator==
249 void Foam::valuePointPatchField<Type>::operator==
259 void Foam::valuePointPatchField<Type>::operator==
valuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
Foam::valuePointPatchField.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
commsTypes
Types of communications.
To & refCast(From &r)
Reference type cast template function.
Foam::pointPatchFieldMapper.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Abstract base class for point-mesh patch fields.
Pre-declare SubField and related Field type.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label size() const
Return size.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Basic pointPatch represents a set of points from the mesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void write(Ostream &) const
Write.
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given PointPatchField onto.