SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Public Attributes | List of all members
sirius::lr::Smoothed_diagonal_preconditioner Struct Reference

Public Member Functions

void apply (Wave_functions_wrap &x, Wave_functions_wrap const &y)
 
void repack (std::vector< int > const &ids)
 

Public Attributes

sddk::mdarray< double, 2 > H_diag
 
sddk::mdarray< double, 2 > S_diag
 
sddk::mdarray< double, 1 > eigvals
 
int num_active
 
sddk::memory_t mem
 
wf::spin_range sr
 

Detailed Description

Definition at line 258 of file multi_cg.hpp.

Member Function Documentation

◆ apply()

void sirius::lr::Smoothed_diagonal_preconditioner::apply ( Wave_functions_wrap x,
Wave_functions_wrap const &  y 
)
inline

Definition at line 266 of file multi_cg.hpp.

◆ repack()

void sirius::lr::Smoothed_diagonal_preconditioner::repack ( std::vector< int > const &  ids)
inline

Definition at line 279 of file multi_cg.hpp.

Member Data Documentation

◆ H_diag

sddk::mdarray<double, 2> sirius::lr::Smoothed_diagonal_preconditioner::H_diag

Definition at line 259 of file multi_cg.hpp.

◆ S_diag

sddk::mdarray<double, 2> sirius::lr::Smoothed_diagonal_preconditioner::S_diag

Definition at line 260 of file multi_cg.hpp.

◆ eigvals

sddk::mdarray<double, 1> sirius::lr::Smoothed_diagonal_preconditioner::eigvals

Definition at line 261 of file multi_cg.hpp.

◆ num_active

int sirius::lr::Smoothed_diagonal_preconditioner::num_active

Definition at line 262 of file multi_cg.hpp.

◆ mem

sddk::memory_t sirius::lr::Smoothed_diagonal_preconditioner::mem

Definition at line 263 of file multi_cg.hpp.

◆ sr

wf::spin_range sirius::lr::Smoothed_diagonal_preconditioner::sr

Definition at line 264 of file multi_cg.hpp.


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