ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Types | Private Attributes | List of all members
StoChe< REAL, Device > Class Template Reference

#include <sto_che.h>

Collaboration diagram for StoChe< REAL, Device >:

Public Member Functions

 StoChe (const int &nche, const int &method, const REAL &emax_sto, const REAL &emin_sto)
 
 ~StoChe ()
 

Public Attributes

int nche = 0
 order of Chebyshev expansion
 
REAL * spolyv = nullptr
 [Device] coefficients of Chebyshev expansion
 
REAL * spolyv_cpu = nullptr
 [CPU] coefficients of Chebyshev expansion
 
int method_sto = 0
 method for the stochastic calculation
 
ModuleBase::Chebyshev< REAL, Device > * p_che = nullptr
 
REAL emax_sto = 0.0
 maximum energy for normalization
 
REAL emin_sto = 0.0
 minimum energy for normalization
 

Private Types

using resmem_var_op = base_device::memory::resize_memory_op< REAL, Device >
 
using syncmem_var_d2h_op = base_device::memory::synchronize_memory_op< REAL, base_device::DEVICE_CPU, Device >
 
using delmem_var_op = base_device::memory::delete_memory_op< REAL, Device >
 

Private Attributes

Device * ctx = {}
 

Member Typedef Documentation

◆ delmem_var_op

template<typename REAL , typename Device = base_device::DEVICE_CPU>
using StoChe< REAL, Device >::delmem_var_op = base_device::memory::delete_memory_op<REAL, Device>
private

◆ resmem_var_op

template<typename REAL , typename Device = base_device::DEVICE_CPU>
using StoChe< REAL, Device >::resmem_var_op = base_device::memory::resize_memory_op<REAL, Device>
private

◆ syncmem_var_d2h_op

template<typename REAL , typename Device = base_device::DEVICE_CPU>
using StoChe< REAL, Device >::syncmem_var_d2h_op = base_device::memory::synchronize_memory_op<REAL, base_device::DEVICE_CPU, Device>
private

Constructor & Destructor Documentation

◆ StoChe()

template<typename REAL , typename Device >
StoChe< REAL, Device >::StoChe ( const int &  nche,
const int &  method,
const REAL &  emax_sto,
const REAL &  emin_sto 
)

◆ ~StoChe()

template<typename REAL , typename Device >
StoChe< REAL, Device >::~StoChe ( )

Member Data Documentation

◆ ctx

template<typename REAL , typename Device = base_device::DEVICE_CPU>
Device* StoChe< REAL, Device >::ctx = {}
private

◆ emax_sto

template<typename REAL , typename Device = base_device::DEVICE_CPU>
REAL StoChe< REAL, Device >::emax_sto = 0.0

maximum energy for normalization

◆ emin_sto

template<typename REAL , typename Device = base_device::DEVICE_CPU>
REAL StoChe< REAL, Device >::emin_sto = 0.0

minimum energy for normalization

◆ method_sto

template<typename REAL , typename Device = base_device::DEVICE_CPU>
int StoChe< REAL, Device >::method_sto = 0

method for the stochastic calculation

◆ nche

template<typename REAL , typename Device = base_device::DEVICE_CPU>
int StoChe< REAL, Device >::nche = 0

order of Chebyshev expansion

◆ p_che

template<typename REAL , typename Device = base_device::DEVICE_CPU>
ModuleBase::Chebyshev<REAL, Device>* StoChe< REAL, Device >::p_che = nullptr

◆ spolyv

template<typename REAL , typename Device = base_device::DEVICE_CPU>
REAL* StoChe< REAL, Device >::spolyv = nullptr

[Device] coefficients of Chebyshev expansion

◆ spolyv_cpu

template<typename REAL , typename Device = base_device::DEVICE_CPU>
REAL* StoChe< REAL, Device >::spolyv_cpu = nullptr

[CPU] coefficients of Chebyshev expansion


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