faunus
Public Member Functions | Protected Member Functions | List of all members
Faunus::move::ReplayMove Class Reference

Replay simulation from a trajectory. More...

#include <move.h>

Inheritance diagram for Faunus::move::ReplayMove:
Inheritance graph
[legend]
Collaboration diagram for Faunus::move::ReplayMove:
Collaboration graph
[legend]

Public Member Functions

 ReplayMove (Space &spc)
 
- Public Member Functions inherited from Faunus::move::Move
void from_json (const json &j)
 
void to_json (json &j) const
 JSON report w. statistics, output etc.
 
void move (Change &change)
 Perform move and modify given change object.
 
void accept (Change &change)
 
void reject (Change &change)
 
void setRepeat (int repeat)
 
 Move (Space &spc, std::string_view name, std::string_view cite)
 
bool isStochastic () const
 True if move should be called stochastically.
 
const std::string & getName () const
 

Protected Member Functions

 ReplayMove (Space &spc, const std::string &name, const std::string &cite)
 

Additional Inherited Members

- Static Public Attributes inherited from Faunus::move::Move
static Random slump
 Shared for all moves.
 
- Protected Attributes inherited from Faunus::move::Move
const std::string name
 Name of move.
 
Spacespc
 Space to operate on.
 
int repeat = 1
 
unsigned long number_of_attempted_moves = 0
 Counter for total number of move attempts.
 

Detailed Description

Replay simulation from a trajectory.

Particles' positions are updated in every step based on coordinates read from the trajectory. Currently only XTCReader is supported.


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