Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Functions/Subroutines
sll_m_memory Module Reference

Description

Implements the error testing function and other related functionalities.

Author
Edwin Chacon-Golcher INRIA

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

Function/Subroutine Documentation

◆ sll_s_test_error_code()

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.

Parameters
[in]err_codethe error code to be tested
[in]descriptorshort description of the error
[in]file_namefile name in which the error occurred
[in]line_numberline number of the call

Definition at line 63 of file sll_m_memory.F90.

    Report Typos and Errors