struct rgpot::HessianVectorCache::KeyΒΆ

std::bit_cast of every coordinate and cell entry: float equality would serve the forces of +0.0 at -0.0.

struct Key {
    // fields
 
    std::vector<std::uint64_t> positions;
    std::optional<std::vector<int>> atomicNumbers;
    std::optional<std::array<std::uint64_t, 9>> box;
 
    // methods
 
    bool operator==(const Key&) const;
};