ParM  parm
A molecular dynamics library
Public Member Functions | Public Attributes | List of all members
FixedSpringAtom Struct Reference

#include <interaction.hpp>

Public Member Functions

 FixedSpringAtom (AtomID a, Vec loc, flt k, bool usex=true, bool usey=true, bool usez=true)
 
flt energy (Box &box)
 
void set_force (Box &box)
 

Public Attributes

Vec loc
 
flt k
 
bool usecoord [3]
 
AtomID a
 

Constructor & Destructor Documentation

FixedSpringAtom::FixedSpringAtom ( AtomID  a,
Vec  loc,
flt  k,
bool  usex = true,
bool  usey = true,
bool  usez = true 
)
inline

Member Function Documentation

flt FixedSpringAtom::energy ( Box box)
inline
void FixedSpringAtom::set_force ( Box box)
inline

Member Data Documentation

AtomID FixedSpringAtom::a
flt FixedSpringAtom::k
Vec FixedSpringAtom::loc
bool FixedSpringAtom::usecoord[3]

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