votca 2024.2-dev
Loading...
Searching...
No Matches
votca::csg::IBond Class Reference

bond interaction More...

#include <interaction.h>

Inheritance diagram for votca::csg::IBond:
Collaboration diagram for votca::csg::IBond:

Public Member Functions

 IBond (Index bead1, Index bead2)
 
 IBond (std::list< Index > &beads)
 
double EvaluateVar (const Topology &top) override
 
Eigen::Vector3d Grad (const Topology &top, Index bead) override
 
- Public Member Functions inherited from votca::csg::Interaction
 Interaction ()=default
 
virtual ~Interaction ()=default
 
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 IndexgetIndex () const
 
void setMolecule (const Index &mol)
 
const IndexgetMolecule () const
 
Index BeadCount () const
 
Index getBeadId (Index bead) const
 

Additional Inherited Members

- Protected Member Functions inherited from votca::csg::Interaction
void RebuildName ()
 
- Protected Attributes inherited from votca::csg::Interaction
Index index_ = -1
 
std::string group_ = ""
 
Index group_id_ = -1
 
std::string name_ = ""
 
Index mol_ = -1
 
std::vector< Indexbeads_
 

Detailed Description

bond interaction

Definition at line 127 of file interaction.h.

Constructor & Destructor Documentation

◆ IBond() [1/2]

votca::csg::IBond::IBond ( Index bead1,
Index bead2 )
inline

Definition at line 129 of file interaction.h.

◆ IBond() [2/2]

votca::csg::IBond::IBond ( std::list< Index > & beads)
inline

Definition at line 135 of file interaction.h.

Member Function Documentation

◆ EvaluateVar()

double votca::csg::IBond::EvaluateVar ( const Topology & top)
inlineoverridevirtual

Implements votca::csg::Interaction.

Definition at line 202 of file interaction.h.

◆ Grad()

Eigen::Vector3d votca::csg::IBond::Grad ( const Topology & top,
Index bead )
inlineoverridevirtual

Implements votca::csg::Interaction.

Definition at line 206 of file interaction.h.


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