ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type > Class Template Reference

#include <gram_schmidt_orth.h>

Collaboration diagram for ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type >:

Public Types

enum class  Coordinate { Cartesian , Sphere }

Public Member Functions

 Gram_Schmidt_Orth (const std::vector< R_Type > &rab, const Coordinate &coordinate)
std::vector< std::vector< Func_Type > > cal_orth (const std::vector< std::vector< Func_Type > > &func, const Func_Type norm_threshold=std::numeric_limits< Func_Type >::min())

Private Member Functions

Func_Type cal_norm (const std::vector< Func_Type > &f)

Private Attributes

const Coordinate coordinate
const std::vector< R_Type > & rab
std::vector< R_Type > radial_2

Member Enumeration Documentation

◆ Coordinate

template<typename Func_Type, typename R_Type = double>
enum class ModuleBase::Gram_Schmidt_Orth::Coordinate
strong
Enumerator
Cartesian 
Sphere 

Constructor & Destructor Documentation

◆ Gram_Schmidt_Orth()

template<typename Func_Type, typename R_Type>
ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type >::Gram_Schmidt_Orth ( const std::vector< R_Type > & rab,
const Coordinate & coordinate )

Member Function Documentation

◆ cal_norm()

template<typename Func_Type, typename R_Type>
Func_Type ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type >::cal_norm ( const std::vector< Func_Type > & f)
private
Here is the call graph for this function:

◆ cal_orth()

template<typename Func_Type, typename R_Type>
std::vector< std::vector< Func_Type > > ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type >::cal_orth ( const std::vector< std::vector< Func_Type > > & func,
const Func_Type norm_threshold = std::numeric_limits<Func_Type>::min() )
Here is the caller graph for this function:

Member Data Documentation

◆ coordinate

template<typename Func_Type, typename R_Type = double>
const Coordinate ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type >::coordinate
private

◆ rab

template<typename Func_Type, typename R_Type = double>
const std::vector<R_Type>& ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type >::rab
private

◆ radial_2

template<typename Func_Type, typename R_Type = double>
std::vector<R_Type> ModuleBase::Gram_Schmidt_Orth< Func_Type, R_Type >::radial_2
private

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