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

#include <interaction.hpp>

Public Member Functions

 BondGrouping (flt k, flt x0, AtomID a1, AtomID a2, BondDiffType diff=UNBOXED, OriginBox *box=NULL)
 
Vec diff (Box &box) const
 
int get_fixed (uint i)
 
bool same_atoms (BondGrouping &other)
 

Public Attributes

flt k
 
flt x0
 
AtomID a1
 
AtomID a2
 
BondDiffType diff_type
 
array< int, NDIMfixed_box
 

Constructor & Destructor Documentation

BondGrouping::BondGrouping ( flt  k,
flt  x0,
AtomID  a1,
AtomID  a2,
BondDiffType  diff = UNBOXED,
OriginBox box = NULL 
)

Member Function Documentation

Vec BondGrouping::diff ( Box box) const
int BondGrouping::get_fixed ( uint  i)
inline
bool BondGrouping::same_atoms ( BondGrouping other)
inline

Member Data Documentation

AtomID BondGrouping::a1
AtomID BondGrouping::a2
BondDiffType BondGrouping::diff_type
array<int,NDIM> BondGrouping::fixed_box
flt BondGrouping::k
flt BondGrouping::x0

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