66 #ifndef mixedFvPatchField_H
67 #define mixedFvPatchField_H
81 class mixedFvPatchField
83 public fvPatchField<Type>
88 Field<Type> refValue_;
109 const DimensionedField<Type, volMesh>&
118 const bool valuesRequired=
true
128 const bool mappingRequired=
true
190 virtual const Field<Type>&
refGrad()
const
197 return valueFraction_;
202 return valueFraction_;
260 virtual void operator+=(
const fvPatchField<Type>&) {}
261 virtual void operator-=(
const fvPatchField<Type>&) {}
262 virtual void operator*=(
const fvPatchField<scalar>&) {}
263 virtual void operator/=(
const fvPatchField<scalar>&) {}
265 virtual void operator+=(
const Field<Type>&) {}
266 virtual void operator-=(
const Field<Type>&) {}
268 virtual void operator*=(
const Field<scalar>&) {}
269 virtual void operator/=(
const Field<scalar>&) {}
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.
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....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
tmp< fvPatchField< Type > > clone() const
Disallow clone without setting internal field reference.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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.
mixedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
virtual Field< Type > & refValue()
virtual void operator+=(const fvPatchField< Type > &)
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void operator/=(const fvPatchField< scalar > &)
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void operator*=(const fvPatchField< scalar > &)
virtual void operator-=(const fvPatchField< Type > &)
virtual void operator=(const UList< Type > &)
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual void reset(const fvPatchField< Type > &)
Reset the fvPatchField to the given fvPatchField.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
virtual bool assignable() const
Return false: this patch field is not altered by assignment.
TypeName("mixed")
Runtime type information.
virtual scalarField & valueFraction()
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
virtual Field< Type > & refGrad()
A class for managing temporary objects.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.