SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Private Attributes | List of all members
sirius::density_matrix_t Class Reference

Public Member Functions

 density_matrix_t (Unit_cell const &uc__, int num_mag_comp__)
 
void zero ()
 
auto size () const
 
auto & operator[] (int ia__)
 
auto const & operator[] (int ia__) const
 
auto const begin () const
 
auto const end () const
 

Private Attributes

std::vector< sddk::mdarray< std::complex< double >, 3 > > data_
 

Detailed Description

Definition at line 6 of file density_matrix.hpp.

Constructor & Destructor Documentation

◆ density_matrix_t()

sirius::density_matrix_t::density_matrix_t ( Unit_cell const &  uc__,
int  num_mag_comp__ 
)
inline

Definition at line 10 of file density_matrix.hpp.

Member Function Documentation

◆ zero()

void sirius::density_matrix_t::zero ( )
inline

Definition at line 20 of file density_matrix.hpp.

◆ size()

auto sirius::density_matrix_t::size ( ) const
inline

Definition at line 26 of file density_matrix.hpp.

◆ operator[]() [1/2]

auto & sirius::density_matrix_t::operator[] ( int  ia__)
inline

Definition at line 30 of file density_matrix.hpp.

◆ operator[]() [2/2]

auto const & sirius::density_matrix_t::operator[] ( int  ia__) const
inline

Definition at line 34 of file density_matrix.hpp.

◆ begin()

auto const sirius::density_matrix_t::begin ( ) const
inline

Definition at line 38 of file density_matrix.hpp.

◆ end()

auto const sirius::density_matrix_t::end ( ) const
inline

Definition at line 42 of file density_matrix.hpp.

Member Data Documentation

◆ data_

std::vector<sddk::mdarray<std::complex<double>, 3> > sirius::density_matrix_t::data_
private

Definition at line 8 of file density_matrix.hpp.


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