ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_elecstate_pw.cpp File Reference
#include <string>
#include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_estate/elecstate_pw.h"
#include "source_basis/module_pw/pw_basis_big.h"
#include "source_hamilt/module_xc/xc_functional.h"
#include "source_pw/module_pwdft/vl_pw.h"
#include "source_pw/module_pwdft/vnl_pw.h"
#include "source_cell/soc.h"
#include "source_io/module_parameter/parameter.h"
#include "source_cell/klist.h"
Include dependency graph for test_elecstate_pw.cpp:

Classes

class  TestParameters
 Friend helper to mutate PARAM private members in unit tests. More...
class  ElecStatePWTest

Namespaces

namespace  elecstate

Macros

#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 &, const ModuleBase::Vector3< double > &, std::complex< float > *) const
template<>
void pseudopot_cell_vnl::getvnl< double, base_device::DEVICE_CPU > (base_device::DEVICE_CPU *, const UnitCell &, int const &, const ModuleBase::Vector3< double > &, 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, HybridMetaKineticDensityAllocation)
 TEST_F (ElecStatePWTest, ElfKineticDensityAllocationWithoutMetaGga)
 TEST_F (ElecStatePWTest, HybridMetaUpdatesKineticDensityFromWavefunctions)
 TEST_F (ElecStatePWTest, ParallelKDouble)
 TEST_F (ElecStatePWTest, ParallelKSingle)

Macro Definition Documentation

◆ 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 & ,
const ModuleBase::Vector3< double > & ,
std::complex< double > *  ) const
Here is the call graph for this function:

◆ 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 & ,
const ModuleBase::Vector3< double > & ,
std::complex< float > *  ) const
Here is the call graph for this function:

◆ 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
Here is the call graph for this function:

◆ Set_GlobalV_Default()

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

◆ TEST_F() [1/9]

TEST_F ( ElecStatePWTest ,
ConstructorDouble  )

◆ TEST_F() [2/9]

TEST_F ( ElecStatePWTest ,
ConstructorSingle  )

◆ TEST_F() [3/9]

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

◆ TEST_F() [4/9]

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

◆ TEST_F() [5/9]

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

◆ TEST_F() [6/9]

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

◆ TEST_F() [7/9]

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

◆ TEST_F() [8/9]

TEST_F ( ElecStatePWTest ,
ParallelKDouble  )

◆ TEST_F() [9/9]

TEST_F ( ElecStatePWTest ,
ParallelKSingle  )