PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Functions/Subroutines
test Module Reference

Generic tests. More...

Functions/Subroutines

integer function, public generic_tests ()
 Performs generic tests. More...
 
integer function test_calc_d2_smooth ()
 Test calc_d2_smooth(). More...
 
integer function test_splines ()
 Test spline(). More...
 
integer function test_tor_fun ()
 Test calculation of toroidal functions. More...
 
integer function test_read_hdf5_subset ()
 Tests reading of HDF5 subset. More...
 
integer function test_calc_int_vol ()
 Tests calculation of volume integral. More...
 

Detailed Description

Generic tests.

Function/Subroutine Documentation

◆ generic_tests()

integer function, public test::generic_tests

Performs generic tests.

These tests are run in interactive fashion by running the program with the –test command-line option.

See also
init_files()
Note
  1. It is probably also recommended to run it with –do_execute_command_line in order to generate the plots in real time.
  2. It has not been tested whether testing routines "pollutes" the further simulations. It is therefore best to not use the tests when doing a real run.
Debug version only
Returns
ierr

Definition at line 39 of file test.f90.

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

◆ test_calc_d2_smooth()

integer function test::test_calc_d2_smooth

Test calc_d2_smooth().

Returns
ierr

Definition at line 106 of file test.f90.

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

◆ test_calc_int_vol()

integer function test::test_calc_int_vol

Tests calculation of volume integral.

Returns
ierr

Definition at line 1335 of file test.f90.

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

◆ test_read_hdf5_subset()

integer function test::test_read_hdf5_subset

Tests reading of HDF5 subset.

Returns
ierr

Definition at line 806 of file test.f90.

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

◆ test_splines()

integer function test::test_splines

Test spline().

Returns
ierr

Definition at line 188 of file test.f90.

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

◆ test_tor_fun()

integer function test::test_tor_fun

Test calculation of toroidal functions.

Returns
ierr

Definition at line 664 of file test.f90.

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