ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
sltk_grid_test.cpp File Reference
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "../sltk_grid.h"
#include "prepare_unitcell.h"
#include "source_io/module_parameter/parameter.h"
#include "source_cell/read_stru.h"
Include dependency graph for sltk_grid_test.cpp:

Classes

class  SltkGridTest
 

Macros

#define private   public
 

Typedefs

using SltkGridDeathTest = SltkGridTest
 

Functions

void SetGlobalV ()
 
 TEST_F (SltkGridTest, Init)
 
 TEST_F (SltkGridTest, InitSmall)
 

Macro Definition Documentation

◆ private

#define private   public

Typedef Documentation

◆ SltkGridDeathTest

Function Documentation

◆ SetGlobalV()

void SetGlobalV ( )
  • Tested Functions:
    • Init: Grid::init()
      • setMemberVariables: really set member variables (like dx, dy, dz and d_minX, d_minY, d_minZ) by reading from getters of Atom_input, and construct the member Cell as a 3D array of CellSet
Here is the caller graph for this function:

◆ TEST_F() [1/2]

TEST_F ( SltkGridTest  ,
Init   
)
Here is the call graph for this function:

◆ TEST_F() [2/2]

TEST_F ( SltkGridTest  ,
InitSmall   
)
Here is the call graph for this function: