Multidip
1.0
Multi-photon matrix elements
|
MULTIDIP unit tests. More...
Functions/Subroutines | |
subroutine | run_tests |
Numerical unit tests. More... | |
subroutine | test_permutations |
Permutations unit tests. More... | |
subroutine | test_coul |
Negative-energy Coulomb function tests. More... | |
subroutine | test_1p_eint |
One-photon exponential integral unit tests. More... | |
subroutine | test_1p_cint |
One-photon Coulomb integral unit tests. More... | |
subroutine | test_2p_cint |
Two-photon Coulomb integral unit tests. More... | |
subroutine | test_2p_gint |
Two-photon Green integral unit tests. More... | |
MULTIDIP unit tests.
This module contains a few sanity unit self-tests that can be executed using "multidip --test".
subroutine multidip_tests::run_tests | ( | ) |
Numerical unit tests.
Run the low-level computational routines and compare their outputs to reference results.
Definition at line 43 of file multidip_tests.f90.
subroutine multidip_tests::test_1p_cint | ( | ) |
One-photon Coulomb integral unit tests.
Tests the function nested_coul_integ
for several arguments.
Definition at line 178 of file multidip_tests.f90.
subroutine multidip_tests::test_1p_eint | ( | ) |
One-photon exponential integral unit tests.
Tests the function nested_exp_integ
for several arguments.
Definition at line 130 of file multidip_tests.f90.
subroutine multidip_tests::test_2p_cint | ( | ) |
Two-photon Coulomb integral unit tests.
Tests the function nested_coul_integ
for several arguments.
Definition at line 239 of file multidip_tests.f90.
subroutine multidip_tests::test_2p_gint | ( | ) |
Two-photon Green integral unit tests.
Tests the function nested_cgreen_integ
for several arguments.
Definition at line 313 of file multidip_tests.f90.
subroutine multidip_tests::test_coul | ( | ) |
Negative-energy Coulomb function tests.
Compare negative-energy Coulomb (Whittaker) functions calculated by UKRmol-out and by GSL with the expected asymptotic behaviour (DLMF ยง13.19.3).
Definition at line 90 of file multidip_tests.f90.
subroutine multidip_tests::test_permutations | ( | ) |
Permutations unit tests.
Calculate a few permutations using the custom implementation of next_permutation to test for correctness.
Definition at line 64 of file multidip_tests.f90.