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

#include <interaction.hpp>

Inheritance diagram for FixedForceRegionAtom:
AtomID AtomRef

Public Member Functions

 FixedForceRegionAtom (AtomID a, Vec direction, vector< flt > boundaries, vector< flt > Fs)
 
flt energy (Box &box)
 
void set_force (Box &box)
 
- Public Member Functions inherited from AtomID
 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)
 
Atomoperator* () const
 
Atomoperator-> () 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 ()
 

Public Attributes

Vec direction
 
vector< fltboundaries
 
vector< fltFs
 

Constructor & Destructor Documentation

FixedForceRegionAtom::FixedForceRegionAtom ( AtomID  a,
Vec  direction,
vector< flt boundaries,
vector< flt Fs 
)

Member Function Documentation

flt FixedForceRegionAtom::energy ( Box box)
void FixedForceRegionAtom::set_force ( Box box)

Member Data Documentation

vector<flt> FixedForceRegionAtom::boundaries
Vec FixedForceRegionAtom::direction
vector<flt> FixedForceRegionAtom::Fs

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