Go to the documentation of this file.
42 fixedValueFvPatchVectorField(
p, iF),
43 uniformValue_(
nullptr),
56 fixedValueFvPatchVectorField(
p, iF,
dict,
false),
60 if (
dict.found(
"ramp"))
65 if (
dict.found(
"value"))
67 fvPatchVectorField::operator=
88 fixedValueFvPatchVectorField(
p, iF),
89 uniformValue_(ptf.uniformValue_.clone(
p.patch())),
90 ramp_(ptf.ramp_.clone())
95 this->map(ptf, mapper);
111 fixedValueFvPatchVectorField(ptf),
112 uniformValue_(ptf.uniformValue_.clone(this->patch().patch())),
113 ramp_(ptf.ramp_.clone())
124 fixedValueFvPatchVectorField(ptf, iF),
125 uniformValue_(ptf.uniformValue_.clone(this->patch().patch())),
126 ramp_(ptf.ramp_.clone())
137 fixedValueFvPatchVectorField::autoMap(mapper);
138 uniformValue_().autoMap(mapper);
154 fixedValueFvPatchVectorField::rmap(ptf, addr);
157 refCast<const uniformNormalFixedValueFvPatchVectorField>(ptf);
159 uniformValue_().rmap(tiptf.uniformValue_(), addr);
170 const scalar t = this->db().time().timeOutputValue();
176 tvalues.
ref() *= ramp_->value(t);
187 uniformValue_->writeData(os);
190 ramp_->writeData(os);
192 this->writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
A class for managing temporary objects.
virtual bool direct() const =0
virtual bool hasUnmapped() const =0
Are there unmapped values? I.e. do all size() elements get.
Field< vector > vectorField
Specialisation of Field<T> for vector.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
const std::string patch
OpenFOAM patch number as a std::string.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
constant condensation/saturation model.
virtual void operator=(const UList< vector > &)
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...