Stellarator-Tools
fourier::check Interface Reference

Interface for checking results of the unit tests. More...

Public Member Functions

logical function check_all (expected, received, mpol, ntor, tor_modes, name
 Check all test values. More...
 
logical function check_mn (expected, received, m, n, name)
 Check test values. More...
 

Detailed Description

Interface for checking results of the unit tests.

Member Function/Subroutine Documentation

◆ check_all()

logical function fourier::check::check_all ( real (rprec), dimension(:,:), intent(in)  expected,
real (rprec), dimension(:,:), intent(in)  received,
integer, intent(in)  mpol,
integer, intent(in)  ntor,
integer, dimension(-ntor:ntor), intent(in)  tor_modes,
character (len=*), intent(in)  name 
)

Check all test values.

Parameters
[in]expectedExpected value for the test.
[in]receivedRecieved value for the test.
[in]mpolNumber of poloidal modes.
[in]ntorNumber of toroidal modes.
[in]tor_modesToroidal modes.
[in]nameName of the test.

◆ check_mn()

logical function fourier::check::check_mn ( real (rprec), intent(in)  expected,
real (rprec), intent(in)  received,
integer, intent(in)  m,
integer, intent(in)  n,
character (len=*), intent(in)  name 
)

Check test values.

Parameters
[in]expectedExpected value for the test.
[in]receivedRecieved value for the test.
[in]mPoloidal mode to check.
[in]nToroidal mode to check.
[in]nameName of the test.

The documentation for this interface was generated from the following file: