34 if (this->size() != this->patch().size())
38 "void valuePointPatchField<Type>::checkField() const" 39 ) <<
"field does not correspond to patch. " <<
endl 40 <<
"Field size: " << size() <<
" patch size: " 41 << this->patch().size()
67 const bool valueRequired
73 if (dict.
found(
"value"))
80 else if (!valueRequired)
88 "pointPatchField<Type>::pointPatchField" 91 "const DimensionedField<Type, pointMesh>& iF," 92 "const dictionary& dict," 93 "const bool valueRequired" 96 ) <<
"Essential entry 'value' missing" 169 this->setInInternalField(iF, *
this);
181 this->setInInternalField(iF, *
this);
191 this->writeEntry(
"value", os);
198 void Foam::valuePointPatchField<Type>::operator=
208 void Foam::valuePointPatchField<Type>::operator=
218 void Foam::valuePointPatchField<Type>::operator=
228 void Foam::valuePointPatchField<Type>::operator=
239 void Foam::valuePointPatchField<Type>::operator==
249 void Foam::valuePointPatchField<Type>::operator==
259 void Foam::valuePointPatchField<Type>::operator==
269 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.
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...
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...
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Abstract base class for point-mesh patch fields.
Ostream & endl(Ostream &os)
Add newline and flush stream.
commsTypes
Types of communications.
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given PointPatchField onto.
Pre-declare SubField and related Field type.
errorManip< error > abort(error &err)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::pointPatchFieldMapper.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
virtual void write(Ostream &) const
Write.
Traits class for primitives.
tmp< Field< Type > > patchInternalField() const
Return field created from appropriate internal field values.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Foam::valuePointPatchField.
To & refCast(From &r)
Reference type cast template function.
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.
conserve internalField()+
label size() const
Return size.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.