ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Macros | Functions
pw_basis_k_test.cpp File Reference
#include "gtest/gtest.h"
#include "source_base/global_function.h"
#include "source_base/constants.h"
#include "source_base/matrix3.h"
#include "../pw_basis_k.h"
#include "../pw_basis.h"
Include dependency graph for pw_basis_k_test.cpp:

Classes

class  PWBasisKTEST
 

Macros

#define protected   public
 
#define private   public
 

Functions

 TEST_F (PWBasisKTEST, Constructor)
 
 TEST_F (PWBasisKTEST, Initgrids1)
 
 TEST_F (PWBasisKTEST, Initgrids2)
 
 TEST_F (PWBasisKTEST, Initparameters)
 
 TEST_F (PWBasisKTEST, SetupTransform)
 
 TEST_F (PWBasisKTEST, CollectLocalPW)
 

Macro Definition Documentation

◆ private

#define private   public

◆ protected

#define protected   public
  • Tested Functions:
    • Constructor
      • PW_Basis_K() and ~PW_Basis_K()
    • Initgrids1
      • initgrids() from gridecut, derived from class PW_Basis
    • Initgrids2
      • initgrids() from nx,ny,nz, derived from class PW_Basis
    • Initparameters
      • initparameters(), including k coordinates
    • SetupTransform
      • setuptransform(): for fft transform
    • CollectLocalPW
      • collect_local_pw: get gk2, gcar for local npw plane waves

Function Documentation

◆ TEST_F() [1/6]

TEST_F ( PWBasisKTEST  ,
CollectLocalPW   
)
Here is the call graph for this function:

◆ TEST_F() [2/6]

TEST_F ( PWBasisKTEST  ,
Constructor   
)

◆ TEST_F() [3/6]

TEST_F ( PWBasisKTEST  ,
Initgrids1   
)
Here is the call graph for this function:

◆ TEST_F() [4/6]

TEST_F ( PWBasisKTEST  ,
Initgrids2   
)
Here is the call graph for this function:

◆ TEST_F() [5/6]

TEST_F ( PWBasisKTEST  ,
Initparameters   
)
Here is the call graph for this function:

◆ TEST_F() [6/6]

TEST_F ( PWBasisKTEST  ,
SetupTransform   
)
Here is the call graph for this function: