Gromacs  2025-dev-20241008-cf8b9ef
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::StopConditionSignal Class Referencefinal

#include <gromacs/mdlib/stophandler.h>

Description

Class setting the stop signal based on gmx_get_stop_condition()

Main 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...
 

Member Function Documentation

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.


The documentation for this class was generated from the following files: