votca 2024.2-dev
|
base class for all interactions More...
#include <interaction.h>
Public Member Functions | |
Interaction ()=default | |
virtual | ~Interaction ()=default |
virtual double | EvaluateVar (const Topology &top)=0 |
std::string | getName () const |
void | setGroup (const std::string &group) |
const std::string & | getGroup () const |
Index | getGroupId () |
void | setGroupId (Index id) |
void | setIndex (const Index &index) |
const Index & | getIndex () const |
void | setMolecule (const Index &mol) |
const Index & | getMolecule () const |
virtual Eigen::Vector3d | Grad (const Topology &top, Index bead)=0 |
Index | BeadCount () const |
Index | getBeadId (Index bead) const |
Protected Member Functions | |
void | RebuildName () |
Protected Attributes | |
Index | index_ = -1 |
std::string | group_ = "" |
Index | group_id_ = -1 |
std::string | name_ = "" |
Index | mol_ = -1 |
std::vector< Index > | beads_ |
base class for all interactions
This is the base class for all interactions.
Definition at line 40 of file interaction.h.
|
default |
|
virtualdefault |
|
inline |
Definition at line 86 of file interaction.h.
|
pure virtual |
Implemented in votca::csg::IAngle, votca::csg::IBond, and votca::csg::IDihedral.
Definition at line 87 of file interaction.h.
|
inline |
Definition at line 53 of file interaction.h.
|
inline |
Definition at line 61 of file interaction.h.
|
inline |
Definition at line 71 of file interaction.h.
|
inline |
Definition at line 80 of file interaction.h.
|
inline |
Definition at line 47 of file interaction.h.
|
pure virtual |
Implemented in votca::csg::IAngle, votca::csg::IBond, and votca::csg::IDihedral.
|
inlineprotected |
Definition at line 103 of file interaction.h.
|
inline |
Definition at line 49 of file interaction.h.
|
inline |
Definition at line 65 of file interaction.h.
|
inline |
Definition at line 67 of file interaction.h.
|
inline |
Definition at line 76 of file interaction.h.
|
protected |
Definition at line 98 of file interaction.h.
|
protected |
Definition at line 94 of file interaction.h.
|
protected |
Definition at line 95 of file interaction.h.
|
protected |
Definition at line 93 of file interaction.h.
|
protected |
Definition at line 97 of file interaction.h.
|
protected |
Definition at line 96 of file interaction.h.