103 const fvPatch& p = this->patch();
109 pfName.
replace(
"cell",
"point");
112 this->db().objectRegistry::template
113 lookupObject<GeometricField<Type, pointPatchField, pointMesh> >
118 this->operator[](i) = pp[i].average(points, pointMotion);
129 this->writeEntry(
"value", os);
const pointField & points
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for handling words, derived from string.
void size(const label)
Override size to be inconsistent with allocated storage.
Foam::fvPatchFieldMapper.
cellMotionFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A patch is a list of labels that address the faces in the global face list.
const polyPatch & patch() const
Return the polyPatch.
virtual const pointField & points() const
Return raw points.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Pre-declare SubField and related Field type.
rDeltaT dimensionedInternalField()
Generic GeometricField class.
string & replace(const string &oldStr, const string &newStr, size_type start=0)
Replace first occurence of sub-string oldStr with newStr.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::cellMotionFvPatchField.