Go to the documentation of this file.
84 #ifndef codedFixedValueFvPatchField_H
85 #define codedFixedValueFvPatchField_H
97 class dynamicCodeContext;
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A table of dynamically loaded libraries.
const IOdictionary & dict() const
A class for handling words, derived from string.
virtual void clearRedirect() const
virtual void write(Ostream &) const
Write.
Tools for handling dynamic code compilation.
A class for managing temporary objects.
Encapsulation of dynamic code dictionaries.
Base class for function objects and boundary conditions using dynamic code.
TypeName("codedFixedValue")
Runtime type information.
const fvPatchField< Type > & redirectPatchField() const
Get reference to the underlying patch.
autoPtr< fvPatchField< Type > > redirectPatchFieldPtr_
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.
virtual const dictionary & codeDict() const
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual string description() const
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field, sets Updated to false.
codedFixedValueFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
const dictionary dict_
Dictionary contents for the boundary condition.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
commsTypes
Types of communications.
static const word codeTemplateH
Name of the H code template to be used.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const word codeTemplateC
Name of the C code template to be used.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual dlLibraryTable & libs() const
Get the loaded dynamic libraries.
static void setFieldTemplates(dynamicCode &dynCode)
Set the rewrite vars controlling the Type.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Constructs on-the-fly a new boundary condition (derived from fixedValueFvPatchField) which is then us...