Multidip  1.0
Multi-photon matrix elements
multidip_tests Module Reference

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...
 

Detailed Description

MULTIDIP unit tests.

Author
J Benda
Date
2020

This module contains a few sanity unit self-tests that can be executed using "multidip --test".

Function/Subroutine Documentation

◆ run_tests()

subroutine multidip_tests::run_tests ( )

Numerical unit tests.

Author
J Benda
Date
2020

Run the low-level computational routines and compare their outputs to reference results.

Definition at line 43 of file multidip_tests.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_1p_cint()

subroutine multidip_tests::test_1p_cint ( )

One-photon Coulomb integral unit tests.

Author
J Benda
Date
2020

Tests the function nested_coul_integ for several arguments.

Definition at line 178 of file multidip_tests.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_1p_eint()

subroutine multidip_tests::test_1p_eint ( )

One-photon exponential integral unit tests.

Author
J Benda
Date
2020

Tests the function nested_exp_integ for several arguments.

Definition at line 130 of file multidip_tests.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_2p_cint()

subroutine multidip_tests::test_2p_cint ( )

Two-photon Coulomb integral unit tests.

Author
J Benda
Date
2020

Tests the function nested_coul_integ for several arguments.

Definition at line 239 of file multidip_tests.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_2p_gint()

subroutine multidip_tests::test_2p_gint ( )

Two-photon Green integral unit tests.

Author
J Benda
Date
2020

Tests the function nested_cgreen_integ for several arguments.

Definition at line 313 of file multidip_tests.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_coul()

subroutine multidip_tests::test_coul ( )

Negative-energy Coulomb function tests.

Author
J Benda
Date
2020

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_permutations()

subroutine multidip_tests::test_permutations ( )

Permutations unit tests.

Author
J Benda
Date
2020

Calculate a few permutations using the custom implementation of next_permutation to test for correctness.

Definition at line 64 of file multidip_tests.f90.

Here is the call graph for this function:
Here is the caller graph for this function: