faunus
Public Member Functions | Public Attributes | List of all members
Faunus::MetropolisMonteCarlo::State Struct Reference

Class to describe a system state. More...

#include <montecarlo.h>

Public Member Functions

void sync (const State &other, const Change &change)
 Sync with another state (the other state is not modified)
 

Public Attributes

std::unique_ptr< Spacespc
 Simulation space (positions, geometry, molecules)
 
std::unique_ptr< Energy::Hamiltonianpot
 Hamiltonian for calc. potential energy.
 

Detailed Description

Class to describe a system state.

The state stores:

A MC simulation consists of two states, the "default", old state and the "trial" state. Moves operate directly on the latter. After the move, the two states can be synchronized using the sync() function.


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