Update of new FOs (from VV) to new signature
This commit is contained in:
parent
7fe57ece38
commit
6aaa5ac976
4 changed files with 20 additions and 4 deletions
|
@ -113,7 +113,7 @@ bool Foam::pressureGradientFunctionObject::start()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::pressureGradientFunctionObject::execute()
|
bool Foam::pressureGradientFunctionObject::execute(const bool forceWrite)
|
||||||
{
|
{
|
||||||
const fvMesh& mesh =
|
const fvMesh& mesh =
|
||||||
time_.lookupObject<fvMesh>(regionName_);
|
time_.lookupObject<fvMesh>(regionName_);
|
||||||
|
|
|
@ -112,7 +112,15 @@ public:
|
||||||
virtual bool start();
|
virtual bool start();
|
||||||
|
|
||||||
//- execute is called at each ++ or += of the time-loop
|
//- 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
|
//- Read and set the function object if its data has changed
|
||||||
virtual bool read(const dictionary& dict);
|
virtual bool read(const dictionary& dict);
|
||||||
|
|
|
@ -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_);
|
const fvMesh& mesh = time_.lookupObject<fvMesh>(regionName_);
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,15 @@ public:
|
||||||
virtual bool start();
|
virtual bool start();
|
||||||
|
|
||||||
//- execute is called at each ++ or += of the time-loop
|
//- 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
|
//- Read and set the function object if its data has changed
|
||||||
virtual bool read(const dictionary& dict);
|
virtual bool read(const dictionary& dict);
|
||||||
|
|
Reference in a new issue