ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_basis/module_nao/real_gaunt_table.h"
#include "gtest/gtest.h"
#include <iostream>
#include <fstream>
#include <mpi.h>
#include <chrono>
#include "source_base/constants.h"
#include "source_basis/module_ao/ORB_gaunt_table.h"
Classes | |
class | RealGauntTableTest |
struct | gaunt_ans |
gaunt function test: Use the sympy gaunt function run results as the test set. Test set results are stored in Gaunt.txt with data structure l1 l2 l3 m1 m2 m3 gaunt(l1,l2,l3,m1,m2,m3). Double precision machine error (1e-15) is used to compare the accuracy of the function in abacus and the gaunt function in sumpy. More... | |
Macros | |
#define | len_gaunt 7242 |
Typedefs | |
using | iclock = std::chrono::high_resolution_clock |
Functions | |
TEST_F (RealGauntTableTest, LegacyConsistency) | |
TEST_F (RealGauntTableTest, SanityCheck) | |
TEST_F (RealGauntTableTest, Check2) | |
real gaunt function test: Using sympy realgaunt function test points set. 2 failed test case with a sign error occurred on some cases of the actual Gaunt coefficients of 2 negative m | |
TEST_F (RealGauntTableTest, Check3) | |
int | main (int argc, char **argv) |
Variables | |
struct gaunt_ans | gaunt_ans |
#define len_gaunt 7242 |
using iclock = std::chrono::high_resolution_clock |
int main | ( | int | argc, |
char ** | argv | ||
) |
TEST_F | ( | RealGauntTableTest | , |
Check2 | |||
) |
real gaunt function test: Using sympy realgaunt function test points set. 2 failed test case with a sign error occurred on some cases of the actual Gaunt coefficients of 2 negative m
TEST_F | ( | RealGauntTableTest | , |
Check3 | |||
) |
TEST_F | ( | RealGauntTableTest | , |
LegacyConsistency | |||
) |
TEST_F | ( | RealGauntTableTest | , |
SanityCheck | |||
) |