50 #ifndef Foam_slicedFaPatchField_H 51 #define Foam_slicedFaPatchField_H 66 class slicedFaPatchField
68 public faPatchField<Type>
88 const bool isBoundaryOnly =
false 143 virtual bool fixesValue()
const {
return true; }
146 virtual bool assignable()
const {
return false; }
152 virtual tmp<Field<Type>>
snGrad()
const;
190 const tmp<scalarField>&
197 const tmp<scalarField>&
219 virtual void operator-=(
const faPatchField<Type>&) {}
220 virtual void operator*=(
const faPatchField<scalar>&) {}
221 virtual void operator/=(
const faPatchField<scalar>&) {}
223 virtual void operator+=(
const Field<Type>&) {}
224 virtual void operator-=(
const Field<Type>&) {}
226 virtual void operator*=(
const Field<scalar>&) {}
227 virtual void operator/=(
const Field<scalar>&) {}
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets updated() to false.
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
"blocking" : (MPI_Bsend, MPI_Recv)
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.
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< faPatchField< Type > > clone() const
Construct and return a clone.
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 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...
Finite area patch class. Used for 2-D non-Euclidian finite area method.
TypeName("sliced")
Runtime type information.
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.
A FieldMapper for finite-area patch fields.
virtual void operator=(const UList< Type > &)
virtual void initEvaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Initialise the evaluation of the patch field.
virtual void operator+=(const faPatchField< Type > &)