SSAGES
0.1
A MetaDynamics Package
|
Base abstract class for listening in to events fired by "Hook". More...
#include <EventListener.h>
Public Member Functions | |
EventListener (uint frequency) | |
Constructor. More... | |
uint | GetFrequency () const |
Get frequency of event listener. More... | |
virtual void | PreSimulation (Snapshot *snapshot, const class CVManager &cvmanager)=0 |
Method call prior to simulation initiation. More... | |
virtual void | PostIntegration (Snapshot *snapshot, const class CVManager &cvmanager)=0 |
Method call post integration. More... | |
virtual void | PostSimulation (Snapshot *snapshot, const class CVManager &cvmanager)=0 |
Method call post simulation. More... | |
virtual | ~EventListener () |
Destructor. | |
Private Attributes | |
uint | frequency_ |
Frequency for listening. | |
Base abstract class for listening in to events fired by "Hook".
Definition at line 34 of file EventListener.h.
|
inline |
Constructor.
frequency | Frequency for listening. |
Definition at line 44 of file EventListener.h.
|
inline |
Get frequency of event listener.
Definition at line 53 of file EventListener.h.
References frequency_.
|
pure virtual |
Method call post integration.
snapshot | Pointer to the simulation snapshot. |
cvmanager | Collective variable manager. |
This function will be called at the end of each integration step.
Implemented in SSAGES::ForwardFlux, SSAGES::Basis, SSAGES::ABF, SSAGES::StringMethod, SSAGES::Meta, SSAGES::Umbrella, SSAGES::Swarm, SSAGES::FiniteTempString, SSAGES::ElasticBand, SSAGES::Logger, SSAGES::Method, and SSAGES::DirectForwardFlux.
|
pure virtual |
Method call post simulation.
snapshot | Pointer to the simulation snapshot. |
cvmanager | Collective variable manager. |
This function will be called after the simulation has finished.
Implemented in SSAGES::ForwardFlux, SSAGES::Basis, SSAGES::ABF, SSAGES::StringMethod, SSAGES::Meta, SSAGES::Umbrella, SSAGES::Logger, and SSAGES::Method.
|
pure virtual |
Method call prior to simulation initiation.
snapshot | Pointer to the simulation snapshot. |
cvmanager | Collective variable manager. |
This function will be called before the simulation is started.
Implemented in SSAGES::ForwardFlux, SSAGES::Basis, SSAGES::ABF, SSAGES::StringMethod, SSAGES::Meta, SSAGES::Umbrella, SSAGES::Logger, and SSAGES::Method.