52 #ifndef Foam_mixedFaPatchField_H 53 #define Foam_mixedFaPatchField_H 67 class mixedFaPatchField
69 public faPatchField<Type>
74 Field<Type> refValue_;
173 virtual bool fixesValue()
const {
return true; }
183 virtual const Field<Type>&
refValue()
const 193 virtual const Field<Type>&
refGrad()
const 200 return valueFraction_;
205 return valueFraction_;
269 virtual void operator+=(
const faPatchField<Type>&) {}
270 virtual void operator-=(
const faPatchField<Type>&) {}
271 virtual void operator*=(
const faPatchField<scalar>&) {}
272 virtual void operator/=(
const faPatchField<scalar>&) {}
274 virtual void operator+=(
const Field<Type>&) {}
275 virtual void operator-=(
const Field<Type>&) {}
277 virtual void operator*=(
const Field<scalar>&) {}
278 virtual void operator/=(
const Field<scalar>&) {}
commsTypes
Communications types.
virtual void operator=(const UList< Type > &)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void operator-=(const faPatchField< Type > &)
This boundary condition provides a base class for 'mixed' type boundary conditions, i.e. conditions that mix fixed value and patch-normal gradient conditions.
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field.
virtual bool fixesValue() const
True: the patch field fixes a value.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
virtual void operator/=(const faPatchField< scalar > &)
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...
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual scalarField & valueFraction()
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void autoMap(const faPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() 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 faPatchField< Type > &, const labelList &)
Reverse map the given faPatchField onto this faPatchField.
static tmp< faPatchField< Type > > Clone(const DerivedPatchField &pf)
Clone a patch field with its own internal field reference.
virtual void operator+=(const faPatchField< Type > &)
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual void operator*=(const faPatchField< scalar > &)
mixedFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
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 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 tmp< faPatchField< Type > > clone() const
Return clone.
A class for managing temporary objects.
"buffered" : (MPI_Bsend, MPI_Recv)
A FieldMapper for finite-area patch fields.
virtual Field< Type > & refGrad()
TypeName("mixed")
Runtime type information.
readOption
Enumeration defining read preferences.