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

Derived types and interfaces

interface  c_abort
 

Functions/Subroutines

subroutine, public sll_s_warning_handler (file_name, line_num, caller, message)
 Print warning message to standard-error and continue execution. More...
 
subroutine, public sll_s_error_handler (file_name, line_num, caller, message)
 Print error message to standard-error, stop execution and dump backtrace information. More...
 
subroutine errout (out_unit, severity, file_name, line_num, caller, message)
 Write error/warning message to a given unit. More...
 

Function/Subroutine Documentation

◆ errout()

subroutine sll_m_errors::errout ( integer, intent(in)  out_unit,
character(len=1), intent(in)  severity,
character(len=*), intent(in)  file_name,
integer, intent(in)  line_num,
character(len=*), intent(in)  caller,
character(len=*), intent(in)  message 
)
private

Write error/warning message to a given unit.

Parameters
[in]out_unitoutput file unit number
[in]severity"W" or "F" : Warning or Fatal
[in]file_namefile name
[in]line_numline number
[in]callerprogram/subroutine/function
[in]messageerror message

Definition at line 66 of file sll_m_errors.F90.

Here is the caller graph for this function:

◆ sll_s_error_handler()

subroutine, public sll_m_errors::sll_s_error_handler ( character(len=*), intent(in)  file_name,
integer, intent(in)  line_num,
character(len=*), intent(in)  caller,
character(len=*), intent(in)  message 
)

Print error message to standard-error, stop execution and dump backtrace information.

Parameters
[in]file_namefile name
[in]line_numline number
[in]callerprogram/subroutine/function
[in]messageerror message

Definition at line 49 of file sll_m_errors.F90.

Here is the call graph for this function:

◆ sll_s_warning_handler()

subroutine, public sll_m_errors::sll_s_warning_handler ( character(len=*), intent(in)  file_name,
integer, intent(in)  line_num,
character(len=*), intent(in)  caller,
character(len=*), intent(in)  message 
)

Print warning message to standard-error and continue execution.

Parameters
[in]file_namefile name
[in]line_numline number
[in]callerprogram/subroutine/function
[in]messageerror message

Definition at line 33 of file sll_m_errors.F90.

Here is the call graph for this function:
    Report Typos and Errors