pele
Python energy landscape explorer
 All Classes Namespaces Functions Variables Typedefs
Public Member Functions | Public Attributes | Static Public Attributes
pele::periodic_distance< ndim > Class Template Reference

#include <distance.h>

List of all members.

Public Member Functions

 periodic_distance (Array< double > const box)
 periodic_distance ()
void get_rij (double *const r_ij, double const *const r1, double const *const r2) const
void put_in_box (Array< double > &coords) const

Public Attributes

double _box [ndim]
double _ibox [ndim]

Static Public Attributes

static const size_t _ndim = ndim

Detailed Description

template<size_t ndim>
class pele::periodic_distance< ndim >

Definition at line 135 of file distance.h.


Constructor & Destructor Documentation

template<size_t ndim>
pele::periodic_distance< ndim >::periodic_distance ( Array< double > const  box) [inline]

Definition at line 141 of file distance.h.

template<size_t ndim>
pele::periodic_distance< ndim >::periodic_distance ( ) [inline]

Definition at line 152 of file distance.h.


Member Function Documentation

template<size_t ndim>
void pele::periodic_distance< ndim >::get_rij ( double *const  r_ij,
double const *const  r1,
double const *const  r2 
) const [inline]

Definition at line 157 of file distance.h.

template<size_t ndim>
void pele::periodic_distance< ndim >::put_in_box ( Array< double > &  coords) const [inline]

Definition at line 164 of file distance.h.


Member Data Documentation

template<size_t ndim>
double pele::periodic_distance< ndim >::_box[ndim]

Definition at line 138 of file distance.h.

template<size_t ndim>
double pele::periodic_distance< ndim >::_ibox[ndim]

Definition at line 139 of file distance.h.

template<size_t ndim>
const size_t pele::periodic_distance< ndim >::_ndim = ndim [static]

Definition at line 137 of file distance.h.


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