controlDict: the optional graphFormat entry is now used as the default for all setFormat entries
Foam::graph superseded by the more general Foam::setWriter reducing code maintenance overhead, simplifying usage and further development.
This commit is contained in:
@ -32,11 +32,10 @@ Description
|
||||
|
||||
#include "argList.H"
|
||||
#include "volFields.H"
|
||||
#include "graph.H"
|
||||
#include "OFstream.H"
|
||||
#include "Kmesh.H"
|
||||
#include "turbGen.H"
|
||||
#include "calcEk.H"
|
||||
#include "writeEk.H"
|
||||
#include "writeFile.H"
|
||||
|
||||
using namespace Foam;
|
||||
@ -70,15 +69,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
U.write();
|
||||
|
||||
calcEk(U, K).write
|
||||
(
|
||||
runTime.path()
|
||||
/functionObjects::writeFile::outputPrefix
|
||||
/"graphs"
|
||||
/runTime.name(),
|
||||
"Ek",
|
||||
runTime.graphFormat()
|
||||
);
|
||||
writeEk(U, K);
|
||||
|
||||
Info<< "end" << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user