mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects: Removed redundant "start()" member function
This commit is contained in:
@ -136,6 +136,9 @@ Foam::codedFunctionObject::codedFunctionObject
|
||||
{
|
||||
read(dict_);
|
||||
}
|
||||
|
||||
updateLibrary(redirectType_);
|
||||
redirectFunctionObject();
|
||||
}
|
||||
|
||||
|
||||
@ -147,8 +150,7 @@ Foam::codedFunctionObject::~codedFunctionObject()
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
Foam::functionObject&
|
||||
Foam::codedFunctionObject::redirectFunctionObject() const
|
||||
Foam::functionObject& Foam::codedFunctionObject::redirectFunctionObject() const
|
||||
{
|
||||
if (!redirectFunctionObjectPtr_.valid())
|
||||
{
|
||||
@ -166,13 +168,6 @@ Foam::codedFunctionObject::redirectFunctionObject() const
|
||||
}
|
||||
|
||||
|
||||
bool Foam::codedFunctionObject::start()
|
||||
{
|
||||
updateLibrary(redirectType_);
|
||||
return redirectFunctionObject().start();
|
||||
}
|
||||
|
||||
|
||||
bool Foam::codedFunctionObject::execute(const bool forceWrite)
|
||||
{
|
||||
updateLibrary(redirectType_);
|
||||
|
||||
Reference in New Issue
Block a user