mcpele  1.0.0
The Monte Carlo Python Energy Landscape Explorer
 All Classes Namespaces Functions Variables Typedefs
Public Member Functions | Public Attributes
pele::harmonic_interaction Struct Reference

#include <harmonic.h>

List of all members.

Public Member Functions

 harmonic_interaction (double k)
double energy (double r2, size_t atom_i, size_t atom_j) const
double energy_gradient (double r2, double *gij, size_t atom_i, size_t atom_j) const
double energy_gradient_hessian (double r2, double *gij, double *hij, size_t atom_i, size_t atom_j) const

Public Attributes

double const m_k

Detailed Description

Definition at line 115 of file harmonic.h.


Constructor & Destructor Documentation

Definition at line 117 of file harmonic.h.


Member Function Documentation

double pele::harmonic_interaction::energy ( double  r2,
size_t  atom_i,
size_t  atom_j 
) const [inline]

Definition at line 122 of file harmonic.h.

double pele::harmonic_interaction::energy_gradient ( double  r2,
double *  gij,
size_t  atom_i,
size_t  atom_j 
) const [inline]

Definition at line 128 of file harmonic.h.

double pele::harmonic_interaction::energy_gradient_hessian ( double  r2,
double *  gij,
double *  hij,
size_t  atom_i,
size_t  atom_j 
) const [inline]

Definition at line 134 of file harmonic.h.


Member Data Documentation

Definition at line 116 of file harmonic.h.


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