ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
elecstate_pw_test.cpp File Reference
#include <string>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_estate/elecstate_pw.h"
#include "source_hamilt/module_xc/xc_functional.h"
#include "source_pw/module_pwdft/VL_in_pw.h"
#include "source_io/module_parameter/parameter.h"
#include "source_cell/klist.h"
Include dependency graph for elecstate_pw_test.cpp:

Classes

class  ElecStatePWTest
 

Namespaces

namespace  elecstate
 

Macros

#define private   public
 
#define protected   public
 

Functions

template<>
void pseudopot_cell_vnl::radial_fft_q< float, base_device::DEVICE_CPU > (base_device::DEVICE_CPU *ctx, const int ng, const int ih, const int jh, const int itype, const float *qnorm, const float *ylm, std::complex< float > *qg) const
 
template<>
void pseudopot_cell_vnl::radial_fft_q< double, base_device::DEVICE_CPU > (base_device::DEVICE_CPU *ctx, const int ng, const int ih, const int jh, const int itype, const double *qnorm, const double *ylm, std::complex< double > *qg) const
 
template<>
void pseudopot_cell_vnl::getvnl< float, base_device::DEVICE_CPU > (base_device::DEVICE_CPU *, const UnitCell &, int const &, std::complex< float > *) const
 
template<>
void pseudopot_cell_vnl::getvnl< double, base_device::DEVICE_CPU > (base_device::DEVICE_CPU *, const UnitCell &, int const &, std::complex< double > *) const
 
void Set_GlobalV_Default ()
 
 TEST_F (ElecStatePWTest, ConstructorDouble)
 
 TEST_F (ElecStatePWTest, ConstructorSingle)
 
 TEST_F (ElecStatePWTest, InitRhoDataDouble)
 
 TEST_F (ElecStatePWTest, InitRhoDataSingle)
 
 TEST_F (ElecStatePWTest, ParallelKDouble)
 
 TEST_F (ElecStatePWTest, ParallelKSingle)
 

Macro Definition Documentation

◆ private

#define private   public

◆ protected

#define protected   public

Function Documentation

◆ pseudopot_cell_vnl::getvnl< double, base_device::DEVICE_CPU >()

template<>
void pseudopot_cell_vnl::getvnl< double, base_device::DEVICE_CPU > ( base_device::DEVICE_CPU *  ,
const UnitCell ,
int const &  ,
std::complex< double > *   
) const

◆ pseudopot_cell_vnl::getvnl< float, base_device::DEVICE_CPU >()

template<>
void pseudopot_cell_vnl::getvnl< float, base_device::DEVICE_CPU > ( base_device::DEVICE_CPU *  ,
const UnitCell ,
int const &  ,
std::complex< float > *   
) const

◆ pseudopot_cell_vnl::radial_fft_q< double, base_device::DEVICE_CPU >()

template<>
void pseudopot_cell_vnl::radial_fft_q< double, base_device::DEVICE_CPU > ( base_device::DEVICE_CPU *  ctx,
const int  ng,
const int  ih,
const int  jh,
const int  itype,
const double *  qnorm,
const double *  ylm,
std::complex< double > *  qg 
) const

◆ pseudopot_cell_vnl::radial_fft_q< float, base_device::DEVICE_CPU >()

template<>
void pseudopot_cell_vnl::radial_fft_q< float, base_device::DEVICE_CPU > ( base_device::DEVICE_CPU *  ctx,
const int  ng,
const int  ih,
const int  jh,
const int  itype,
const float *  qnorm,
const float *  ylm,
std::complex< float > *  qg 
) const

◆ Set_GlobalV_Default()

void Set_GlobalV_Default ( )
Here is the caller graph for this function:

◆ TEST_F() [1/6]

TEST_F ( ElecStatePWTest  ,
ConstructorDouble   
)

◆ TEST_F() [2/6]

TEST_F ( ElecStatePWTest  ,
ConstructorSingle   
)

◆ TEST_F() [3/6]

TEST_F ( ElecStatePWTest  ,
InitRhoDataDouble   
)
Here is the call graph for this function:

◆ TEST_F() [4/6]

TEST_F ( ElecStatePWTest  ,
InitRhoDataSingle   
)
Here is the call graph for this function:

◆ TEST_F() [5/6]

TEST_F ( ElecStatePWTest  ,
ParallelKDouble   
)

◆ TEST_F() [6/6]

TEST_F ( ElecStatePWTest  ,
ParallelKSingle   
)