110 #ifndef Foam_codedMixedFvPatchField_H 111 #define Foam_codedMixedFvPatchField_H 126 class codedMixedFvPatchField
128 public mixedFvPatchField<Type>,
132 typedef mixedFvPatchField<Type> parent_bctype;
142 mutable autoPtr<mixedFvPatchField<Type>> redirectPatchFieldPtr_;
174 =
"mixedFvPatchFieldTemplate.C";
178 =
"mixedFvPatchFieldTemplate.H";
258 virtual void write(Ostream&)
const;
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field.
virtual dlLibraryTable & libs() const
Mutable access to the loaded dynamic libraries.
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual const dictionary & codeContext() const
Additional 'codeContext' dictionary to pass through.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const mixedFvPatchField< Type > & redirectPatchField() const
Get reference to the underlying patchField.
static constexpr const char *const codeTemplateH
Name of the H 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.
virtual void clearRedirect() const
Clear redirected object(s)
A table of dynamically loaded libraries.
codedMixedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
Tools for handling dynamic code compilation.
Encapsulation of dynamic code dictionaries.
Constructs on-the-fly a new boundary condition (derived from mixedFvPatchField) which is then used to...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual string description() const
Description (type + name) for the output.
TypeName("codedMixed")
Runtime type information.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for managing temporary objects.
"buffered" : (MPI_Bsend, MPI_Recv)
virtual const dictionary & codeDict() const
The code dictionary. Inline "code" or from system/codeDict.
virtual tmp< fvPatchField< Type > > clone() const
Return a clone.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
static constexpr const char *const codeTemplateC
Name of the C code template to be used.