ParM
parm
A molecular dynamics library
|
A pointer to an Atom, that also knows its own index in an AtomVec. More...
#include <box.hpp>
Public Member Functions | |
AtomID () | |
Constructor not recommended: uses UINT_MAX for number, i.e. unknown. More... | |
AtomID (Atom *a, uint n) | |
Recommended constructor. More... | |
uint | n () const |
Public Member Functions inherited from AtomRef | |
AtomRef () | |
AtomRef (Atom *a) | |
Atom & | operator* () const |
Atom * | operator-> () const |
bool | operator== (const AtomRef &other) const |
bool | operator== (const Atom *other) const |
bool | operator!= (const AtomRef &other) const |
bool | operator< (const AtomRef &other) const |
bool | operator<= (const AtomRef &other) const |
bool | operator>= (const AtomRef &other) const |
bool | operator> (const AtomRef &other) const |
bool | is_null () |
A pointer to an Atom, that also knows its own index in an AtomVec.
This is used in many Interaction classes to compair atoms.
|
inline |
Constructor not recommended: uses UINT_MAX for number, i.e. unknown.
|
inline |