50 #ifndef Foam_slicedFvPatchField_H 51 #define Foam_slicedFvPatchField_H 88 const bool isBoundaryOnly =
false 142 virtual bool fixesValue()
const {
return true; }
145 virtual bool assignable()
const {
return false; }
151 virtual tmp<Field<Type>>
snGrad()
const;
189 const tmp<scalarField>&
196 const tmp<scalarField>&
218 virtual void operator-=(
const fvPatchField<Type>&) {}
219 virtual void operator*=(
const fvPatchField<scalar>&) {}
220 virtual void operator/=(
const fvPatchField<scalar>&) {}
222 virtual void operator+=(
const Field<Type>&) {}
223 virtual void operator-=(
const Field<Type>&) {}
225 virtual void operator*=(
const Field<scalar>&) {}
226 virtual void operator/=(
const Field<scalar>&) {}
Specialization of fvPatchField which creates the underlying fvPatchField as a slice of the given comp...
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
virtual bool assignable() const
False: this patch field is not altered by assignment.
"blocking" : (MPI_Bsend, MPI_Recv)
slicedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &completeOrBoundaryField, const bool isBoundaryOnly=false)
Construct from patch, internal field and field to slice.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets updated() to false.
processorFvPatch processorPatchType
The mesh processor patch type.
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< Field< Type > > patchNeighbourField() const
Return patchField of the values on the patch or on the.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< fvPatchField< 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.
Generic templated field type.
A FieldMapper for finite-volume patch fields.
virtual void operator+=(const fvPatchField< Type > &)
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 bool fixesValue() const
True: this patch field fixes a value.
virtual void operator-=(const fvPatchField< Type > &)
virtual void write(Ostream &) const
Write.
TypeName("sliced")
Runtime type information.
virtual void operator*=(const fvPatchField< scalar > &)
virtual void operator/=(const fvPatchField< scalar > &)
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
A class for managing temporary objects.
virtual void initEvaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Initialise the evaluation of the patch field.
virtual void operator=(const UList< Type > &)