ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
reciprocal_grid_test.cpp File Reference

Unit tests for ModuleCell::ReciprocalGrid base class. More...

#include "gtest/gtest.h"
#include "source_cell/atom_pseudo.h"
#include "source_cell/atom_spec.h"
#include "source_cell/magnetism.h"
#include "source_cell/pseudo.h"
#include "source_cell/reciprocal_grid.h"
#include "source_cell/unitcell.h"
#include <cmath>
#include <vector>
Include dependency graph for reciprocal_grid_test.cpp:

Classes

class  TestGrid
 Minimal concrete subclass exposing the pure-virtual hook. More...
class  ReciprocalGridTest

Functions

 TEST_F (ReciprocalGridTest, Construct)
 TEST_F (ReciprocalGridTest, MPFormula)
 TEST_F (ReciprocalGridTest, MonkhorstPackGeneration)
 TEST_F (ReciprocalGridTest, D2CConversion)
 TEST_F (ReciprocalGridTest, D2CCleansNumericalNoise)
 TEST_F (ReciprocalGridTest, D2CC2DRoundTrip)
 TEST_F (ReciprocalGridTest, NormalizeWk)
 TEST_F (ReciprocalGridTest, ReduceIbzNonMp)
 TEST_F (ReciprocalGridTest, ReduceIbzKeepsDistinctPoints)
 TEST_F (ReciprocalGridTest, ReduceIbzMpKLattice)
 TEST (ReciprocalGrid, KpointsEquivalentModuloReciprocalVectors)

Detailed Description

Unit tests for ModuleCell::ReciprocalGrid base class.

Covers the spin-free shared functionality: Monkhorst-Pack mesh generation, the Monkhorst-Pack coordinate formula, direct/Cartesian conversion, weight normalization and the star (IBZ) reduction primitive.

Function Documentation

◆ TEST()

TEST ( ReciprocalGrid ,
KpointsEquivalentModuloReciprocalVectors  )
Here is the call graph for this function:

◆ TEST_F() [1/10]

TEST_F ( ReciprocalGridTest ,
Construct  )

◆ TEST_F() [2/10]

TEST_F ( ReciprocalGridTest ,
D2CC2DRoundTrip  )
Here is the call graph for this function:

◆ TEST_F() [3/10]

TEST_F ( ReciprocalGridTest ,
D2CCleansNumericalNoise  )

◆ TEST_F() [4/10]

TEST_F ( ReciprocalGridTest ,
D2CConversion  )

◆ TEST_F() [5/10]

TEST_F ( ReciprocalGridTest ,
MonkhorstPackGeneration  )

◆ TEST_F() [6/10]

TEST_F ( ReciprocalGridTest ,
MPFormula  )

◆ TEST_F() [7/10]

TEST_F ( ReciprocalGridTest ,
NormalizeWk  )

◆ TEST_F() [8/10]

TEST_F ( ReciprocalGridTest ,
ReduceIbzKeepsDistinctPoints  )

◆ TEST_F() [9/10]

TEST_F ( ReciprocalGridTest ,
ReduceIbzMpKLattice  )

◆ TEST_F() [10/10]

TEST_F ( ReciprocalGridTest ,
ReduceIbzNonMp  )