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