29 #ifndef CDPL_FORCEFIELD_ELASTICPOTENTIAL_HPP
30 #define CDPL_FORCEFIELD_ELASTICPOTENTIAL_HPP
48 ElasticPotential(std::size_t atom1_idx, std::size_t atom2_idx,
double force_const,
double ref_length):
49 atom1Idx(atom1_idx), atom2Idx(atom2_idx), forceConst(force_const), refLength(ref_length) {}
Definition: ElasticPotential.hpp:45
ElasticPotential(std::size_t atom1_idx, std::size_t atom2_idx, double force_const, double ref_length)
Definition: ElasticPotential.hpp:48
std::size_t getAtom2Index() const
Definition: ElasticPotential.hpp:56
std::size_t getAtom1Index() const
Definition: ElasticPotential.hpp:51
double getForceConstant() const
Definition: ElasticPotential.hpp:61
double getReferenceLength() const
Definition: ElasticPotential.hpp:66
void setReferenceLength(double length)
Definition: ElasticPotential.hpp:71
VectorNorm2< E >::ResultType length(const VectorExpression< E > &e)
Definition: VectorExpression.hpp:553
The namespace of the Chemical Data Processing Library.