ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Macros | Functions
sph_bessel_recursive_test.cpp File Reference
#include "../sph_bessel_recursive.h"
#include "gtest/gtest.h"
Include dependency graph for sph_bessel_recursive_test.cpp:

Macros

#define threshold   1e-12
 

Functions

double mean (std::vector< double > &vect)
 
 TEST (SphBessel, D1)
 
 TEST (SphBessel, D2)
 

Macro Definition Documentation

◆ threshold

#define threshold   1e-12

Function Documentation

◆ mean()

double mean ( std::vector< double > &  vect)

Note: this unit test try to ensure the invariance of the spherical Bessel produced by class Sph_Bessel_Recursive, and the reference results are produced by ModuleBase::Sph_Bessel_Recursive at 2022-1-25.

Here is the caller graph for this function:

◆ TEST() [1/2]

TEST ( SphBessel  ,
D1   
)
Here is the call graph for this function:

◆ TEST() [2/2]

TEST ( SphBessel  ,
D2   
)
Here is the call graph for this function: