50 #ifndef Foam_slicedFaPatchField_H 51 #define Foam_slicedFaPatchField_H 66 class slicedFaPatchField
68 public faPatchField<Type>
88 const bool isBoundaryOnly =
false 153 virtual bool assignable()
const {
return false; }
159 virtual tmp<Field<Type>>
snGrad()
const;
197 const tmp<scalarField>&
204 const tmp<scalarField>&
226 virtual void operator-=(
const faPatchField<Type>&) {}
227 virtual void operator*=(
const faPatchField<scalar>&) {}
228 virtual void operator/=(
const faPatchField<scalar>&) {}
230 virtual void operator+=(
const Field<Type>&) {}
231 virtual void operator-=(
const Field<Type>&) {}
233 virtual void operator*=(
const Field<scalar>&) {}
234 virtual void operator/=(
const Field<scalar>&) {}
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
Specialization of faPatchField which creates the underlying faPatchField as a slice of the given comp...
virtual bool assignable() const
False: this patch field is not altered by assignment.
virtual tmp< faPatchField< Type > > clone() const
Return clone.
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< Field< Type > > patchNeighbourField() const
Return patchField of the values on the patch or on the.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
virtual void operator*=(const faPatchField< scalar > &)
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual void operator-=(const faPatchField< Type > &)
Generic templated field type.
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual void initEvaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Initialise the evaluation of the patch field.
virtual bool fixesValue() const
True: this patch field fixes a value.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static tmp< faPatchField< Type > > Clone(const DerivedPatchField &pf)
Clone a patch field with its own internal field reference.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
TypeName("sliced")
Runtime type information.
virtual ~slicedFaPatchField()
Destructor, resets pointers to avoid deletion of underlying field.
virtual void write(Ostream &) const
Write.
processorFaPatch processorPatchType
Type for the mesh processor patch.
virtual void operator/=(const faPatchField< scalar > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
slicedFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &, const Field< Type > &completeOrBoundaryField, const bool isBoundaryOnly=false)
Construct from patch, internal field and field to slice.
A class for managing temporary objects.
"buffered" : (MPI_Bsend, MPI_Recv)
A FieldMapper for finite-area patch fields.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field, sets updated() to false.
virtual void operator=(const UList< Type > &)
virtual void operator+=(const faPatchField< Type > &)