ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ModuleGint::Gint_rho_gpu Class Reference

#include <gint_rho_gpu.h>

Inheritance diagram for ModuleGint::Gint_rho_gpu:
Collaboration diagram for ModuleGint::Gint_rho_gpu:

Public Member Functions

 Gint_rho_gpu (const std::vector< HContainer< double > * > &dm_vec, const int nspin, double **rho, bool is_dm_symm=true)
 
void cal_gint ()
 
- Public Member Functions inherited from ModuleGint::Gint
 Gint ()=default
 
virtual ~Gint ()=default
 

Private Member Functions

void init_dm_gint_ ()
 
void cal_rho_ ()
 
void transfer_cpu_to_gpu_ ()
 
void transfer_gpu_to_cpu_ ()
 

Private Attributes

const std::vector< HContainer< double > * > dm_vec_
 
const int nspin_
 
const bool is_dm_symm_
 
double ** rho_
 
std::vector< HContainer< double > > dm_gint_vec_
 
std::vector< CudaMemWrapper< double > > dm_gint_d_vec_
 
std::vector< CudaMemWrapper< double > > rho_d_vec_
 

Additional Inherited Members

- Static Public Member Functions inherited from ModuleGint::Gint
static void set_gint_info (GintInfo *gint_info)
 
- Static Protected Attributes inherited from ModuleGint::Gint
static GintInfogint_info_ = nullptr
 

Constructor & Destructor Documentation

◆ Gint_rho_gpu()

ModuleGint::Gint_rho_gpu::Gint_rho_gpu ( const std::vector< HContainer< double > * > &  dm_vec,
const int  nspin,
double **  rho,
bool  is_dm_symm = true 
)
inline

Member Function Documentation

◆ cal_gint()

void ModuleGint::Gint_rho_gpu::cal_gint ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cal_rho_()

void ModuleGint::Gint_rho_gpu::cal_rho_ ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_dm_gint_()

void ModuleGint::Gint_rho_gpu::init_dm_gint_ ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transfer_cpu_to_gpu_()

void ModuleGint::Gint_rho_gpu::transfer_cpu_to_gpu_ ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transfer_gpu_to_cpu_()

void ModuleGint::Gint_rho_gpu::transfer_gpu_to_cpu_ ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ dm_gint_d_vec_

std::vector<CudaMemWrapper<double> > ModuleGint::Gint_rho_gpu::dm_gint_d_vec_
private

◆ dm_gint_vec_

std::vector<HContainer<double> > ModuleGint::Gint_rho_gpu::dm_gint_vec_
private

◆ dm_vec_

const std::vector<HContainer<double>*> ModuleGint::Gint_rho_gpu::dm_vec_
private

◆ is_dm_symm_

const bool ModuleGint::Gint_rho_gpu::is_dm_symm_
private

◆ nspin_

const int ModuleGint::Gint_rho_gpu::nspin_
private

◆ rho_

double** ModuleGint::Gint_rho_gpu::rho_
private

◆ rho_d_vec_

std::vector<CudaMemWrapper<double> > ModuleGint::Gint_rho_gpu::rho_d_vec_
private

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