Update of new FOs (from VV) to new signature

This commit is contained in:
Henrik Rusche 2018-02-12 21:54:17 +01:00
parent 7fe57ece38
commit 6aaa5ac976
4 changed files with 20 additions and 4 deletions

View file

@ -113,7 +113,7 @@ bool Foam::pressureGradientFunctionObject::start()
}
bool Foam::pressureGradientFunctionObject::execute()
bool Foam::pressureGradientFunctionObject::execute(const bool forceWrite)
{
const fvMesh& mesh =
time_.lookupObject<fvMesh>(regionName_);

View file

@ -112,7 +112,15 @@ public:
virtual bool start();
//- execute is called at each ++ or += of the time-loop
virtual bool execute();
virtual bool execute(const bool forceWrite);
//- Update for changes of mesh
virtual void updateMesh(const mapPolyMesh&)
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
{}
//- Read and set the function object if its data has changed
virtual bool read(const dictionary& dict);

View file

@ -124,7 +124,7 @@ bool Foam::velocityConvectionFunctionObject::start()
}
bool Foam::velocityConvectionFunctionObject::execute()
bool Foam::velocityConvectionFunctionObject::execute(const bool forceWrite)
{
const fvMesh& mesh = time_.lookupObject<fvMesh>(regionName_);

View file

@ -116,7 +116,15 @@ public:
virtual bool start();
//- execute is called at each ++ or += of the time-loop
virtual bool execute();
virtual bool execute(const bool forceWrite);
//- Update for changes of mesh
virtual void updateMesh(const mapPolyMesh&)
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
{}
//- Read and set the function object if its data has changed
virtual bool read(const dictionary& dict);