Gromacs
2020-beta1
|
#include <gromacs/mdlib/stophandler.h>
Class setting the stop signal based on gmx_get_stop_condition()
Master rank sets the stop signal if required (generally due to SIGINT).
Public Member Functions | |
StopConditionSignal (int nstList, bool makeBinaryReproducibleSimulation, int nstSignalComm) | |
StopConditionSignal constructor. | |
StopSignal | getSignal (FILE *fplog) |
Decides whether a stopping signal needs to be set. More... | |
StopSignal gmx::StopConditionSignal::getSignal | ( | FILE * | fplog | ) |
Decides whether a stopping signal needs to be set.
Stop signal is set based on the value of gmx_get_stop_condition(): Set signal for stop at the next neighbor-searching step at first SIGINT / SIGTERM, set signal for stop at the next step at second SIGINT / SIGTERM.