Go to the documentation of this file.
39 const polyMesh&
mesh =
p.boundaryMesh().mesh()();
40 label patchi =
mesh.boundaryMesh().findPatchID(
p.name());
45 <<
"Cannot use uniformFixedValue on patch " <<
p.name()
48 return mesh.boundaryMesh()[patchi];
88 if (
dict.found(
"value"))
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);
Basic pointPatch represents a set of points from the mesh.
virtual bool direct() const =0
virtual bool hasUnmapped() const =0
Are there unmapped values? I.e. do all size() elements get.
Abstract base class for point-mesh patch fields.
Foam::pointPatchFieldMapper.
A FixedValue boundary condition for pointField.
Generic templated field type.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A patch is a list of labels that address the faces in the global face list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
constant condensation/saturation model.
string evaluate(const std::string &s, size_t pos=0, size_t len=std::string::npos)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...