70 #ifndef functionObjects_codedFunctionObject_H 71 #define functionObjects_codedFunctionObject_H 85 class codedFunctionObject
87 public functionObject,
96 mutable autoPtr<functionObject> redirectFunctionObjectPtr_;
105 virtual void prepare(dynamicCode&,
const dynamicCodeContext&)
const;
108 virtual void clearRedirect()
const;
148 virtual bool write();
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
codedFunctionObject(const word &name, const Time &time, const dictionary &dict)
Construct from Time and dictionary.
void operator=(const codedFunctionObject &)=delete
Disallow default bitwise assignment.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Provides a general interface to enable dynamic code compilation.
A class for handling words, derived from string.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
functionObject(const word &name)
Construct from components.
virtual ~codedFunctionObject()
Destructor.
List< word > wordList
A List of words.
TypeName("coded")
Runtime type information.
virtual bool execute()
Called at each ++ or += of the time-loop.
virtual bool write()
Called at each ++ or += of the time-loop.