ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device > Class Template Reference
Collaboration diagram for ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >:

Public Types

using ContainerDevice = typename ct::PsiToContainer<Device>::type

Public Member Functions

 Workspace (const Get_pchg_pw &output, const UnitCell &ucell)

Public Attributes

const ct::DeviceType device_type = ct::DeviceTypeToEnum<ContainerDevice>::value
const bool is_cpu = device_type == ct::DeviceType::CpuDevice
const bool needs_host_copy = !is_cpu || !std::is_same<T, std::complex<double>>::value
const bool is_spinor
const bool needs_interpolation
const int smooth_nrxx
const int dense_nrxx
const int npwx
ct::Tensor smooth [2]
ct::Tensor smooth_host [2]
ct::Tensor dense_host [2]
ct::Tensor reciprocal_host
std::vector< std::complex< double > > wfcr [2]
std::vector< std::vector< double > > density
std::unique_ptr< elecstate::UsppProjector< T, Device > > projector
std::vector< double > state_weight
std::vector< double > state_becsum
std::vector< double > becsum
std::vector< std::vector< std::complex< double > > > augmentation_g
std::vector< std::complex< double > * > augmentation_pointers
std::vector< double > augmentation_r

Member Typedef Documentation

◆ ContainerDevice

template<typename T, typename Device>
template<typename T, typename Device>
using ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::ContainerDevice = typename ct::PsiToContainer<Device>::type

Constructor & Destructor Documentation

◆ Workspace()

template<typename T, typename Device>
template<typename T, typename Device>
ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::Workspace ( const Get_pchg_pw & output,
const UnitCell & ucell )
inlineexplicit
Here is the call graph for this function:

Member Data Documentation

◆ augmentation_g

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<std::vector<std::complex<double> > > ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::augmentation_g

◆ augmentation_pointers

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<std::complex<double>*> ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::augmentation_pointers

◆ augmentation_r

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<double> ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::augmentation_r

◆ becsum

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<double> ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::becsum

◆ dense_host

template<typename T, typename Device>
template<typename T, typename Device>
ct::Tensor ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::dense_host[2]

◆ dense_nrxx

template<typename T, typename Device>
template<typename T, typename Device>
const int ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::dense_nrxx

◆ density

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<std::vector<double> > ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::density

◆ device_type

template<typename T, typename Device>
template<typename T, typename Device>
const ct::DeviceType ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::device_type = ct::DeviceTypeToEnum<ContainerDevice>::value

◆ is_cpu

template<typename T, typename Device>
template<typename T, typename Device>
const bool ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::is_cpu = device_type == ct::DeviceType::CpuDevice

◆ is_spinor

template<typename T, typename Device>
template<typename T, typename Device>
const bool ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::is_spinor

◆ needs_host_copy

template<typename T, typename Device>
template<typename T, typename Device>
const bool ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::needs_host_copy = !is_cpu || !std::is_same<T, std::complex<double>>::value

◆ needs_interpolation

template<typename T, typename Device>
template<typename T, typename Device>
const bool ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::needs_interpolation

◆ npwx

template<typename T, typename Device>
template<typename T, typename Device>
const int ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::npwx

◆ projector

template<typename T, typename Device>
template<typename T, typename Device>
std::unique_ptr<elecstate::UsppProjector<T, Device> > ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::projector

◆ reciprocal_host

template<typename T, typename Device>
template<typename T, typename Device>
ct::Tensor ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::reciprocal_host

◆ smooth

template<typename T, typename Device>
template<typename T, typename Device>
ct::Tensor ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::smooth[2]

◆ smooth_host

template<typename T, typename Device>
template<typename T, typename Device>
ct::Tensor ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::smooth_host[2]

◆ smooth_nrxx

template<typename T, typename Device>
template<typename T, typename Device>
const int ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::smooth_nrxx

◆ state_becsum

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<double> ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::state_becsum

◆ state_weight

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<double> ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::state_weight

◆ wfcr

template<typename T, typename Device>
template<typename T, typename Device>
std::vector<std::complex<double> > ModuleIO::Get_pchg_pw< T, Device >::Workspace< T, Device >::wfcr[2]

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