Signal handler to write once and continue. The interrupt is defined by OptimisationSwitches::writeNowSignal. More...
Public Member Functions | |
sigWriteNow () | |
Construct null. More... | |
sigWriteNow (Time &runTime, bool verbose=false) | |
Construct from components. More... | |
~sigWriteNow () | |
Destructor. More... | |
Static Public Member Functions | |
static bool | active () |
Is active? More... | |
static int | signalNumber () |
The signal number being used. More... | |
static void | set (bool verbose=false) |
Set/reset signal handler. More... | |
Friends | |
class | addwriteNowSignalToOpt |
Allow setter access to signal_. More... | |
Signal handler to write once and continue. The interrupt is defined by OptimisationSwitches::writeNowSignal.
Definition at line 49 of file sigWriteNow.H.
sigWriteNow | ( | ) |
Construct null.
Definition at line 99 of file sigWriteNow.C.
sigWriteNow | ( | Time & | runTime, |
bool | verbose = false |
||
) |
Construct from components.
Definition at line 103 of file sigWriteNow.C.
References runTime, and runTimePtr_.
~sigWriteNow | ( | ) |
Destructor.
Definition at line 112 of file sigWriteNow.C.
References Foam::resetHandler().
|
static |
Is active?
Definition at line 125 of file sigWriteNow.C.
|
static |
The signal number being used.
Definition at line 131 of file sigWriteNow.C.
Referenced by sigStopAtWriteNow::set().
|
static |
Set/reset signal handler.
Definition at line 137 of file sigWriteNow.C.
References Foam::Info, Foam::nl, and Foam::setHandler().
Referenced by addwriteNowSignalToOpt::readData().
|
friend |
Allow setter access to signal_.
Definition at line 72 of file sigWriteNow.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.