11 #include <tools/neighbor/CellAtom.h> 12 #include <tools/chemistry/Atom.h> 13 #include <util/containers/FSArray.h> 14 #include <util/containers/FArray.h> 80 static const int MaxNeighborAtom = 2000;
115 void setNextCell(
Cell& nextCell);
125 const Cell* nextCellPtr()
const;
139 void setOffsetArray(OffsetArray& offsets);
153 void incrementCapacity();
171 void append(
Atom* atomPtr);
188 int atomCapacity()
const;
207 void getNeighbors(NeighborArray& neighbors)
const;
215 OffsetArray* offsetsPtr_;
251 assert(atomCapacity_ >= 0);
254 return (begin_ + atomCapacity_);
260 assert(nAtom_ < atomCapacity_);
261 begin_[nAtom_].setPtr(atomPtr);
291 {
return nextCellPtr_; }
297 {
return atomCapacity_; }
const int Dimension
Dimensionality of space.
File containing preprocessor macros for error handling.
A fixed capacity (static) contiguous array with a variable logical size.
Utility classes for scientific computation.