23 for (
int i=0; i < Capacity; ++i) {
33 for (
int i=0; i < Capacity; ++i) {
44 if (size_ >= Capacity) {
45 UTIL_THROW(
"Too many masked partners for one Atom");
48 UTIL_THROW(
"Attempt to add an atom to a Mask twice");
void clear()
Clear the masked set (remove all atoms).
void append(int id)
Add an Atom to the masked set.
File containing preprocessor macros for error handling.
Parallel domain decomposition (DD) MD simulation.
bool isMasked(int id) const
True if the atom is in the masked set for the parent Atom.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
Utility classes for scientific computation.