#include <sto_che.h>
|
| int | nche = 0 |
| | order of Chebyshev expansion
|
| std::unique_ptr< REAL, delmem_var_deleter > | spolyv |
| | [Device] coefficients of Chebyshev expansion
|
| std::vector< REAL > | spolyv_cpu |
| | [CPU] coefficients of Chebyshev expansion (method==1 only)
|
| int | method_sto = 0 |
| | method for the stochastic calculation
|
| std::unique_ptr< ModuleBase::Chebyshev< REAL, Device > > | p_che |
| | Chebyshev expansion. Stores the plan of FFTW and should be initialized at the beginning of the calculation.
|
| REAL | emax_sto = 0.0 |
| | maximum energy for normalization
|
| REAL | emin_sto = 0.0 |
| | minimum energy for normalization
|
◆ delmem_var_op
template<typename REAL, typename Device = base_device::DEVICE_CPU>
◆ resmem_var_op
template<typename REAL, typename Device = base_device::DEVICE_CPU>
◆ syncmem_var_d2h_op
template<typename REAL, typename Device = base_device::DEVICE_CPU>
◆ StoChe() [1/3]
template<typename REAL, typename Device = base_device::DEVICE_CPU>
| StoChe< REAL, Device >::StoChe |
( |
| ) |
|
|
default |
◆ ~StoChe()
template<typename REAL, typename Device = base_device::DEVICE_CPU>
◆ StoChe() [2/3]
template<typename REAL, typename Device = base_device::DEVICE_CPU>
| StoChe< REAL, Device >::StoChe |
( |
const StoChe< REAL, Device > & | | ) |
|
|
delete |
◆ StoChe() [3/3]
template<typename REAL, typename Device = base_device::DEVICE_CPU>
| StoChe< REAL, Device >::StoChe |
( |
StoChe< REAL, Device > && | | ) |
|
|
defaultnoexcept |
◆ init()
template<typename REAL, typename Device>
| void StoChe< REAL, Device >::init |
( |
const int & | nche, |
|
|
const int & | method, |
|
|
const REAL & | emax_sto, |
|
|
const REAL & | emin_sto ) |
(Re)allocate Chebyshev expansion buffers. Safe to call multiple times.
◆ operator=() [1/2]
template<typename REAL, typename Device = base_device::DEVICE_CPU>
◆ operator=() [2/2]
template<typename REAL, typename Device = base_device::DEVICE_CPU>
◆ 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>
Chebyshev expansion. Stores the plan of FFTW and should be initialized at the beginning of the calculation.
◆ spolyv
template<typename REAL, typename Device = base_device::DEVICE_CPU>
[Device] coefficients of Chebyshev expansion
◆ spolyv_cpu
template<typename REAL, typename Device = base_device::DEVICE_CPU>
| std::vector<REAL> StoChe< REAL, Device >::spolyv_cpu |
[CPU] coefficients of Chebyshev expansion (method==1 only)
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_pw/module_stodft/sto_che.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_pw/module_stodft/sto_che.cpp