1 #ifndef TOOLS_ATOM_STORAGE_H 2 #define TOOLS_ATOM_STORAGE_H 11 #include <tools/chemistry/Atom.h> 12 #include <tools/chemistry/Group.h> 14 #include <util/containers/DArray.h> 15 #include <util/containers/DSArray.h> 16 #include <util/containers/ArrayIterator.h> 51 void allocate(
int capacity);
82 void begin(Iterator& iter);
113 {
return atoms_.size(); }
120 {
return atoms_.capacity(); }
126 {
return atomPtrs_[id]; }
133 { atoms_.begin(iter); }
Utility classes for scientific computation.
Forward iterator for an Array or a C array.
Dynamically allocatable contiguous array template.
Dynamically allocated array with variable logical size.