72 #ifndef codedFvModel_H 73 #define codedFvModel_H 113 word fieldPrimitiveTypeName()
const;
119 virtual const word& codeName()
const;
122 virtual string description()
const;
125 virtual void clearRedirect()
const;
134 fvModel& redirectFvModel()
const;
144 const word& fieldName
153 const word& fieldName
163 const word& fieldName
179 const word& modelType,
const word & name() const
Return const access to the source name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define DEFINE_FV_MODEL_ADD_SUP(Type, nullArg)
virtual bool read(const dictionary &dict)
Read source dictionary.
Cell-set fvConstraint abstract base class. Provides a base set of controls regarding the location whe...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
codedFvModel(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
#define DEFINE_FV_MODEL_ADD_ALPHA_RHO_SUP(Type, nullArg)
Finite volume model abstract base class.
FOR_ALL_FIELD_TYPES(DEFINE_FV_MODEL_ADD_SUP)
Add a source term to an equation.
const fvMesh & mesh() const
Return const access to the mesh database.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
A class for handling words, derived from string.
#define DEFINE_FV_MODEL_ADD_RHO_SUP(Type, nullArg)
Base class for function objects and boundary conditions using dynamic code.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
Constructs on-the-fly fvModel source from user-supplied code.
Tools for handling dynamic code compilation.
Encapsulation of dynamic code dictionaries.
Mesh data needed to do the Finite Volume discretisation.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
TypeName("coded")
Runtime type information.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...