class seams::Cages

Overview

Owned hexagonal and double-diamond membership. More…

#include <include/seams.hpp>
 
class Cages: public seams::detail::Handle {
public:
    // methods
 
    CageCounts counts() const;
    std::vector<int> labels(std::size_t n_atoms) const;
};

Inherited Members

public:
    // methods
 
    Handle& operator=(const Handle&);
    Handle& operator=(Handle&& other);
    operator bool() const;

Detailed Documentation

Owned hexagonal and double-diamond membership.

Methods

CageCounts counts() const

Disjoint population counts.

Returns:

Hexagonal, cubic, water, and both.

std::vector<int> labels(std::size_t n_atoms) const

One cage code per atom.

Parameters:

n_atoms

Length of the frame the cages were built from.

Returns:

Codes matching CageLabel.