mcpele  1.0.0
The Monte Carlo Python Energy Landscape Explorer
 All Classes Namespaces Functions Variables Typedefs
Public Member Functions
mcpele::ParticlePairSwap Class Reference

#include <particle_pair_swap.h>

Inheritance diagram for mcpele::ParticlePairSwap:
mcpele::TakeStep

List of all members.

Public Member Functions

virtual ~ParticlePairSwap ()
 ParticlePairSwap (const size_t seed, const size_t nr_particles)
void displace (pele::Array< double > &coords, MC *mc)
void swap_coordinates (const size_t particle_a, const size_t particle_b, pele::Array< double > &coords)
size_t get_seed () const
void set_generator_seed (const size_t inp)

Detailed Description

Definition at line 10 of file particle_pair_swap.h.


Constructor & Destructor Documentation

virtual mcpele::ParticlePairSwap::~ParticlePairSwap ( ) [inline, virtual]

Definition at line 17 of file particle_pair_swap.h.

mcpele::ParticlePairSwap::ParticlePairSwap ( const size_t  seed,
const size_t  nr_particles 
)

Definition at line 5 of file particle_pair_swap.cpp.


Member Function Documentation

void mcpele::ParticlePairSwap::displace ( pele::Array< double > &  coords,
MC mc 
) [virtual]

Implements mcpele::TakeStep.

Definition at line 16 of file particle_pair_swap.cpp.

size_t mcpele::ParticlePairSwap::get_seed ( ) const [inline]

Definition at line 21 of file particle_pair_swap.h.

Definition at line 43 of file particle_pair_swap.cpp.

void mcpele::ParticlePairSwap::swap_coordinates ( const size_t  particle_a,
const size_t  particle_b,
pele::Array< double > &  coords 
)

Definition at line 29 of file particle_pair_swap.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs