class rgpot::KeptKey¶
Overview¶
What a kept potential was built for. More…
Detailed Documentation¶
What a kept potential was built for.
Fields¶
static std::size_t kBytes = 128
Room for 16 eight-byte fields. A key that outgrows it never matches, so every call builds.
Methods¶
KeptKey& atoms(std::size_t n, const int* species)
The atom count, and the species of each atom, or null for a call without species. The species are read, not copied, until the key is kept.