35Foam::uniformNormalFixedValueFvPatchVectorField::
36uniformNormalFixedValueFvPatchVectorField
42 fixedValueFvPatchVectorField(
p, iF),
43 uniformValue_(nullptr),
48Foam::uniformNormalFixedValueFvPatchVectorField::
49uniformNormalFixedValueFvPatchVectorField
56 fixedValueFvPatchVectorField(
p, iF,
dict, false),
74Foam::uniformNormalFixedValueFvPatchVectorField::
75uniformNormalFixedValueFvPatchVectorField
83 fixedValueFvPatchVectorField(
p, iF),
84 uniformValue_(ptf.uniformValue_.clone(
p.patch())),
85 ramp_(ptf.ramp_.clone())
90 this->map(ptf, mapper);
100Foam::uniformNormalFixedValueFvPatchVectorField::
101uniformNormalFixedValueFvPatchVectorField
106 fixedValueFvPatchVectorField(ptf),
107 uniformValue_(ptf.uniformValue_.clone(this->patch().patch())),
108 ramp_(ptf.ramp_.clone())
112Foam::uniformNormalFixedValueFvPatchVectorField::
113uniformNormalFixedValueFvPatchVectorField
119 fixedValueFvPatchVectorField(ptf, iF),
120 uniformValue_(ptf.uniformValue_.clone(this->patch().patch())),
121 ramp_(ptf.ramp_.clone())
132 fixedValueFvPatchVectorField::autoMap(mapper);
133 uniformValue_().autoMap(mapper);
149 fixedValueFvPatchVectorField::rmap(ptf, addr);
152 refCast<const uniformNormalFixedValueFvPatchVectorField>(ptf);
154 uniformValue_().rmap(tiptf.uniformValue_(), addr);
165 const scalar t = this->db().time().timeOutputValue();
171 tvalues.
ref() *= ramp_->value(t);
182 uniformValue_->writeData(
os);
185 ramp_->writeData(
os);
187 this->writeEntry(
"value",
os);
Macros for easy insertion into run-time selection tables.
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?
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
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.
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.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
virtual void operator=(const UList< vector > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
friend Ostream & operator(Ostream &, const fvPatchField< vector > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
constant condensation/saturation model.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Field< vector > vectorField
Specialisation of Field<T> for vector.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.