functionObjects: Simplified the handling of the post-processing mode
Replaced the 'postProcess' argument to the 'write' and 'execute' functions with the single static member 'postProcess' in the functionObject base-class.
This commit is contained in:
parent
18b632e71d
commit
ae1a6dd12d
@ -74,13 +74,13 @@ bool Foam::functionObjects::writeVTK::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeVTK::execute(const bool postProcess)
|
bool Foam::functionObjects::writeVTK::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeVTK::write(const bool postProcess)
|
bool Foam::functionObjects::writeVTK::write()
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " output:" << nl;
|
Info<< type() << " " << name() << " output:" << nl;
|
||||||
|
|
||||||
|
@ -129,10 +129,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the writeVTK
|
//- Write the writeVTK
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ void executeFunctionObjects
|
|||||||
Info<< nl << "Executing functionObjects" << endl;
|
Info<< nl << "Executing functionObjects" << endl;
|
||||||
|
|
||||||
// Execute the functionObjects in post-processing mode
|
// Execute the functionObjects in post-processing mode
|
||||||
functions.execute(true);
|
functions.execute();
|
||||||
|
|
||||||
while (!storedObjects.empty())
|
while (!storedObjects.empty())
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,8 @@ Solution:
|
|||||||
- copy the flowRatePatch file into the case system directory (not
|
- copy the flowRatePatch file into the case system directory (not
|
||||||
flowRatePatch.cfg)
|
flowRatePatch.cfg)
|
||||||
- edit system/flowRatePatch to set the patch name
|
- edit system/flowRatePatch to set the patch name
|
||||||
replace "patch <patchName>;"
|
replace "name <patchName>;"
|
||||||
with "patch outlet;"
|
with "name outlet;"
|
||||||
- activate the function object by including the flowRatePatch file in functions
|
- activate the function object by including the flowRatePatch file in functions
|
||||||
sub-dictionary in the case controlDict file, e.g.
|
sub-dictionary in the case controlDict file, e.g.
|
||||||
functions
|
functions
|
||||||
|
@ -14,7 +14,7 @@ Description
|
|||||||
|
|
||||||
flowRatePatch
|
flowRatePatch
|
||||||
{
|
{
|
||||||
patch <patchName>;
|
name <patchName>;
|
||||||
|
|
||||||
#includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"
|
#includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,5 @@
|
|||||||
#includeEtc "caseDicts/postProcessing/surfaceRegion/surfaceRegion.cfg"
|
#includeEtc "caseDicts/postProcessing/surfaceRegion/surfaceRegion.cfg"
|
||||||
|
|
||||||
regionType patch;
|
regionType patch;
|
||||||
name $patch;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
@ -12,8 +12,8 @@ Description
|
|||||||
|
|
||||||
patchAverage
|
patchAverage
|
||||||
{
|
{
|
||||||
patch <patchName>;
|
name <patchName>;
|
||||||
fields (<field names>);
|
fields (<field names>);
|
||||||
|
|
||||||
operation average;
|
operation average;
|
||||||
#includeEtc "caseDicts/postProcessing/surfaceRegion/patch.cfg"
|
#includeEtc "caseDicts/postProcessing/surfaceRegion/patch.cfg"
|
||||||
|
@ -12,7 +12,7 @@ Description
|
|||||||
|
|
||||||
patchIntegrate
|
patchIntegrate
|
||||||
{
|
{
|
||||||
patch <patchName>;
|
name <patchName>;
|
||||||
fields (<field names>);
|
fields (<field names>);
|
||||||
|
|
||||||
operation areaIntegrate;
|
operation areaIntegrate;
|
||||||
|
@ -121,7 +121,7 @@ bool ${typeName}FunctionObject::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ${typeName}FunctionObject::execute(const bool postProcess)
|
bool ${typeName}FunctionObject::execute()
|
||||||
{
|
{
|
||||||
if (${verbose:-false})
|
if (${verbose:-false})
|
||||||
{
|
{
|
||||||
@ -136,7 +136,7 @@ bool ${typeName}FunctionObject::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ${typeName}FunctionObject::write(const bool postProcess)
|
bool ${typeName}FunctionObject::write()
|
||||||
{
|
{
|
||||||
if (${verbose:-false})
|
if (${verbose:-false})
|
||||||
{
|
{
|
||||||
|
@ -100,13 +100,13 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute the "executeCalls" at each time-step
|
//- Execute the "executeCalls" at each time-step
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Execute the "endCalls" at the final time-loop
|
//- Execute the "endCalls" at the final time-loop
|
||||||
virtual bool end();
|
virtual bool end();
|
||||||
|
|
||||||
//- Write, execute the "writeCalls"
|
//- Write, execute the "writeCalls"
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ bool Foam::functionObjects::FUNCTIONOBJECT::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::FUNCTIONOBJECT::execute(const bool postProcess)
|
bool Foam::functionObjects::FUNCTIONOBJECT::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ bool Foam::functionObjects::FUNCTIONOBJECT::end()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::FUNCTIONOBJECT::write(const bool postProcess)
|
bool Foam::functionObjects::FUNCTIONOBJECT::write()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -125,13 +125,13 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Execute at the final time-loop, currently does nothing
|
//- Execute at the final time-loop, currently does nothing
|
||||||
virtual bool end();
|
virtual bool end();
|
||||||
|
|
||||||
//- Write the FUNCTIONOBJECT
|
//- Write the FUNCTIONOBJECT
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -122,9 +122,9 @@ bool Foam::IOOutputFilter<OutputFilter>::read()
|
|||||||
|
|
||||||
|
|
||||||
template<class OutputFilter>
|
template<class OutputFilter>
|
||||||
bool Foam::IOOutputFilter<OutputFilter>::write(const bool postProcess)
|
bool Foam::IOOutputFilter<OutputFilter>::write()
|
||||||
{
|
{
|
||||||
return OutputFilter::write(postProcess);
|
return OutputFilter::write();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ public:
|
|||||||
using regIOobject::write;
|
using regIOobject::write;
|
||||||
|
|
||||||
//- Sample and write
|
//- Sample and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Update for changes of mesh
|
//- Update for changes of mesh
|
||||||
virtual void updateMesh(const mapPolyMesh& mpm);
|
virtual void updateMesh(const mapPolyMesh& mpm);
|
||||||
|
@ -211,12 +211,12 @@ public:
|
|||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual executeControl behaviour and
|
// postProcess overrides the usual executeControl behaviour and
|
||||||
// forces execution (used in post-processing mode)
|
// forces execution (used in post-processing mode)
|
||||||
virtual bool execute(const bool postProcess = false) = 0;
|
virtual bool execute() = 0;
|
||||||
|
|
||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual writeControl behaviour and
|
// postProcess overrides the usual writeControl behaviour and
|
||||||
// forces writing always (used in post-processing mode)
|
// forces writing always (used in post-processing mode)
|
||||||
virtual bool write(const bool postProcess = false) = 0;
|
virtual bool write() = 0;
|
||||||
|
|
||||||
//- Called when Time::run() determines that the time-loop exits.
|
//- Called when Time::run() determines that the time-loop exits.
|
||||||
// By default it simply calls execute().
|
// By default it simply calls execute().
|
||||||
|
@ -145,7 +145,7 @@ bool Foam::functionObjectList::readFunctionObject
|
|||||||
// 'patchAverage(patch=inlet, p)' -> funcName = patchAverage;
|
// 'patchAverage(patch=inlet, p)' -> funcName = patchAverage;
|
||||||
// args = (patch=inlet, p); field = p
|
// args = (patch=inlet, p); field = p
|
||||||
|
|
||||||
word funcName;
|
word funcName(funcNameArgs);
|
||||||
|
|
||||||
int argLevel = 0;
|
int argLevel = 0;
|
||||||
wordList args;
|
wordList args;
|
||||||
@ -436,7 +436,7 @@ bool Foam::functionObjectList::start()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjectList::execute(const bool postProcess)
|
bool Foam::functionObjectList::execute()
|
||||||
{
|
{
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
|
|
||||||
@ -449,8 +449,8 @@ bool Foam::functionObjectList::execute(const bool postProcess)
|
|||||||
|
|
||||||
forAll(*this, objectI)
|
forAll(*this, objectI)
|
||||||
{
|
{
|
||||||
ok = operator[](objectI).execute(postProcess) && ok;
|
ok = operator[](objectI).execute() && ok;
|
||||||
ok = operator[](objectI).write(postProcess) && ok;
|
ok = operator[](objectI).write() && ok;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ public:
|
|||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual executeControl behaviour and
|
// postProcess overrides the usual executeControl behaviour and
|
||||||
// forces execution (used in post-processing mode)
|
// forces execution (used in post-processing mode)
|
||||||
bool execute(const bool postProcess = false);
|
bool execute();
|
||||||
|
|
||||||
//- Called when Time::run() determines that the time-loop exits
|
//- Called when Time::run() determines that the time-loop exits
|
||||||
bool end();
|
bool end();
|
||||||
|
@ -136,7 +136,7 @@ if (argList::postProcess(argc, argv))
|
|||||||
#include INCLUDE_FILE(CREATE_FIELDS_3)
|
#include INCLUDE_FILE(CREATE_FIELDS_3)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
functionsPtr->execute(true);
|
functionsPtr->execute();
|
||||||
}
|
}
|
||||||
catch (IOerror& err)
|
catch (IOerror& err)
|
||||||
{
|
{
|
||||||
|
@ -85,7 +85,7 @@ Foam::functionObjects::timeControl::timeControl
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
bool Foam::functionObjects::timeControl::execute(const bool postProcess)
|
bool Foam::functionObjects::timeControl::execute()
|
||||||
{
|
{
|
||||||
if (active() && (postProcess || executeControl_.execute()))
|
if (active() && (postProcess || executeControl_.execute()))
|
||||||
{
|
{
|
||||||
@ -96,7 +96,7 @@ bool Foam::functionObjects::timeControl::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::timeControl::write(const bool postProcess)
|
bool Foam::functionObjects::timeControl::write()
|
||||||
{
|
{
|
||||||
if (active() && (postProcess || writeControl_.execute()))
|
if (active() && (postProcess || writeControl_.execute()))
|
||||||
{
|
{
|
||||||
|
@ -151,12 +151,12 @@ public:
|
|||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual executeControl behaviour and
|
// postProcess overrides the usual executeControl behaviour and
|
||||||
// forces execution (used in post-processing mode)
|
// forces execution (used in post-processing mode)
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual writeControl behaviour and
|
// postProcess overrides the usual writeControl behaviour and
|
||||||
// forces writing (used in post-processing mode)
|
// forces writing (used in post-processing mode)
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Called when Time::run() determines that the time-loop exits
|
//- Called when Time::run() determines that the time-loop exits
|
||||||
virtual bool end();
|
virtual bool end();
|
||||||
|
@ -194,7 +194,7 @@ Foam::OFstream& Foam::functionObjects::writeFiles::file(const label i)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeFiles::write(const bool postProcess)
|
bool Foam::functionObjects::writeFiles::write()
|
||||||
{
|
{
|
||||||
createFiles();
|
createFiles();
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ public:
|
|||||||
OFstream& file(const label i);
|
OFstream& file(const label i);
|
||||||
|
|
||||||
//- Write function
|
//- Write function
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ Foam::functionObjects::components::~components()
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
bool Foam::functionObjects::components::write(const bool postProcess)
|
bool Foam::functionObjects::components::write()
|
||||||
{
|
{
|
||||||
bool written = true;
|
bool written = true;
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Write the component fields
|
//- Write the component fields
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Clear the component fields from the objectRegistry
|
//- Clear the component fields from the objectRegistry
|
||||||
virtual bool clear();
|
virtual bool clear();
|
||||||
|
@ -322,7 +322,7 @@ bool Foam::functionObjects::fieldAverage::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldAverage::execute(const bool postProcess)
|
bool Foam::functionObjects::fieldAverage::execute()
|
||||||
{
|
{
|
||||||
calcAverages();
|
calcAverages();
|
||||||
|
|
||||||
@ -330,7 +330,7 @@ bool Foam::functionObjects::fieldAverage::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldAverage::write(const bool postProcess)
|
bool Foam::functionObjects::fieldAverage::write()
|
||||||
{
|
{
|
||||||
writeAverages();
|
writeAverages();
|
||||||
writeAveragingProperties();
|
writeAveragingProperties();
|
||||||
|
@ -296,10 +296,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the field averages
|
//- Calculate the field averages
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the field averages
|
//- Write the field averages
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -98,10 +98,7 @@ bool Foam::functionObjects::fieldCoordinateSystemTransform::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldCoordinateSystemTransform::execute
|
bool Foam::functionObjects::fieldCoordinateSystemTransform::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
forAll(fieldSet_, fieldi)
|
forAll(fieldSet_, fieldi)
|
||||||
{
|
{
|
||||||
@ -116,10 +113,7 @@ bool Foam::functionObjects::fieldCoordinateSystemTransform::execute
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldCoordinateSystemTransform::write
|
bool Foam::functionObjects::fieldCoordinateSystemTransform::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
forAll(fieldSet_, fieldi)
|
forAll(fieldSet_, fieldi)
|
||||||
{
|
{
|
||||||
|
@ -145,10 +145,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the transformed fields
|
//- Calculate the transformed fields
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the transformed fields
|
//- Write the transformed fields
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ bool Foam::functionObjects::fieldExpression::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldExpression::execute(const bool postProcess)
|
bool Foam::functionObjects::fieldExpression::execute()
|
||||||
{
|
{
|
||||||
if (!calc())
|
if (!calc())
|
||||||
{
|
{
|
||||||
@ -136,7 +136,7 @@ bool Foam::functionObjects::fieldExpression::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldExpression::write(const bool postProcess)
|
bool Foam::functionObjects::fieldExpression::write()
|
||||||
{
|
{
|
||||||
return writeObject(resultName_);
|
return writeObject(resultName_);
|
||||||
}
|
}
|
||||||
|
@ -116,10 +116,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the result field
|
//- Calculate the result field
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the result field
|
//- Write the result field
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Clear the result field from the objectRegistry
|
//- Clear the result field from the objectRegistry
|
||||||
virtual bool clear();
|
virtual bool clear();
|
||||||
|
@ -140,13 +140,13 @@ bool Foam::functionObjects::fieldMinMax::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldMinMax::execute(const bool postProcess)
|
bool Foam::functionObjects::fieldMinMax::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldMinMax::write(const bool postProcess)
|
bool Foam::functionObjects::fieldMinMax::write()
|
||||||
{
|
{
|
||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
|
@ -181,10 +181,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the fieldMinMax
|
//- Write the fieldMinMax
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,13 +97,13 @@ bool Foam::functionObjects::fieldValue::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldValue::execute(const bool postProcess)
|
bool Foam::functionObjects::fieldValue::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldValue::write(const bool postProcess)
|
bool Foam::functionObjects::fieldValue::write()
|
||||||
{
|
{
|
||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
|
@ -172,10 +172,10 @@ public:
|
|||||||
virtual bool read(const dictionary& dict);
|
virtual bool read(const dictionary& dict);
|
||||||
|
|
||||||
//- Execute
|
//- Execute
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write to screen/file
|
//- Write to screen/file
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -164,10 +164,7 @@ bool Foam::functionObjects::fieldValues::fieldValueDelta::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldValues::fieldValueDelta::write
|
bool Foam::functionObjects::fieldValues::fieldValueDelta::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
@ -206,10 +203,7 @@ bool Foam::functionObjects::fieldValues::fieldValueDelta::write
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldValues::fieldValueDelta::execute
|
bool Foam::functionObjects::fieldValues::fieldValueDelta::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -171,10 +171,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Calculate and write
|
//- Calculate and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -721,10 +721,7 @@ bool Foam::functionObjects::fieldValues::surfaceRegion::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldValues::surfaceRegion::write
|
bool Foam::functionObjects::fieldValues::surfaceRegion::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
fieldValue::write();
|
fieldValue::write();
|
||||||
|
|
||||||
|
@ -402,7 +402,7 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate and write
|
//- Calculate and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -275,10 +275,7 @@ bool Foam::functionObjects::fieldValues::volRegion::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::fieldValues::volRegion::write
|
bool Foam::functionObjects::fieldValues::volRegion::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
fieldValue::write();
|
fieldValue::write();
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate and write
|
//- Calculate and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,13 +109,13 @@ bool Foam::functionObjects::histogram::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::histogram::execute(const bool postProcess)
|
bool Foam::functionObjects::histogram::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::histogram::write(const bool postProcess)
|
bool Foam::functionObjects::histogram::write()
|
||||||
{
|
{
|
||||||
Log << type() << " " << name() << " write:" << nl;
|
Log << type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
|
@ -148,12 +148,12 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Calculate the histogram and write.
|
//- Calculate the histogram and write.
|
||||||
// postProcess overrides the usual writeControl behaviour and
|
// postProcess overrides the usual writeControl behaviour and
|
||||||
// forces writing always (used in post-processing mode)
|
// forces writing always (used in post-processing mode)
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -286,7 +286,7 @@ bool Foam::functionObjects::nearWallFields::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::nearWallFields::execute(const bool postProcess)
|
bool Foam::functionObjects::nearWallFields::execute()
|
||||||
{
|
{
|
||||||
DebugInFunction << endl;
|
DebugInFunction << endl;
|
||||||
|
|
||||||
@ -327,7 +327,7 @@ bool Foam::functionObjects::nearWallFields::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::nearWallFields::write(const bool postProcess)
|
bool Foam::functionObjects::nearWallFields::write()
|
||||||
{
|
{
|
||||||
DebugInFunction << endl;
|
DebugInFunction << endl;
|
||||||
|
|
||||||
|
@ -196,10 +196,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the near-wall fields
|
//- Calculate the near-wall fields
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the near-wall fields
|
//- Write the near-wall fields
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ bool Foam::functionObjects::processorField::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::processorField::execute(const bool postProcess)
|
bool Foam::functionObjects::processorField::execute()
|
||||||
{
|
{
|
||||||
const volScalarField& procField =
|
const volScalarField& procField =
|
||||||
mesh_.lookupObject<volScalarField>("processorID");
|
mesh_.lookupObject<volScalarField>("processorID");
|
||||||
@ -101,7 +101,7 @@ bool Foam::functionObjects::processorField::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::processorField::write(const bool postProcess)
|
bool Foam::functionObjects::processorField::write()
|
||||||
{
|
{
|
||||||
const volScalarField& procField =
|
const volScalarField& procField =
|
||||||
mesh_.lookupObject<volScalarField>("processorID");
|
mesh_.lookupObject<volScalarField>("processorID");
|
||||||
|
@ -111,10 +111,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the processorID field
|
//- Calculate the processorID field
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the processorID field
|
//- Write the processorID field
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ bool Foam::functionObjects::readFields::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::readFields::execute(const bool postProcess)
|
bool Foam::functionObjects::readFields::execute()
|
||||||
{
|
{
|
||||||
// Clear out any previously loaded fields
|
// Clear out any previously loaded fields
|
||||||
vsf_.clear();
|
vsf_.clear();
|
||||||
@ -105,7 +105,7 @@ bool Foam::functionObjects::readFields::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::readFields::write(const bool postProcess)
|
bool Foam::functionObjects::readFields::write()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -154,10 +154,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Read the fields
|
//- Read the fields
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -378,19 +378,13 @@ bool Foam::functionObjects::regionSizeDistribution::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::regionSizeDistribution::execute
|
bool Foam::functionObjects::regionSizeDistribution::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::regionSizeDistribution::write
|
bool Foam::functionObjects::regionSizeDistribution::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " write:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
|
@ -256,10 +256,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Calculate the regionSizeDistribution and write
|
//- Calculate the regionSizeDistribution and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -423,13 +423,13 @@ bool Foam::functionObjects::streamLine::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::streamLine::execute(const bool postProcess)
|
bool Foam::functionObjects::streamLine::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::streamLine::write(const bool postProcess)
|
bool Foam::functionObjects::streamLine::write()
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " write:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
|
@ -243,10 +243,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Calculate and write the steamlines
|
//- Calculate and write the steamlines
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Update for changes of mesh
|
//- Update for changes of mesh
|
||||||
virtual void updateMesh(const mapPolyMesh&);
|
virtual void updateMesh(const mapPolyMesh&);
|
||||||
|
@ -80,10 +80,7 @@ bool Foam::functionObjects::surfaceInterpolate::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::surfaceInterpolate::execute
|
bool Foam::functionObjects::surfaceInterpolate::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " write:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
@ -106,10 +103,7 @@ bool Foam::functionObjects::surfaceInterpolate::execute
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::surfaceInterpolate::write
|
bool Foam::functionObjects::surfaceInterpolate::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " write:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
|
@ -157,10 +157,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the interpolated fields
|
//- Calculate the interpolated fields
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the interpolated fields
|
//- Write the interpolated fields
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ bool Foam::functionObjects::turbulenceFields::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::turbulenceFields::execute(const bool postProcess)
|
bool Foam::functionObjects::turbulenceFields::execute()
|
||||||
{
|
{
|
||||||
bool comp = compressible();
|
bool comp = compressible();
|
||||||
|
|
||||||
@ -299,7 +299,7 @@ bool Foam::functionObjects::turbulenceFields::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::turbulenceFields::write(const bool postProcess)
|
bool Foam::functionObjects::turbulenceFields::write()
|
||||||
{
|
{
|
||||||
forAllConstIter(wordHashSet, fieldSet_, iter)
|
forAllConstIter(wordHashSet, fieldSet_, iter)
|
||||||
{
|
{
|
||||||
|
@ -203,11 +203,11 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate turbulence fields
|
//- Calculate turbulence fields
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Do nothing.
|
//- Do nothing.
|
||||||
// The turbulence fields are registered and written automatically
|
// The turbulence fields are registered and written automatically
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -588,16 +588,13 @@ bool Foam::functionObjects::wallBoundedStreamLine::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::wallBoundedStreamLine::execute
|
bool Foam::functionObjects::wallBoundedStreamLine::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::wallBoundedStreamLine::write(const bool postProcess)
|
bool Foam::functionObjects::wallBoundedStreamLine::write()
|
||||||
{
|
{
|
||||||
const Time& runTime = obr_.time();
|
const Time& runTime = obr_.time();
|
||||||
const fvMesh& mesh = dynamic_cast<const fvMesh&>(obr_);
|
const fvMesh& mesh = dynamic_cast<const fvMesh&>(obr_);
|
||||||
|
@ -249,10 +249,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Calculate and write the wall-bounded streamlines
|
//- Calculate and write the wall-bounded streamlines
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Update for changes of mesh
|
//- Update for changes of mesh
|
||||||
virtual void updateMesh(const mapPolyMesh&);
|
virtual void updateMesh(const mapPolyMesh&);
|
||||||
|
@ -191,7 +191,7 @@ bool Foam::functionObjects::wallShearStress::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::wallShearStress::execute(const bool postProcess)
|
bool Foam::functionObjects::wallShearStress::execute()
|
||||||
{
|
{
|
||||||
typedef compressible::turbulenceModel cmpModel;
|
typedef compressible::turbulenceModel cmpModel;
|
||||||
typedef incompressible::turbulenceModel icoModel;
|
typedef incompressible::turbulenceModel icoModel;
|
||||||
@ -232,7 +232,7 @@ bool Foam::functionObjects::wallShearStress::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::wallShearStress::write(const bool postProcess)
|
bool Foam::functionObjects::wallShearStress::write()
|
||||||
{
|
{
|
||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
|
@ -161,10 +161,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the wall shear-stress
|
//- Calculate the wall shear-stress
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the wall shear-stress
|
//- Write the wall shear-stress
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -170,7 +170,7 @@ bool Foam::functionObjects::yPlus::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::yPlus::execute(const bool postProcess)
|
bool Foam::functionObjects::yPlus::execute()
|
||||||
{
|
{
|
||||||
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
||||||
|
|
||||||
@ -198,7 +198,7 @@ bool Foam::functionObjects::yPlus::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::yPlus::write(const bool postProcess)
|
bool Foam::functionObjects::yPlus::write()
|
||||||
{
|
{
|
||||||
const volScalarField& yPlus =
|
const volScalarField& yPlus =
|
||||||
obr_.lookupObject<volScalarField>(type());
|
obr_.lookupObject<volScalarField>(type());
|
||||||
|
@ -114,10 +114,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the yPlus field
|
//- Calculate the yPlus field
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the yPlus field
|
//- Write the yPlus field
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -167,13 +167,13 @@ bool Foam::functionObjects::forceCoeffs::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::forceCoeffs::execute(const bool postProcess)
|
bool Foam::functionObjects::forceCoeffs::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::forceCoeffs::write(const bool postProcess)
|
bool Foam::functionObjects::forceCoeffs::write()
|
||||||
{
|
{
|
||||||
forces::calcForcesMoment();
|
forces::calcForcesMoment();
|
||||||
|
|
||||||
|
@ -180,10 +180,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the forces
|
//- Write the forces
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -892,13 +892,13 @@ Foam::vector Foam::functionObjects::forces::momentEff() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::forces::execute(const bool postProcess)
|
bool Foam::functionObjects::forces::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::forces::write(const bool postProcess)
|
bool Foam::functionObjects::forces::write()
|
||||||
{
|
{
|
||||||
calcForcesMoment();
|
calcForcesMoment();
|
||||||
|
|
||||||
|
@ -296,10 +296,10 @@ public:
|
|||||||
virtual vector momentEff() const;
|
virtual vector momentEff() const;
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the forces
|
//- Write the forces
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -103,13 +103,13 @@ bool Foam::functionObjects::cloudInfo::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::cloudInfo::execute(const bool postProcess)
|
bool Foam::functionObjects::cloudInfo::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::cloudInfo::write(const bool postProcess)
|
bool Foam::functionObjects::cloudInfo::write()
|
||||||
{
|
{
|
||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
|
@ -134,10 +134,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write
|
//- Write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -92,13 +92,13 @@ bool Foam::functionObjects::dsmcFields::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::dsmcFields::execute(const bool postProcess)
|
bool Foam::functionObjects::dsmcFields::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::dsmcFields::write(const bool postProcess)
|
bool Foam::functionObjects::dsmcFields::write()
|
||||||
{
|
{
|
||||||
word rhoNMeanName = "rhoNMean";
|
word rhoNMeanName = "rhoNMean";
|
||||||
word rhoMMeanName = "rhoMMean";
|
word rhoMMeanName = "rhoMMean";
|
||||||
|
@ -105,10 +105,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Calculate and write the DSMC fields
|
//- Calculate and write the DSMC fields
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -126,10 +126,7 @@ bool Foam::functionObjects::icoUncoupledKinematicCloud::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::icoUncoupledKinematicCloud::execute
|
bool Foam::functionObjects::icoUncoupledKinematicCloud::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
mu_ = rhoValue_*laminarTransport_.nu();
|
mu_ = rhoValue_*laminarTransport_.nu();
|
||||||
kinematicCloud_.evolve();
|
kinematicCloud_.evolve();
|
||||||
@ -138,10 +135,7 @@ bool Foam::functionObjects::icoUncoupledKinematicCloud::execute
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::icoUncoupledKinematicCloud::write
|
bool Foam::functionObjects::icoUncoupledKinematicCloud::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -158,10 +158,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Track the cloud
|
//- Track the cloud
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the cloud
|
//- Write the cloud
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ bool Foam::functionObjects::scalarTransport::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::scalarTransport::execute(const bool postProcess)
|
bool Foam::functionObjects::scalarTransport::execute()
|
||||||
{
|
{
|
||||||
Info<< type() << " write:" << endl;
|
Info<< type() << " write:" << endl;
|
||||||
|
|
||||||
@ -263,7 +263,7 @@ bool Foam::functionObjects::scalarTransport::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::scalarTransport::write(const bool postProcess)
|
bool Foam::functionObjects::scalarTransport::write()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -135,11 +135,11 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Calculate the scalarTransport
|
//- Calculate the scalarTransport
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Do nothing.
|
//- Do nothing.
|
||||||
// The volScalarField is registered and written automatically
|
// The volScalarField is registered and written automatically
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ bool Foam::functionObjects::abort::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::abort::execute(const bool postProcess)
|
bool Foam::functionObjects::abort::execute()
|
||||||
{
|
{
|
||||||
bool hasAbort = isFile(abortFile_);
|
bool hasAbort = isFile(abortFile_);
|
||||||
reduce(hasAbort, orOp<bool>());
|
reduce(hasAbort, orOp<bool>());
|
||||||
@ -183,7 +183,7 @@ bool Foam::functionObjects::abort::execute(const bool postProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::abort::write(const bool postProcess)
|
bool Foam::functionObjects::abort::write()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -130,10 +130,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, check existence of abort file and take action
|
//- Execute, check existence of abort file and take action
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Execute, check existence of abort file and take action
|
//- Execute, check existence of abort file and take action
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Execute at the final time-loop, used for cleanup
|
//- Execute at the final time-loop, used for cleanup
|
||||||
virtual bool end();
|
virtual bool end();
|
||||||
|
@ -161,17 +161,17 @@ Foam::functionObject& Foam::codedFunctionObject::redirectFunctionObject() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::codedFunctionObject::execute(const bool postProcess)
|
bool Foam::codedFunctionObject::execute()
|
||||||
{
|
{
|
||||||
updateLibrary(name_);
|
updateLibrary(name_);
|
||||||
return redirectFunctionObject().execute(postProcess);
|
return redirectFunctionObject().execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::codedFunctionObject::write(const bool postProcess)
|
bool Foam::codedFunctionObject::write()
|
||||||
{
|
{
|
||||||
updateLibrary(name_);
|
updateLibrary(name_);
|
||||||
return redirectFunctionObject().write(postProcess);
|
return redirectFunctionObject().write();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -169,12 +169,12 @@ public:
|
|||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual executeControl behaviour and
|
// postProcess overrides the usual executeControl behaviour and
|
||||||
// forces execution (used in post-processing mode)
|
// forces execution (used in post-processing mode)
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual writeControl behaviour and
|
// postProcess overrides the usual writeControl behaviour and
|
||||||
// forces writing always (used in post-processing mode)
|
// forces writing always (used in post-processing mode)
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Called when Time::run() determines that the time-loop exits.
|
//- Called when Time::run() determines that the time-loop exits.
|
||||||
// By default it simply calls execute().
|
// By default it simply calls execute().
|
||||||
|
@ -85,10 +85,7 @@ bool Foam::functionObjects::removeRegisteredObject::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::removeRegisteredObject::execute
|
bool Foam::functionObjects::removeRegisteredObject::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
forAll(objectNames_, i)
|
forAll(objectNames_, i)
|
||||||
{
|
{
|
||||||
@ -113,10 +110,7 @@ bool Foam::functionObjects::removeRegisteredObject::execute
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::removeRegisteredObject::write
|
bool Foam::functionObjects::removeRegisteredObject::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -126,10 +126,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Remove the registered objects
|
//- Remove the registered objects
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -106,13 +106,13 @@ void Foam::functionObjects::residuals::writeFileHeader(const label i)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::residuals::execute(const bool postProcess)
|
bool Foam::functionObjects::residuals::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::residuals::write(const bool postProcess)
|
bool Foam::functionObjects::residuals::write()
|
||||||
{
|
{
|
||||||
writeFiles::write();
|
writeFiles::write();
|
||||||
|
|
||||||
|
@ -139,10 +139,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the residuals
|
//- Write the residuals
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,19 +113,13 @@ bool Foam::functionObjects::setTimeStepFunctionObject::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::setTimeStepFunctionObject::execute
|
bool Foam::functionObjects::setTimeStepFunctionObject::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::setTimeStepFunctionObject::write
|
bool Foam::functionObjects::setTimeStepFunctionObject::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -113,12 +113,12 @@ public:
|
|||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual executeControl behaviour and
|
// postProcess overrides the usual executeControl behaviour and
|
||||||
// forces execution (used in post-processing mode)
|
// forces execution (used in post-processing mode)
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Called at each ++ or += of the time-loop.
|
//- Called at each ++ or += of the time-loop.
|
||||||
// postProcess overrides the usual writeControl behaviour and
|
// postProcess overrides the usual writeControl behaviour and
|
||||||
// forces writing always (used in post-processing mode)
|
// forces writing always (used in post-processing mode)
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ bool Foam::functionObjects::systemCall::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::systemCall::execute(const bool postProcess)
|
bool Foam::functionObjects::systemCall::execute()
|
||||||
{
|
{
|
||||||
forAll(executeCalls_, callI)
|
forAll(executeCalls_, callI)
|
||||||
{
|
{
|
||||||
@ -127,7 +127,7 @@ bool Foam::functionObjects::systemCall::end()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::systemCall::write(const bool postProcess)
|
bool Foam::functionObjects::systemCall::write()
|
||||||
{
|
{
|
||||||
forAll(writeCalls_, callI)
|
forAll(writeCalls_, callI)
|
||||||
{
|
{
|
||||||
|
@ -156,13 +156,13 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute the "executeCalls" at each time-step
|
//- Execute the "executeCalls" at each time-step
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Execute the "endCalls" at the final time-loop
|
//- Execute the "endCalls" at the final time-loop
|
||||||
virtual bool end();
|
virtual bool end();
|
||||||
|
|
||||||
//- Write, execute the "writeCalls"
|
//- Write, execute the "writeCalls"
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -131,10 +131,7 @@ bool Foam::functionObjects::timeActivatedFileUpdate::read
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::timeActivatedFileUpdate::execute
|
bool Foam::functionObjects::timeActivatedFileUpdate::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
updateFile();
|
updateFile();
|
||||||
|
|
||||||
@ -142,10 +139,7 @@ bool Foam::functionObjects::timeActivatedFileUpdate::execute
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::timeActivatedFileUpdate::write
|
bool Foam::functionObjects::timeActivatedFileUpdate::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -135,10 +135,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute file updates
|
//- Execute file updates
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -153,13 +153,13 @@ bool Foam::functionObjects::writeDictionary::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeDictionary::execute(const bool postProcess)
|
bool Foam::functionObjects::writeDictionary::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeDictionary::write(const bool postProcess)
|
bool Foam::functionObjects::writeDictionary::write()
|
||||||
{
|
{
|
||||||
bool firstDict = true;
|
bool firstDict = true;
|
||||||
forAll(dictNames_, i)
|
forAll(dictNames_, i)
|
||||||
|
@ -122,10 +122,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the selected dictionaries
|
//- Write the selected dictionaries
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -100,19 +100,13 @@ bool Foam::functionObjects::writeObjects::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeObjects::execute
|
bool Foam::functionObjects::writeObjects::execute()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::functionObjects::writeObjects::write
|
bool Foam::functionObjects::writeObjects::write()
|
||||||
(
|
|
||||||
const bool postProcess
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
Info<< type() << " " << name() << " write:" << nl;
|
Info<< type() << " " << name() << " write:" << nl;
|
||||||
|
|
||||||
|
@ -144,10 +144,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Do nothing
|
//- Do nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Write the registered objects
|
//- Write the registered objects
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ Foam::patchProbes::~patchProbes()
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::patchProbes::write(const bool postProcess)
|
bool Foam::patchProbes::write()
|
||||||
{
|
{
|
||||||
if (this->size() && prepare())
|
if (this->size() && prepare())
|
||||||
{
|
{
|
||||||
|
@ -154,7 +154,7 @@ public:
|
|||||||
//- Public members
|
//- Public members
|
||||||
|
|
||||||
//- Sample and write
|
//- Sample and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Read
|
//- Read
|
||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
@ -357,13 +357,13 @@ bool Foam::probes::read(const dictionary& dict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::probes::execute(const bool postProcess)
|
bool Foam::probes::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::probes::write(const bool postProcess)
|
bool Foam::probes::write()
|
||||||
{
|
{
|
||||||
if (size() && prepare())
|
if (size() && prepare())
|
||||||
{
|
{
|
||||||
|
@ -252,10 +252,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Sample and write
|
//- Sample and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Update for changes of mesh
|
//- Update for changes of mesh
|
||||||
virtual void updateMesh(const mapPolyMesh&);
|
virtual void updateMesh(const mapPolyMesh&);
|
||||||
|
@ -228,13 +228,13 @@ void Foam::sampledSets::verbose(const bool verbosity)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::sampledSets::execute(const bool postProcess)
|
bool Foam::sampledSets::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::sampledSets::write(const bool postProcess)
|
bool Foam::sampledSets::write()
|
||||||
{
|
{
|
||||||
if (size())
|
if (size())
|
||||||
{
|
{
|
||||||
|
@ -288,10 +288,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Sample and write
|
//- Sample and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Correct for mesh changes
|
//- Correct for mesh changes
|
||||||
void correct();
|
void correct();
|
||||||
|
@ -177,13 +177,13 @@ void Foam::sampledSurfaces::verbose(const bool verbosity)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::sampledSurfaces::execute(const bool postProcess)
|
bool Foam::sampledSurfaces::execute()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::sampledSurfaces::write(const bool postProcess)
|
bool Foam::sampledSurfaces::write()
|
||||||
{
|
{
|
||||||
if (size())
|
if (size())
|
||||||
{
|
{
|
||||||
|
@ -219,10 +219,10 @@ public:
|
|||||||
virtual bool read(const dictionary&);
|
virtual bool read(const dictionary&);
|
||||||
|
|
||||||
//- Execute, currently does nothing
|
//- Execute, currently does nothing
|
||||||
virtual bool execute(const bool postProcess = false);
|
virtual bool execute();
|
||||||
|
|
||||||
//- Sample and write
|
//- Sample and write
|
||||||
virtual bool write(const bool postProcess = false);
|
virtual bool write();
|
||||||
|
|
||||||
//- Update for changes of mesh - expires the surfaces
|
//- Update for changes of mesh - expires the surfaces
|
||||||
virtual void updateMesh(const mapPolyMesh&);
|
virtual void updateMesh(const mapPolyMesh&);
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user