/* * AtomMask.hpp * * Created on: Sep 7, 2012 * Author: heber */ #ifndef ATOMMASK_HPP_ #define ATOMMASK_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "Fragmentation/Mask.hpp" #include "types.hpp" #include /** AtomMask is a filter for a atomic ids. The bit is either true or false. * */ struct AtomMask_t : public Mask_t { typedef std::vector atoms_t; AtomMask_t(const atoms_t &atoms) { for (atoms_t::const_iterator iter = atoms.begin(); iter != atoms.end(); ++iter) setTrue(*iter); } }; #endif /* ATOMMASK_HPP_ */