73 #ifndef Foam_mixedFvPatchField_H 74 #define Foam_mixedFvPatchField_H 88 class mixedFvPatchField
90 public fvPatchField<Type>
95 Field<Type> refValue_;
116 const dictionary&
dict,
197 virtual bool fixesValue()
const {
return true; }
200 virtual bool assignable()
const {
return false; }
210 virtual const Field<Type>&
refValue()
const 220 virtual const Field<Type>&
refGrad()
const 227 return valueFraction_;
232 return valueFraction_;
235 virtual Field<Type>&
source()
307 virtual void operator-=(
const fvPatchField<Type>&) {}
308 virtual void operator*=(
const fvPatchField<scalar>&) {}
309 virtual void operator/=(
const fvPatchField<scalar>&) {}
311 virtual void operator+=(
const Field<Type>&) {}
312 virtual void operator-=(
const Field<Type>&) {}
314 virtual void operator*=(
const Field<scalar>&) {}
315 virtual void operator/=(
const Field<scalar>&) {}
virtual void operator=(const UList< Type > &)
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field.
virtual bool fixesValue() const
True: 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()
bool readMixedEntries(const dictionary &dict, IOobjectOption::readOption readOpt=IOobjectOption::LAZY_READ)
Read the 'refValue', 'refGradient' and 'valueFraction' entries into their respective places...
virtual void operator+=(const fvPatchField< Type > &)
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
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 operator*=(const fvPatchField< scalar > &)
virtual bool assignable() const
False: this patch field is not altered by assignment.
virtual tmp< fvPatchField< Type > > clone() const
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...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Reading is optional [identical to READ_IF_PRESENT].
virtual void write(Ostream &) const
Write.
A class for managing temporary objects.
"buffered" : (MPI_Bsend, MPI_Recv)
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.
readOption
Enumeration defining read preferences.