mpqc::FermionOccupationBlockString::Block Struct Reference

Documentation

represents a continuous block of states of same occupancy

Public Member Functions

 Block (size_t o, bool n=true)
 
 Block (size_t o, size_t l, bool n=true)
 
bool operator< (const Block &other) const
 
bool operator== (const Block &other) const
 
 operator int64_t () const
 
std::size_t hash_value () const
 

Public Attributes

int offset
 
int length
 
bool occ
 

Constructor & Destructor Documentation

◆ Block() [1/2]

mpqc::FermionOccupationBlockString::Block::Block ( size_t  o,
bool  n = true 
)
inline

◆ Block() [2/2]

mpqc::FermionOccupationBlockString::Block::Block ( size_t  o,
size_t  l,
bool  n = true 
)
inline

Member Function Documentation

◆ hash_value()

std::size_t mpqc::FermionOccupationBlockString::Block::hash_value ( ) const
inline

◆ operator int64_t()

mpqc::FermionOccupationBlockString::Block::operator int64_t ( ) const
inline

◆ operator<()

bool mpqc::FermionOccupationBlockString::Block::operator< ( const Block other) const
inline

◆ operator==()

bool mpqc::FermionOccupationBlockString::Block::operator== ( const Block other) const
inline

Member Data Documentation

◆ length

int mpqc::FermionOccupationBlockString::Block::length
mutable

◆ occ

bool mpqc::FermionOccupationBlockString::Block::occ

◆ offset

int mpqc::FermionOccupationBlockString::Block::offset

The documentation for this struct was generated from the following file: