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

CN projection derived from A*U = 2*U - B without another Hamiltonian application. More...

#include <cn_subspace.h>

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

Public Member Functions

bool prepare (LinearAlgebra< T, Device > &algebra, int ld, int dim, int bands, const T *u, const T *b)
T * image ()
T * seed ()
T * residual ()
const LinearSmallLU & factor () const

Private Attributes

ct::Tensor image_
ct::Tensor seed_
ct::Tensor residual_
LinearSmallLU factor_

Detailed Description

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

CN projection derived from A*U = 2*U - B without another Hamiltonian application.

Member Function Documentation

◆ factor()

template<typename T, typename Device>
const LinearSmallLU & hsolver::CNSubspace< T, Device >::factor ( ) const
inline

◆ image()

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

◆ prepare()

template<typename T, typename Device>
bool hsolver::CNSubspace< T, Device >::prepare ( LinearAlgebra< T, Device > & algebra,
int ld,
int dim,
int bands,
const T * u,
const T * b )
Here is the call graph for this function:

◆ residual()

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

◆ seed()

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

Member Data Documentation

◆ factor_

template<typename T, typename Device>
LinearSmallLU hsolver::CNSubspace< T, Device >::factor_
private

◆ image_

template<typename T, typename Device>
ct::Tensor hsolver::CNSubspace< T, Device >::image_
private

◆ residual_

template<typename T, typename Device>
ct::Tensor hsolver::CNSubspace< T, Device >::residual_
private

◆ seed_

template<typename T, typename Device>
ct::Tensor hsolver::CNSubspace< T, Device >::seed_
private

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