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

#include <gaussian_coords_displacement.h>

Inheritance diagram for mcpele::GaussianCoordsDisplacement:
mcpele::TakeStep

List of all members.

Public Member Functions

 GaussianCoordsDisplacement (const size_t rseed, const double stepsize)
virtual ~GaussianCoordsDisplacement ()
virtual void displace (pele::Array< double > &coords, MC *mc)
size_t get_seed () const
void set_generator_seed (const size_t inp)
double expected_mean () const
double expected_variance (const double ss) const
double get_stepsize () const
void set_stepsize (const double input)
size_t get_count () const

Protected Attributes

size_t m_seed
double m_mean
double m_stdev
std::mt19937_64 m_generator
std::normal_distribution< double > m_distribution
double m_stepsize
size_t m_count

Detailed Description

Uniform Gaussian step this step samples first from the standard normal N(0, 1) and outputs a random variate sampled from N(0, stepsize)

Definition at line 15 of file gaussian_coords_displacement.h.


Constructor & Destructor Documentation

mcpele::GaussianCoordsDisplacement::GaussianCoordsDisplacement ( const size_t  rseed,
const double  stepsize 
)

Definition at line 5 of file gaussian_coords_displacement.cpp.

Definition at line 26 of file gaussian_coords_displacement.h.


Member Function Documentation

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

Implements mcpele::TakeStep.

Definition at line 19 of file gaussian_coords_displacement.cpp.

Definition at line 30 of file gaussian_coords_displacement.h.

double mcpele::GaussianCoordsDisplacement::expected_variance ( const double  ss) const [inline]

Definition at line 37 of file gaussian_coords_displacement.h.

Definition at line 28 of file gaussian_coords_displacement.h.

Definition at line 35 of file gaussian_coords_displacement.h.

void mcpele::GaussianCoordsDisplacement::set_generator_seed ( const size_t  inp) [inline]

Definition at line 29 of file gaussian_coords_displacement.h.

void mcpele::GaussianCoordsDisplacement::set_stepsize ( const double  input) [inline]

Definition at line 36 of file gaussian_coords_displacement.h.


Member Data Documentation

Definition at line 23 of file gaussian_coords_displacement.h.

std::normal_distribution<double> mcpele::GaussianCoordsDisplacement::m_distribution [protected]

Definition at line 21 of file gaussian_coords_displacement.h.

Definition at line 20 of file gaussian_coords_displacement.h.

Definition at line 18 of file gaussian_coords_displacement.h.

Definition at line 17 of file gaussian_coords_displacement.h.

Definition at line 19 of file gaussian_coords_displacement.h.

Definition at line 22 of file gaussian_coords_displacement.h.


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