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

#include <morse.h>

List of all members.

Public Member Functions

 morse_interaction (double rho, double r0, double A)
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 _A
double const _rho
double const _r0

Detailed Description

Define a pairwise interaction for morse with a cutoff. The potential goes is continuous but not smooth.

Definition at line 19 of file morse.h.


Constructor & Destructor Documentation

pele::morse_interaction::morse_interaction ( double  rho,
double  r0,
double  A 
) [inline]

Definition at line 23 of file morse.h.


Member Function Documentation

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

Definition at line 28 of file morse.h.

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

Definition at line 36 of file morse.h.

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

Definition at line 44 of file morse.h.


Member Data Documentation

Definition at line 20 of file morse.h.

Definition at line 22 of file morse.h.

Definition at line 21 of file morse.h.


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