w90_error Module

Module to handle errors


Uses

  • module~~w90_error~~UsesGraph module~w90_error w90_error module~w90_comms w90_comms module~w90_error->module~w90_comms module~w90_error_base w90_error_base module~w90_error->module~w90_error_base module~w90_comms->module~w90_error_base module~w90_constants w90_constants module~w90_comms->module~w90_constants

Used by


Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: code_ok = 0
integer, public, parameter :: code_fatal = 1
integer, public, parameter :: code_alloc = 2
integer, public, parameter :: code_dealloc = 3
integer, public, parameter :: code_mpi = 4
integer, public, parameter :: code_input = 5
integer, public, parameter :: code_file = 6
integer, public, parameter :: code_unconv = -1
integer, public, parameter :: code_warning = -2

Subroutines

public subroutine set_error_fatal(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm

public subroutine set_error_alloc(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm

public subroutine set_error_dealloc(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm

public subroutine set_error_mpi(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm

public subroutine set_error_input(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm

public subroutine set_error_file(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm

public subroutine set_error_unconv(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm

public subroutine set_error_warn(err, mesg, comm)

Arguments

Type IntentOptional Attributes Name
type(w90_error_type), intent(out), allocatable :: err
character(len=*), intent(in) :: mesg
type(w90_comm_type), intent(in) :: comm