Go to the documentation of this file.
72 #ifndef mixedFvPatchField_H
73 #define mixedFvPatchField_H
87 class mixedFvPatchField
89 public fvPatchField<Type>
115 const DimensionedField<Type, volMesh>&
122 const DimensionedField<Type, volMesh>&,
275 virtual void operator+=(
const fvPatchField<Type>&) {}
276 virtual void operator-=(
const fvPatchField<Type>&) {}
277 virtual void operator*=(
const fvPatchField<scalar>&) {}
278 virtual void operator/=(
const fvPatchField<scalar>&) {}
280 virtual void operator+=(
const Field<Type>&) {}
281 virtual void operator-=(
const Field<Type>&) {}
283 virtual void operator*=(
const Field<scalar>&) {}
284 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 tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
virtual void operator=(const fvPatchField< Type > &)
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 const Field< Type > & refGrad() const
virtual void operator+=(const fvPatchField< Type > &)
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
scalarField valueFraction_
Fraction (0-1) of value used for boundary condition.
virtual void operator/=(const fvPatchField< scalar > &)
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
mixedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Field< Type > refValue_
Value field.
virtual void operator*=(const scalar)
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
Write.
Field< Type > refGrad_
Normal gradient field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
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 operator-=(const Field< Type > &)
virtual void operator=(const UList< Type > &)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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 evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.
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 void operator-=(const Type &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...