Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Implements the error testing function and other related functionalities.
Functions/Subroutines | |
subroutine, public | sll_s_test_error_code (err_code, descriptor, file_name, line_number) |
Test if there is an error and write it on the screen. More... | |
subroutine, public sll_m_memory::sll_s_test_error_code | ( | integer | err_code, |
character(len=*), intent(in) | descriptor, | ||
character(len=*), intent(in) | file_name, | ||
integer, intent(in) | line_number | ||
) |
Test if there is an error and write it on the screen.
We assume that an error code is set to 0 if there is no problem at the function output. Thus, we check the value of the error code and if it's different to 0, the routine writes an error message on the screen.
[in] | err_code | the error code to be tested |
[in] | descriptor | short description of the error |
[in] | file_name | file name in which the error occurred |
[in] | line_number | line number of the call |
Definition at line 63 of file sll_m_memory.F90.