ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Macros | Functions
vdw_test.cpp File Reference
#include "source_cell/unitcell.h"
#include "source_cell/setup_nonlocal.h"
#include "source_base/mathzone.h"
#include "source_base/vector3.h"
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "mpi.h"
#include "source_hamilt/module_vdw/vdwd2_parameters.h"
#include "source_hamilt/module_vdw/vdwd3_parameters.h"
#include "source_hamilt/module_vdw/vdwd2.h"
#include "source_hamilt/module_vdw/vdwd3.h"
#include "source_hamilt/module_vdw/vdw.h"
Include dependency graph for vdw_test.cpp:

Classes

struct  atomtype_
 
struct  stru_
 
class  vdwd2Test
 
class  vdwd3Test
 
class  vdwd3abcTest
 

Macros

#define private   public
 

Functions

void construct_ucell (stru_ &stru, UnitCell &ucell)
 
void ClearUcell (UnitCell &ucell)
 
 TEST_F (vdwd2Test, D2Default)
 
 TEST_F (vdwd2Test, WrongVdwType)
 
 TEST_F (vdwd2Test, D2ReadFile)
 
 TEST_F (vdwd2Test, D2ReadFileError)
 
 TEST_F (vdwd2Test, D2c6UniteVA6)
 
 TEST_F (vdwd2Test, D2r0UnitBohr)
 
 TEST_F (vdwd2Test, D2WrongUnit)
 
 TEST_F (vdwd2Test, D2RadiusUnitAngstrom)
 
 TEST_F (vdwd2Test, D2CutoffTypePeriod)
 
 TEST_F (vdwd2Test, D2R0ZeroQuit)
 
 TEST_F (vdwd2Test, D2GetEnergy)
 
 TEST_F (vdwd2Test, D2GetForce)
 
 TEST_F (vdwd2Test, D2GetStress)
 
 TEST_F (vdwd3Test, D30Default)
 
 TEST_F (vdwd3Test, D30UnitA)
 
 TEST_F (vdwd3Test, D30Period)
 
 TEST_F (vdwd3Test, D30GetEnergy)
 
 TEST_F (vdwd3Test, D30GetForce)
 
 TEST_F (vdwd3Test, D30GetStress)
 
 TEST_F (vdwd3Test, D3bjGetEnergy)
 
 TEST_F (vdwd3Test, D3bjGetForce)
 
 TEST_F (vdwd3Test, D3bjGetStress)
 
 TEST_F (vdwd3abcTest, D30GetEnergy)
 
 TEST_F (vdwd3abcTest, D30GetForce)
 
 TEST_F (vdwd3abcTest, D30GetStress)
 
 TEST_F (vdwd3abcTest, D3bjGetEnergy)
 
 TEST_F (vdwd3abcTest, D3bjGetForce)
 
 TEST_F (vdwd3abcTest, D3bjGetStress)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ private

#define private   public

Function Documentation

◆ ClearUcell()

void ClearUcell ( UnitCell ucell)
Here is the caller graph for this function:

◆ construct_ucell()

void construct_ucell ( stru_ stru,
UnitCell ucell 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST_F() [1/28]

TEST_F ( vdwd2Test  ,
D2c6UniteVA6   
)
Here is the call graph for this function:

◆ TEST_F() [2/28]

TEST_F ( vdwd2Test  ,
D2CutoffTypePeriod   
)
Here is the call graph for this function:

◆ TEST_F() [3/28]

TEST_F ( vdwd2Test  ,
D2Default   
)
Here is the call graph for this function:

◆ TEST_F() [4/28]

TEST_F ( vdwd2Test  ,
D2GetEnergy   
)
Here is the call graph for this function:

◆ TEST_F() [5/28]

TEST_F ( vdwd2Test  ,
D2GetForce   
)
Here is the call graph for this function:

◆ TEST_F() [6/28]

TEST_F ( vdwd2Test  ,
D2GetStress   
)
Here is the call graph for this function:

◆ TEST_F() [7/28]

TEST_F ( vdwd2Test  ,
D2r0UnitBohr   
)
Here is the call graph for this function:

◆ TEST_F() [8/28]

TEST_F ( vdwd2Test  ,
D2R0ZeroQuit   
)
Here is the call graph for this function:

◆ TEST_F() [9/28]

TEST_F ( vdwd2Test  ,
D2RadiusUnitAngstrom   
)
Here is the call graph for this function:

◆ TEST_F() [10/28]

TEST_F ( vdwd2Test  ,
D2ReadFile   
)
Here is the call graph for this function:

◆ TEST_F() [11/28]

TEST_F ( vdwd2Test  ,
D2ReadFileError   
)
Here is the call graph for this function:

◆ TEST_F() [12/28]

TEST_F ( vdwd2Test  ,
D2WrongUnit   
)
Here is the call graph for this function:

◆ TEST_F() [13/28]

TEST_F ( vdwd2Test  ,
WrongVdwType   
)
Here is the call graph for this function:

◆ TEST_F() [14/28]

TEST_F ( vdwd3abcTest  ,
D30GetEnergy   
)
Here is the call graph for this function:

◆ TEST_F() [15/28]

TEST_F ( vdwd3abcTest  ,
D30GetForce   
)
Here is the call graph for this function:

◆ TEST_F() [16/28]

TEST_F ( vdwd3abcTest  ,
D30GetStress   
)
Here is the call graph for this function:

◆ TEST_F() [17/28]

TEST_F ( vdwd3abcTest  ,
D3bjGetEnergy   
)
Here is the call graph for this function:

◆ TEST_F() [18/28]

TEST_F ( vdwd3abcTest  ,
D3bjGetForce   
)
Here is the call graph for this function:

◆ TEST_F() [19/28]

TEST_F ( vdwd3abcTest  ,
D3bjGetStress   
)
Here is the call graph for this function:

◆ TEST_F() [20/28]

TEST_F ( vdwd3Test  ,
D30Default   
)
Here is the call graph for this function:

◆ TEST_F() [21/28]

TEST_F ( vdwd3Test  ,
D30GetEnergy   
)
Here is the call graph for this function:

◆ TEST_F() [22/28]

TEST_F ( vdwd3Test  ,
D30GetForce   
)
Here is the call graph for this function:

◆ TEST_F() [23/28]

TEST_F ( vdwd3Test  ,
D30GetStress   
)
Here is the call graph for this function:

◆ TEST_F() [24/28]

TEST_F ( vdwd3Test  ,
D30Period   
)
Here is the call graph for this function:

◆ TEST_F() [25/28]

TEST_F ( vdwd3Test  ,
D30UnitA   
)
Here is the call graph for this function:

◆ TEST_F() [26/28]

TEST_F ( vdwd3Test  ,
D3bjGetEnergy   
)
Here is the call graph for this function:

◆ TEST_F() [27/28]

TEST_F ( vdwd3Test  ,
D3bjGetForce   
)
Here is the call graph for this function:

◆ TEST_F() [28/28]

TEST_F ( vdwd3Test  ,
D3bjGetStress   
)
Here is the call graph for this function: