44 #ifndef Foam_slicedFvsPatchField_H 45 #define Foam_slicedFvsPatchField_H 82 const bool isBoundaryOnly =
false 144 virtual bool fixesValue()
const {
return true; }
155 virtual void operator+=(
const fvsPatchField<Type>&) {}
156 virtual void operator-=(
const fvsPatchField<Type>&) {}
157 virtual void operator*=(
const fvsPatchField<scalar>&) {}
158 virtual void operator/=(
const fvsPatchField<scalar>&) {}
160 virtual void operator+=(
const Field<Type>&) {}
161 virtual void operator-=(
const Field<Type>&) {}
163 virtual void operator*=(
const Field<scalar>&) {}
164 virtual void operator/=(
const Field<scalar>&) {}
virtual void operator=(const UList< Type > &)
virtual bool fixesValue() const
True: this patch field fixes a value.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static tmp< fvsPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
TypeName("sliced")
Runtime type information.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void operator-=(const fvsPatchField< Type > &)
slicedFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const Field< Type > &completeOrBoundaryField, const bool isBoundaryOnly=false)
Construct from patch, internal field and field to slice.
Generic templated field type.
A FieldMapper for finite-volume patch fields.
processorFvPatch processorPatchType
The mesh processor patch type.
virtual void operator*=(const fvsPatchField< scalar > &)
virtual void operator+=(const fvsPatchField< Type > &)
virtual void operator/=(const fvsPatchField< scalar > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Specialization of fvsPatchField which creates the underlying fvsPatchField as a slice of the given co...
virtual ~slicedFvsPatchField()
Destructor, resets pointers to avoid deletion of underlying 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 includes "value" entry.
A class for managing temporary objects.
virtual tmp< fvsPatchField< Type > > clone() const
Return clone.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...