OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::CutoffGroupStamp Class Reference

#include <CutoffGroupStamp.hpp>

Inheritance diagram for OpenMD::CutoffGroupStamp:

Public Member Functions

 CutoffGroupStamp ()
int getMemberAt (int index)
int getNMembers ()
std::vector< int > getMembers ()
bool setMembers (const std::vector< int > &members)
virtual void validate ()
- Public Member Functions inherited from OpenMD::DataHolder
 DataHolder ()
virtual ~DataHolder ()
template<class T >
void assign (const std::string &keyword, T val)

Private Attributes

std::vector< int > members_

Additional Inherited Members

- Protected Types inherited from OpenMD::DataHolder
typedef std::map< std::string, ParameterBase * > ParamMap
- Protected Attributes inherited from OpenMD::DataHolder
ParamMap parameters_
std::set< std::string > deprecatedKeywords_

Detailed Description

Definition at line 47 of file CutoffGroupStamp.hpp.

Constructor & Destructor Documentation

◆ CutoffGroupStamp()

OpenMD::CutoffGroupStamp::CutoffGroupStamp ( )

Definition at line 50 of file CutoffGroupStamp.cpp.

References OpenMD::DataHolder::deprecatedKeywords_.

Member Function Documentation

◆ getMemberAt()

int OpenMD::CutoffGroupStamp::getMemberAt ( int  index)

Definition at line 50 of file CutoffGroupStamp.hpp.

References members_.

Referenced by OpenMD::MoleculeCreator::createCutoffGroup().

◆ getMembers()

std::vector<int> OpenMD::CutoffGroupStamp::getMembers ( )

Definition at line 52 of file CutoffGroupStamp.hpp.

References members_.

Referenced by OpenMD::MoleculeStamp::checkCutoffGroups().

◆ getNMembers()

int OpenMD::CutoffGroupStamp::getNMembers ( )

◆ setMembers()

bool OpenMD::CutoffGroupStamp::setMembers ( const std::vector< int > &  members)

Definition at line 53 of file CutoffGroupStamp.hpp.

References members_, and validate().

Referenced by MDTreeParser::cutoffgroupstatement().

◆ validate()

void OpenMD::CutoffGroupStamp::validate ( )

Reimplemented from OpenMD::DataHolder.

Definition at line 54 of file CutoffGroupStamp.cpp.

References OpenMD::DataHolder::validate().

Referenced by setMembers().

Member Data Documentation

◆ members_

std::vector<int> OpenMD::CutoffGroupStamp::members_

Definition at line 59 of file CutoffGroupStamp.hpp.

Referenced by getMemberAt(), getMembers(), getNMembers(), and setMembers().

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