ENH: timeInfo function object (#1320)

- records execution and wallclock times to postProcessing/
  which can be more convenient than parsing a log file.
This commit is contained in:
Mark Olesen
2019-05-15 09:21:45 +01:00
parent ab991e57fe
commit 11ad82f84a
5 changed files with 309 additions and 0 deletions

View File

@ -49,6 +49,7 @@ functions
{
#include "coordinateTransform"
#include "momentum"
#include "timeInfo"
}

View File

@ -0,0 +1,15 @@
// -*- C++ -*-
// Record execution/clock time
time
{
type timeInfo;
libs ("libutilityFunctionObjects.so");
log true;
// writeToFile true;
perTimeStep true;
}
// ************************************************************************* //