Simpatico  v1.10
List of all members | Public Member Functions
McMd::Mask Class Reference

Detailed Description

Set of Atoms for which pair interactions with a target Atom are "masked".

An Mask stores identifiers for a set of Atoms for which the non-bonded pair interactions with a single target atom are suppressed, or "masked". Each Mask object is associated with one target Atom.

A Mask could, for example, contain all atoms that are directly connected to the target atom by 2-body covalent bonds.

Definition at line 28 of file mcMd/chemistry/Mask.h.

#include <Mask.h>

Public Member Functions

 Mask ()
 Constructor. More...
 
void clear ()
 Clear the mask set (remove all atoms). More...
 
void append (const Atom &atom)
 Add an Atom to the masked set. More...
 
bool isMasked (const Atom &atom) const
 True if the atom is in the masked set for the target Atom. More...
 
int size () const
 Return the number of masked atoms. More...
 

Constructor & Destructor Documentation

McMd::Mask::Mask ( )

Constructor.

Definition at line 19 of file mcMd/chemistry/Mask.cpp.

Member Function Documentation

void McMd::Mask::clear ( )

Clear the mask set (remove all atoms).

Definition at line 30 of file mcMd/chemistry/Mask.cpp.

Referenced by McMd::CfbReptationMove::move(), and McMd::CfbReptateMove::move().

void McMd::Mask::append ( const Atom atom)

Add an Atom to the masked set.

Parameters
atomAtom to be added to the masked set.

Definition at line 41 of file mcMd/chemistry/Mask.cpp.

References isMasked(), and UTIL_THROW.

Referenced by McMd::CfbReptationMove::move(), McMd::CfbReptateMove::move(), and McMd::Simulation::save().

bool McMd::Mask::isMasked ( const Atom atom) const
inline
int McMd::Mask::size ( ) const
inline

Return the number of masked atoms.

Definition at line 96 of file mcMd/chemistry/Mask.h.


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