ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
hsolver::LinearResponse< T, Device > Class Template Reference

A bounded, paired-orthogonalized response history for one k point. More...

#include <linear_low_rank.h>

Collaboration diagram for hsolver::LinearResponse< T, Device >:

Public Member Functions

int rank () const
void clear ()
const T * directions () const
const T * images () const
void update (LinearAlgebra< T, Device > &algebra, int ld, int dim, int bands, const T *solution, const T *seed, const T *seed_residual, double tolerance, ct::Tensor *workspace)
 Replace the history only after a successful solve; discard unresolved directions.

Private Attributes

ct::Tensor directions_
ct::Tensor images_
int rank_ = 0

Detailed Description

template<typename T, typename Device>
class hsolver::LinearResponse< T, Device >

A bounded, paired-orthogonalized response history for one k point.

Member Function Documentation

◆ clear()

template<typename T, typename Device>
void hsolver::LinearResponse< T, Device >::clear ( )
inline

◆ directions()

template<typename T, typename Device>
const T * hsolver::LinearResponse< T, Device >::directions ( ) const
inline

◆ images()

template<typename T, typename Device>
const T * hsolver::LinearResponse< T, Device >::images ( ) const
inline
Here is the caller graph for this function:

◆ rank()

template<typename T, typename Device>
int hsolver::LinearResponse< T, Device >::rank ( ) const
inline

◆ update()

template<typename T, typename Device>
void hsolver::LinearResponse< T, Device >::update ( LinearAlgebra< T, Device > & algebra,
int ld,
int dim,
int bands,
const T * solution,
const T * seed,
const T * seed_residual,
double tolerance,
ct::Tensor * workspace )

Replace the history only after a successful solve; discard unresolved directions.

Here is the call graph for this function:

Member Data Documentation

◆ directions_

template<typename T, typename Device>
ct::Tensor hsolver::LinearResponse< T, Device >::directions_
private

◆ images_

template<typename T, typename Device>
ct::Tensor hsolver::LinearResponse< T, Device >::images_
private

◆ rank_

template<typename T, typename Device>
int hsolver::LinearResponse< T, Device >::rank_ = 0
private

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