Go to the documentation of this file.
73 #ifndef mixedFvPatchField_H
74 #define mixedFvPatchField_H
88 class mixedFvPatchField
90 public fvPatchField<Type>
95 Field<Type> refValue_;
116 const DimensionedField<Type, volMesh>&
207 virtual const Field<Type>&
refGrad()
const
214 return valueFraction_;
219 return valueFraction_;
283 virtual void operator+=(
const fvPatchField<Type>&) {}
284 virtual void operator-=(
const fvPatchField<Type>&) {}
285 virtual void operator*=(
const fvPatchField<scalar>&) {}
286 virtual void operator/=(
const fvPatchField<scalar>&) {}
288 virtual void operator+=(
const Field<Type>&) {}
289 virtual void operator-=(
const Field<Type>&) {}
291 virtual void operator*=(
const Field<scalar>&) {}
292 virtual void operator/=(
const Field<scalar>&) {}
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void operator+=(const Type &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual scalarField & valueFraction()
virtual const scalarField & valueFraction() const
virtual Field< Type > & refValue()
A class for managing temporary objects.
virtual void operator/=(const scalar)
virtual bool assignable() const
Return false: this patch field is not altered by assignment.
virtual void operator=(const fvPatchField< Type > &)
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void operator*=(const Field< scalar > &)
virtual void operator=(const Type &)
virtual void operator*=(const fvPatchField< scalar > &)
virtual Field< Type > & refGrad()
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
virtual const Field< Type > & refGrad() const
virtual void operator+=(const fvPatchField< Type > &)
virtual void operator/=(const fvPatchField< scalar > &)
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Generic templated field type.
mixedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void operator*=(const scalar)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual bool fixesValue() const
Return true if this patch field fixes a value.
virtual const Field< Type > & refValue() const
virtual void operator+=(const Field< Type > &)
commsTypes
Types of communications.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void operator-=(const Field< Type > &)
virtual void operator=(const UList< Type > &)
virtual void operator/=(const Field< scalar > &)
Foam::fvPatchFieldMapper.
virtual void operator-=(const fvPatchField< Type > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
TypeName("mixed")
Runtime type information.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void operator-=(const Type &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...