ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
check_che_op< FPTYPE, Device > Struct Template Reference

Check if Emin and Emax are converged. More...

#include <sto_tool.h>

Collaboration diagram for check_che_op< FPTYPE, Device >:

Public Types

using syncmem_complex_h2d_op = base_device::memory::synchronize_memory_op< std::complex< FPTYPE >, Device, base_device::DEVICE_CPU >
 

Public Member Functions

void operator() (const int &nche_in, const double &try_emin, const double &try_emax, const int &nbands_sto, K_Vectors *p_kv, Stochastic_WF< std::complex< FPTYPE >, Device > *p_stowf, hamilt::HamiltSdftPW< std::complex< FPTYPE >, Device > *p_hamilt_sto)
 

Detailed Description

template<typename FPTYPE, typename Device>
struct check_che_op< FPTYPE, Device >

Check if Emin and Emax are converged.

Parameters
nche_inN order of Chebyshev expansion
try_emintrial Emin
try_emaxtrial Emax
nbands_stonumber of stochastic bands

Member Typedef Documentation

◆ syncmem_complex_h2d_op

template<typename FPTYPE , typename Device >
using check_che_op< FPTYPE, Device >::syncmem_complex_h2d_op = base_device::memory::synchronize_memory_op<std::complex<FPTYPE>, Device, base_device::DEVICE_CPU>

Member Function Documentation

◆ operator()()

template<typename FPTYPE , typename Device >
void check_che_op< FPTYPE, Device >::operator() ( const int &  nche_in,
const double &  try_emin,
const double &  try_emax,
const int &  nbands_sto,
K_Vectors p_kv,
Stochastic_WF< std::complex< FPTYPE >, Device > *  p_stowf,
hamilt::HamiltSdftPW< std::complex< FPTYPE >, Device > *  p_hamilt_sto 
)
Here is the call graph for this function:

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