mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -49,6 +49,7 @@ functions
|
||||
{
|
||||
#include "coordinateTransform"
|
||||
#include "momentum"
|
||||
#include "timeInfo"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,15 @@
|
||||
// -*- C++ -*-
|
||||
// Record execution/clock time
|
||||
time
|
||||
{
|
||||
type timeInfo;
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
log true;
|
||||
|
||||
// writeToFile true;
|
||||
|
||||
perTimeStep true;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user