39 const polyMesh&
mesh =
p.boundaryMesh().mesh()();
40 label patchi =
mesh.boundaryMesh().findPatchID(
p.name());
45 <<
"Cannot use uniformFixedValue on patch " <<
p.name()
46 <<
" since there is no underlying mesh patch" <<
exit(FatalError);
48 return mesh.boundaryMesh()[patchi];
113 uniformValue_(ptf.uniformValue_.clone(this->getPatch(
p)))
118 this->
map(ptf, mapper);
136 uniformValue_(ptf.uniformValue_.clone(this->getPatch(this->patch())))
149 uniformValue_(ptf.uniformValue_.clone(this->getPatch(this->patch())))
162 uniformValue_().autoMap(mapper);
182 refCast<const uniformFixedValuePointPatchField>(ptf);
184 uniformValue_().rmap(tiptf.uniformValue_(), addr);
195 const scalar t = this->db().time().timeOutputValue();
207 uniformValue_->writeData(
os);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual bool direct() const =0
Is it a direct (non-interpolating) mapper?
virtual bool hasUnmapped() const =0
Any unmapped values?
Generic templated field type.
void map(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 map from the given field
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
void size(const label n)
Older name for setAddressableSize.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
void rmap(const atmBoundaryLayer &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
A FixedValue boundary condition for pointField.
virtual bool write()
Write the output fields.
constant condensation/saturation model.
Foam::pointPatchFieldMapper.
Abstract base class for point-mesh patch fields.
Basic pointPatch represents a set of points from the mesh.
A patch is a list of labels that address the faces in the global face list.
friend bool operator==(const refineCell &rc1, const refineCell &rc2)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
errorManipArg< error, int > exit(error &err, const int errNo=1)