70 #ifndef Foam_fixedGradientFaPatchField_H 71 #define Foam_fixedGradientFaPatchField_H 85 class fixedGradientFaPatchField
87 public faPatchField<Type>
91 Field<Type> gradient_;
102 const dictionary&
dict,
bool readGradientEntry(const dictionary &dict, IOobjectOption::readOption readOpt=IOobjectOption::LAZY_READ)
Read the "gradient" entry into corresponding member.
"blocking" : (MPI_Bsend, MPI_Recv)
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
This boundary condition supplies a fixed gradient condition, such that the patch values are calculate...
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
Generic templated field type.
fixedGradientFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
virtual tmp< faPatchField< Type > > clone() const
Construct and return a clone.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
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.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual Field< Type > & gradient() noexcept
The reference gradient at boundary.
virtual void autoMap(const faPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
TypeName("fixedGradient")
Runtime type information.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< Field< Type > > snGrad() const
Return gradient at boundary.
Reading is optional [identical to READ_IF_PRESENT].
A class for managing temporary objects.
A FieldMapper for finite-area patch fields.
virtual void rmap(const faPatchField< Type > &, const labelList &)
Reverse map the given faPatchField onto this faPatchField.
readOption
Enumeration defining read preferences.