SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Protected Attributes | List of all members
sirius::DiagonalPreconditioner< numeric_t > Class Template Reference

Inherited by sirius::Teter< numeric_t > [private].

Public Member Functions

 DiagonalPreconditioner (Simulation_context &ctx)
 
sddk::mdarray< numeric_t, 2 > apply (const sddk::mdarray< numeric_t, 2 > &X, sddk::memory_t pm)
 
void apply (sddk::mdarray< numeric_t, 2 > &Y, const sddk::mdarray< numeric_t, 2 > &X, sddk::memory_t pm)
 computes Y <- P*X More...
 

Protected Attributes

sddk::mdarray< numeric_t, 1 > d_
 
Simulation_contextctx_
 

Detailed Description

template<class numeric_t>
class sirius::DiagonalPreconditioner< numeric_t >

Definition at line 58 of file ultrasoft_precond_k.hpp.

Constructor & Destructor Documentation

◆ DiagonalPreconditioner()

template<class numeric_t >
sirius::DiagonalPreconditioner< numeric_t >::DiagonalPreconditioner ( Simulation_context ctx)
inline

Definition at line 61 of file ultrasoft_precond_k.hpp.

Member Function Documentation

◆ apply() [1/2]

template<class numeric_t >
sddk::mdarray< numeric_t, 2 > sirius::DiagonalPreconditioner< numeric_t >::apply ( const sddk::mdarray< numeric_t, 2 > &  X,
sddk::memory_t  pm 
)

Definition at line 75 of file ultrasoft_precond_k.hpp.

◆ apply() [2/2]

template<class numeric_t >
void sirius::DiagonalPreconditioner< numeric_t >::apply ( sddk::mdarray< numeric_t, 2 > &  Y,
const sddk::mdarray< numeric_t, 2 > &  X,
sddk::memory_t  pm 
)
inline

computes Y <- P*X

Definition at line 85 of file ultrasoft_precond_k.hpp.

Member Data Documentation

◆ d_

template<class numeric_t >
sddk::mdarray<numeric_t, 1> sirius::DiagonalPreconditioner< numeric_t >::d_
protected

Definition at line 69 of file ultrasoft_precond_k.hpp.

◆ ctx_

template<class numeric_t >
Simulation_context& sirius::DiagonalPreconditioner< numeric_t >::ctx_
protected

Definition at line 70 of file ultrasoft_precond_k.hpp.


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