22 for (
int i=0; i < Capacity; ++i) {
32 for (
int i=0; i < Capacity; ++i) {
43 if (size_ >= Capacity) {
44 UTIL_THROW(
"Too many masked partners for one Atom");
47 UTIL_THROW(
"Attempt to add an atom to a Mask twice");
49 atomPtrs_[size_] = &atom;
File containing preprocessor macros for error handling.
bool isMasked(const Atom &atom) const
True if the atom is in the masked set for the target Atom.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
A point particle within a Molecule.
void clear()
Clear the mask set (remove all atoms).
Utility classes for scientific computation.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
void append(const Atom &atom)
Add an Atom to the masked set.