Utility postProcess is modified to be used in Version 1.0

- counting dictionary is added to postProcess
- Code need to be modified to cleaned (fields in the repository should be removed onces postProcess is passed the next time step)
This commit is contained in:
HRN
2024-11-18 20:27:44 +03:30
parent d3ccf354b7
commit 75fba2710e
28 changed files with 959 additions and 216 deletions

View File

@ -74,7 +74,7 @@ int main(int argc, char** argv )
#include "initialize_Control.hpp"
pFlow::postprocess post(Control);
// time folders in case
timeFolder folders(Control);
@ -93,12 +93,16 @@ int main(int argc, char** argv )
pFlow::fileSystem destFolder = pFlow::fileSystem(outFolder);
pFlow::postprocess post(Control);
do
{
if( !validRange.isMember( folders.time() ) )continue;
if( !validRange.isMember( folders.time() ) )
{
continue;
}
if( !withZeroFolder && pFlow::equal(folders.time() , 0.0))continue;
post.processTimeFolder(folders);
@ -106,9 +110,10 @@ int main(int argc, char** argv )
if(!post.writeToVTK(destFolder, "processed"))
{
fatalExit;
}
}
}while (folders++);
#include "finalize.hpp"