mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: limit file checks in the abort function object to the master process
- do not recheck the abort after it has been triggered once. This reduces the output clutter and file checks.
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
// OpenFOAM dictionary -*- C++ -*-
|
||||
|
||||
ABORT
|
||||
{
|
||||
type abort;
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
//file "$FOAM_CASE/ABORT"; // default name
|
||||
// action writeNow;
|
||||
action nextWrite;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -59,6 +59,7 @@ writeInterval 100;
|
||||
|
||||
functions
|
||||
{
|
||||
#include "abort"
|
||||
#include "scalarTransport"
|
||||
#include "sampling"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user