Chemical Data Processing Library C++ API - Version 1.1.1
Public Member Functions | List of all members
CDPL::ForceField::ElasticPotential Class Reference

#include <ElasticPotential.hpp>

Public Member Functions

 ElasticPotential (std::size_t atom1_idx, std::size_t atom2_idx, double force_const, double ref_length)
 
std::size_t getAtom1Index () const
 
std::size_t getAtom2Index () const
 
double getForceConstant () const
 
double getReferenceLength () const
 
void setReferenceLength (double length)
 

Constructor & Destructor Documentation

◆ ElasticPotential()

CDPL::ForceField::ElasticPotential::ElasticPotential ( std::size_t  atom1_idx,
std::size_t  atom2_idx,
double  force_const,
double  ref_length 
)
inline

Member Function Documentation

◆ getAtom1Index()

std::size_t CDPL::ForceField::ElasticPotential::getAtom1Index ( ) const
inline

◆ getAtom2Index()

std::size_t CDPL::ForceField::ElasticPotential::getAtom2Index ( ) const
inline

◆ getForceConstant()

double CDPL::ForceField::ElasticPotential::getForceConstant ( ) const
inline

◆ getReferenceLength()

double CDPL::ForceField::ElasticPotential::getReferenceLength ( ) const
inline

◆ setReferenceLength()

void CDPL::ForceField::ElasticPotential::setReferenceLength ( double  length)
inline

The documentation for this class was generated from the following file: