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

#include <beadlist.h>

Collaboration diagram for votca::csg::BeadList:

Public Types

using iterator = typename std::vector<Bead *>::iterator
 

Public Member Functions

Index Generate (Topology &top, const std::string &select)
 Select all beads of type "select".
 
Index GenerateInSphericalSubvolume (Topology &top, const std::string &select, Eigen::Vector3d ref, double radius)
 Select all beads of type "select" withn a radius "radius" of reference vector "ref".
 
Index size () const
 
bool empty () const
 
void push_back (Bead *bead)
 
iterator begin ()
 
iterator end ()
 
const TopologygetTopology () const
 

Private Attributes

std::vector< Bead * > beads_
 
Topologytopology_ = nullptr
 

Detailed Description

Definition at line 43 of file beadlist.h.

Member Typedef Documentation

◆ iterator

using votca::csg::BeadList::iterator = typename std::vector<Bead *>::iterator

Definition at line 58 of file beadlist.h.

Member Function Documentation

◆ begin()

iterator votca::csg::BeadList::begin ( )
inline

Definition at line 60 of file beadlist.h.

◆ empty()

bool votca::csg::BeadList::empty ( ) const
inline

Definition at line 54 of file beadlist.h.

◆ end()

iterator votca::csg::BeadList::end ( )
inline

Definition at line 61 of file beadlist.h.

◆ Generate()

Index votca::csg::BeadList::Generate ( Topology & top,
const std::string & select )

Select all beads of type "select".

Definition at line 30 of file beadlist.cc.

◆ GenerateInSphericalSubvolume()

Index votca::csg::BeadList::GenerateInSphericalSubvolume ( Topology & top,
const std::string & select,
Eigen::Vector3d ref,
double radius )

Select all beads of type "select" withn a radius "radius" of reference vector "ref".

Definition at line 57 of file beadlist.cc.

◆ getTopology()

const Topology & votca::csg::BeadList::getTopology ( ) const
inline

Definition at line 63 of file beadlist.h.

◆ push_back()

void votca::csg::BeadList::push_back ( Bead * bead)
inline

Definition at line 56 of file beadlist.h.

◆ size()

Index votca::csg::BeadList::size ( ) const
inline

Definition at line 52 of file beadlist.h.

Member Data Documentation

◆ beads_

std::vector<Bead *> votca::csg::BeadList::beads_
private

Definition at line 66 of file beadlist.h.

◆ topology_

Topology* votca::csg::BeadList::topology_ = nullptr
private

Definition at line 67 of file beadlist.h.


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