108 #ifndef Foam_codedFixedValueFvPatchField_H 109 #define Foam_codedFixedValueFvPatchField_H 124 class codedFixedValueFvPatchField
126 public fixedValueFvPatchField<Type>,
130 typedef fixedValueFvPatchField<Type> parent_bctype;
140 mutable autoPtr<fvPatchField<Type>> redirectPatchFieldPtr_;
149 virtual string description()
const;
152 virtual void clearRedirect()
const;
155 virtual const dictionary& codeContext()
const;
170 =
"fixedValueFvPatchFieldTemplate.C";
174 =
"fixedValueFvPatchFieldTemplate.H";
252 virtual void write(Ostream&)
const;
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
TypeName("codedFixedValue")
Runtime type information.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field, sets updated() to false.
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< fvPatchField< Type > > clone() const
Return a clone.
static constexpr const char *const codeTemplateC
Name of the C code template to be used.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
A FieldMapper for finite-volume patch fields.
A table of dynamically loaded libraries.
Constructs on-the-fly a new boundary condition (derived from fixedValueFvPatchField) which is then us...
Tools for handling dynamic code compilation.
Encapsulation of dynamic code dictionaries.
codedFixedValueFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal 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.
A class for managing temporary objects.
"buffered" : (MPI_Bsend, MPI_Recv)
static constexpr const char *const codeTemplateH
Name of the H code template to be used.
const fvPatchField< Type > & redirectPatchField() const
Get reference to the underlying patch.