|
CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <ECIContainer.hh>
A sparse container of ECI values and their corresponding orbit indices.
Definition at line 12 of file ECIContainer.hh.
Public Types | |
| typedef Clexulator::size_type | size_type |
Public Member Functions | |
| ECIContainer () | |
| Default constructor. More... | |
| template<typename SparseECIIterator , typename OrbitIndexIterator > | |
| ECIContainer (SparseECIIterator eci_begin, SparseECIIterator eci_end, OrbitIndexIterator index_begin) | |
| Construct from range of ECI values and corresponding orbit indices. More... | |
| size_type | size () const |
| Number of eci specified (no guarentee they are all non-zero) More... | |
| const std::vector< double > & | value () const |
| const Access ECI values More... | |
| const std::vector< size_type > & | index () const |
| const Access orbit indices of ECI values More... | |
Private Attributes | |
| std::vector< double > | m_value |
| Efective cluster interaction values. More... | |
| std::vector< size_type > | m_index |
| Orbit index for each coefficient in m_value. More... | |
Definition at line 14 of file ECIContainer.hh.
|
inline |
Default constructor.
Definition at line 17 of file ECIContainer.hh.
|
inline |
Construct from range of ECI values and corresponding orbit indices.
| eci_begin,eci_end | Iterators of range of ECI values |
| index_begin | Iterator to beginning of range (of size equal to [eci_begin, eci_end)) containing the orbit indices of the corresponding ECI values. |
Definition at line 27 of file ECIContainer.hh.
|
inline |
const Access orbit indices of ECI values
Definition at line 44 of file ECIContainer.hh.
|
inline |
Number of eci specified (no guarentee they are all non-zero)
Definition at line 38 of file ECIContainer.hh.
|
inline |
const Access ECI values
Definition at line 41 of file ECIContainer.hh.
|
private |
Orbit index for each coefficient in m_value.
Definition at line 51 of file ECIContainer.hh.
|
private |
Efective cluster interaction values.
Definition at line 48 of file ECIContainer.hh.