ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_lj_forcefield.cpp File Reference
#include "lj_test_solver.h"
#include "source_base/parallel_cell.h"
#include "source_cell/dom_decomp.h"
#include "source_io/module_parameter/parameter.h"
#include "source_md/md_func.h"
#include "source_md/unittests/setcell.h"
#include "gtest/gtest.h"
#include <cstdint>
#include <fstream>
#include <string>
#include "source_esolver/esolver_forcefields.h"
#include "source_md/module_lj/lj_forcefield.h"
#include <memory>
#include <utility>
Include dependency graph for test_lj_forcefield.cpp:

Classes

class  LJ_pot_test

Functions

 TEST_F (LJ_pot_test, potential)
 TEST_F (LJ_pot_test, unitcell_compatibility)
 TEST_F (LJ_pot_test, force)
 TEST_F (LJ_pot_test, mdcell_cal_force)
 TEST_F (LJ_pot_test, stress)
 TEST_F (LJ_pot_test, RcutSearchRadius)
 TEST_F (LJ_pot_test, SetC6C12)
 TEST_F (LJ_pot_test, CalEnShift)
 TEST (LJPotential, UnitCellEnergyForceAndStress)
 TEST (LJPotential, MDCellWritesOwnedForces)
 TEST (LJPotential, SplitCommunicatorReducesWithinCell)

Variables

constexpr double doublethreshold = 1e-12

Function Documentation

◆ TEST() [1/3]

TEST ( LJPotential ,
MDCellWritesOwnedForces  )
Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( LJPotential ,
SplitCommunicatorReducesWithinCell  )
Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( LJPotential ,
UnitCellEnergyForceAndStress  )
Here is the call graph for this function:

◆ TEST_F() [1/8]

TEST_F ( LJ_pot_test ,
CalEnShift  )
Here is the call graph for this function:

◆ TEST_F() [2/8]

TEST_F ( LJ_pot_test ,
force  )
Here is the call graph for this function:

◆ TEST_F() [3/8]

TEST_F ( LJ_pot_test ,
mdcell_cal_force  )
Here is the call graph for this function:

◆ TEST_F() [4/8]

TEST_F ( LJ_pot_test ,
potential  )
Here is the call graph for this function:

◆ TEST_F() [5/8]

TEST_F ( LJ_pot_test ,
RcutSearchRadius  )
Here is the call graph for this function:

◆ TEST_F() [6/8]

TEST_F ( LJ_pot_test ,
SetC6C12  )
Here is the call graph for this function:

◆ TEST_F() [7/8]

TEST_F ( LJ_pot_test ,
stress  )
Here is the call graph for this function:

◆ TEST_F() [8/8]

TEST_F ( LJ_pot_test ,
unitcell_compatibility  )
Here is the call graph for this function:

Variable Documentation

◆ doublethreshold

double doublethreshold = 1e-12
constexpr