Foam::codedFunctionObject::codedFunctionObject
(
    const word& name,
    const Time& time,
    const dictionary& dict
)
:
    functionObject(name),
    codedBase(),
    time_(time),
    dict_(dict)
{
    read(dict_);

    updateLibrary(name_);
    redirectFunctionObject();
}
bool Foam::codedFunctionObject::end()
{
    updateLibrary(name_);
    return redirectFunctionObject().end();
}
Esempio n. 3
0
bool Foam::codedFunctionObject::start()
{
    updateLibrary();
    return redirectFunctionObject().start();
}
Esempio n. 4
0
bool Foam::codedFunctionObject::execute(const bool forceWrite)
{
    updateLibrary();
    return redirectFunctionObject().execute(forceWrite);
}
Esempio n. 5
0
bool Foam::codedFunctionObject::timeSet()
{
    updateLibrary(redirectType_);
    return redirectFunctionObject().timeSet();
}