Gromacs  2021.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Friends
gmx::TrajectorySignaller Class Referencefinal

#include <gromacs/modularsimulator/signallers.h>

+ Inheritance diagram for gmx::TrajectorySignaller:
+ Collaboration diagram for gmx::TrajectorySignaller:


Element signalling trajectory writing.

During signalling phase, it checks whether the current step is a writing step for either the energy or the state (position, velocity, forces) trajectory. It then notifies the signaller clients of the upcoming step.

The TrajectorySignaller works in close collaboration with the TrajectoryElement which does the actual trajectory writing during the simulation step.

Public Types

typedef ITrajectorySignallerClient Client
 Define client type.

Public Member Functions

void setup () override
 Prepare signaller. More...
void signal (Step step, Time time) override
 Run the signaller at a specific step / time. More...
- Public Member Functions inherited from gmx::ISignaller
virtual ~ISignaller ()=default
 Standard virtual destructor.
- Public Member Functions inherited from gmx::ILastStepSignallerClient
virtual ~ILastStepSignallerClient ()=default
 Standard virtual destructor.


class SignallerBuilder< TrajectorySignaller >
 Allow builder to construct.

Additional Inherited Members

Member Function Documentation

void gmx::TrajectorySignaller::setup ( )

Prepare signaller.

Check that necessary registration was done

Implements gmx::ISignaller.

void gmx::TrajectorySignaller::signal ( Step  step,
Time  time 

Run the signaller at a specific step / time.

Informs clients when energy or state will be written.

stepThe current time step
timeThe current time

Implements gmx::ISignaller.

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