45 #ifndef Foam_zeroValueFaPatchField_H 46 #define Foam_zeroValueFaPatchField_H 122 virtual bool fixesValue()
const {
return true; }
125 virtual bool assignable()
const {
return false; }
128 virtual void write(Ostream& os)
const;
162 virtual void operator+=(
const faPatchField<Type>&) {}
163 virtual void operator-=(
const faPatchField<Type>&) {}
164 virtual void operator*=(
const faPatchField<scalar>&) {}
165 virtual void operator/=(
const faPatchField<scalar>&) {}
167 virtual void operator+=(
const Field<Type>&) {}
168 virtual void operator-=(
const Field<Type>&) {}
170 virtual void operator*=(
const Field<scalar>&) {}
171 virtual void operator/=(
const Field<scalar>&) {}
181 virtual void operator==(
const faPatchField<Type>&) {}
199 #include "zeroValueFaPatchField.txx"
virtual void operator==(const faPatchField< Type > &)
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void operator=(const UList< Type > &)
virtual tmp< faPatchField< Type > > clone() const
No clone without an internal field reference.
Specifies a zero fixed value boundary condition.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
virtual void operator*=(const faPatchField< scalar > &)
TypeName("zeroValue")
Runtime type information.
virtual bool fixesValue() const
True: this patch field fixes a value.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the evaluation of the gradient of this patchFi...
virtual void operator/=(const faPatchField< scalar > &)
virtual void write(Ostream &os) const
Write (without "value" entry)
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
zeroValueFaPatchField(const faPatch &p, const DimensionedField< Type, areaMesh > &iF)
Construct from patch and internal field.
virtual void operator-=(const faPatchField< Type > &)
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the evaluation of the gradient of this patch...
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the evaluation of the value of this patchField...
static tmp< faPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchFie...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual bool assignable() const
False: this patch field is not altered by assignment.
A class for managing temporary objects.
A FieldMapper for finite-area patch fields.
virtual void operator+=(const faPatchField< Type > &)
bool operator!=(const faPatchField< Type > &) const =delete