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);
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.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Foam::valuePointPatchField.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void evaluate(GeometricField< Type, PatchField, GeoMesh > &result, const Function1< Type > &func, const GeometricField< Type, PatchField, GeoMesh > &x)
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.
virtual void write(Ostream &) const
Write.
Abstract base class for point-mesh patch fields.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
Pre-declare SubField and related Field type.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
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...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
#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...
label size() const
Return size.
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given pointPatchField onto this pointPatchField.