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,
203 virtual bool fixesValue()
const {
return true; }
206 virtual bool assignable()
const {
return false; }
216 virtual const Field<Type>&
refValue()
const 226 virtual const Field<Type>&
refGrad()
const 233 return valueFraction_;
238 return valueFraction_;
241 virtual Field<Type>&
source()
246 virtual const Field<Type>&
source()
const 313 virtual void operator-=(
const fvPatchField<Type>&) {}
314 virtual void operator*=(
const fvPatchField<scalar>&) {}
315 virtual void operator/=(
const fvPatchField<scalar>&) {}
317 virtual void operator+=(
const Field<Type>&) {}
318 virtual void operator-=(
const Field<Type>&) {}
320 virtual void operator*=(
const Field<scalar>&) {}
321 virtual void operator/=(
const Field<scalar>&) {}
"blocking" : (MPI_Bsend, MPI_Recv)
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 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 > &)
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
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...
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.
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.