41 valueFraction_(
p.size())
72 refValue_(mapper(ptf.refValue_)),
73 refGrad_(mapper(ptf.refGrad_)),
74 valueFraction_(mapper(ptf.valueFraction_))
86 refValue_(ptf.refValue_),
87 refGrad_(ptf.refGrad_),
88 valueFraction_(ptf.valueFraction_)
104 refCast<const directionMixedFvPatchField<Type>>(ptf);
106 mapper(refValue_, dmptf.refValue_);
107 mapper(refGrad_, dmptf.refGrad_);
108 mapper(valueFraction_, dmptf.valueFraction_);
121 refCast<const directionMixedFvPatchField<Type>>(ptf);
123 refValue_.
reset(dmptf.refValue_);
124 refGrad_.reset(dmptf.refGrad_);
125 valueFraction_.reset(dmptf.valueFraction_);
137 tmp<Field<Type>> gradValue = pif + refGrad_/this->patch().deltaCoeffs();
143 (normalValue + transformGradValue - pif)*
144 this->patch().deltaCoeffs();
151 if (!this->updated())
153 this->updateCoeffs();
159 this->patchInternalField() + refGrad_/this->patch().deltaCoeffs();
202 writeEntry(os,
"valueFraction", valueFraction_);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
void operator=(const Field< Type > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base class for direction-mixed boundary conditions.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
virtual tmp< Field< Type > > snGradTransformDiag() const
Return face-gradient transform diagonal.
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
directionMixedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
virtual void write(Ostream &) const
Write.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Traits class for primitives.
A class for managing temporary objects.
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
const dimensionSet dimLength
static const Identity< scalar > I
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar sqrt(const dimensionedScalar &ds)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
dimensionSet transform(const dimensionSet &)
dimensioned< scalar > mag(const dimensioned< Type > &)
const unitConversion unitFraction