1 #ifndef CASM_ECICONTAINER_HH
2 #define CASM_ECICONTAINER_HH
26 template <
typename SparseECIIterator,
typename OrbitIndexIterator>
27 ECIContainer(SparseECIIterator eci_begin, SparseECIIterator eci_end,
28 OrbitIndexIterator index_begin) {
29 auto eci_it = eci_begin;
30 auto index_it = index_begin;
31 for (; eci_it != eci_end; ++eci_it, ++index_it) {
Clexulator_impl::Base::size_type size_type
A sparse container of ECI values and their corresponding orbit indices.
size_type size() const
Number of eci specified (no guarentee they are all non-zero)
const std::vector< size_type > & index() const
const Access orbit indices of ECI values
const std::vector< double > & value() const
const Access ECI values
Clexulator::size_type size_type
ECIContainer(SparseECIIterator eci_begin, SparseECIIterator eci_end, OrbitIndexIterator index_begin)
Construct from range of ECI values and corresponding orbit indices.
ECIContainer()
Default constructor.
std::vector< double > m_value
Efective cluster interaction values.
std::vector< size_type > m_index
Orbit index for each coefficient in m_value.
BasisSet operator*(const SymOp &LHS, const BasisSet &RHS)