(git:6a2e663)
base_hooks Module Reference

Central dispatch for basic hooks. More...

Functions/Subroutines

subroutine, public cp_abort (location, message)
 Terminate the program. More...
 
subroutine, public cp_warn (location, message)
 Issue a warning. More...
 
subroutine, public cp_hint (location, message)
 Issue a hint. More...
 
subroutine, public timeset (routineN, handle)
 Start timer. More...
 
subroutine, public timestop (handle)
 Stop timer. More...
 
subroutine, public cp__a (filename, lineNr)
 CPASSERT handler. More...
 
subroutine, public cp__b (filename, lineNr, message)
 CPABORT handler. More...
 
subroutine, public cp__w (filename, lineNr, message)
 CPWARN handler. More...
 
subroutine, public cp__h (filename, lineNr, message)
 CPHINT handler. More...
 
character(len=default_string_length) function, public cp__l (filename, lineNr)
 Helper routine to assemble LOCATION More...
 

Variables

procedure(cp_abort_interface), pointer, public cp_abort_hook => Null()
 
procedure(cp_warn_interface), pointer, public cp_warn_hook => Null()
 
procedure(cp_hint_interface), pointer, public cp_hint_hook => Null()
 
procedure(timeset_interface), pointer, public timeset_hook => Null()
 
procedure(timestop_interface), pointer, public timestop_hook => Null()
 

Detailed Description

Central dispatch for basic hooks.

Author
Ole Schuett

Function/Subroutine Documentation

◆ cp_abort()

subroutine, public base_hooks::cp_abort ( character(len=*), intent(in)  location,
character(len=*), intent(in)  message 
)

Terminate the program.

Parameters
location...
message...
Author
Ole Schuett

Definition at line 72 of file base_hooks.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cp_warn()

subroutine, public base_hooks::cp_warn ( character(len=*), intent(in)  location,
character(len=*), intent(in)  message 
)

Issue a warning.

Parameters
location...
message...
Author
Ole Schuett

Definition at line 92 of file base_hooks.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cp_hint()

subroutine, public base_hooks::cp_hint ( character(len=*), intent(in)  location,
character(len=*), intent(in)  message 
)

Issue a hint.

Parameters
location...
message...
Author
Hans Pabst

Definition at line 109 of file base_hooks.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ timeset()

subroutine, public base_hooks::timeset ( character(len=*), intent(in)  routineN,
integer, intent(out)  handle 
)

Start timer.

Parameters
routineN...
handle...
Author
Ole Schuett

Definition at line 126 of file base_hooks.F.

◆ timestop()

subroutine, public base_hooks::timestop ( integer, intent(in)  handle)

Stop timer.

Parameters
handle...
Author
Ole Schuett

Definition at line 142 of file base_hooks.F.

Here is the call graph for this function:

◆ cp__a()

subroutine, public base_hooks::cp__a ( character(len=*), intent(in)  filename,
integer, intent(in)  lineNr 
)

CPASSERT handler.

Parameters
filename...
lineNr...
Author
Ole Schuett

Definition at line 159 of file base_hooks.F.

Here is the call graph for this function:

◆ cp__b()

subroutine, public base_hooks::cp__b ( character(len=*), intent(in)  filename,
integer, intent(in)  lineNr,
character(len=*), intent(in)  message 
)

CPABORT handler.

Parameters
filename...
lineNr...
message...
Author
Ole Schuett

Definition at line 175 of file base_hooks.F.

Here is the call graph for this function:

◆ cp__w()

subroutine, public base_hooks::cp__w ( character(len=*), intent(in)  filename,
integer, intent(in)  lineNr,
character(len=*), intent(in)  message 
)

CPWARN handler.

Parameters
filename...
lineNr...
message...
Author
Ole Schuett

Definition at line 192 of file base_hooks.F.

Here is the call graph for this function:

◆ cp__h()

subroutine, public base_hooks::cp__h ( character(len=*), intent(in)  filename,
integer, intent(in)  lineNr,
character(len=*), intent(in)  message 
)

CPHINT handler.

Parameters
filename...
lineNr...
message...
Author
Hans Pabst

Definition at line 207 of file base_hooks.F.

Here is the call graph for this function:

◆ cp__l()

character(len=default_string_length) function, public base_hooks::cp__l ( character(len=*), intent(in)  filename,
integer, intent(in)  lineNr 
)

Helper routine to assemble LOCATION

Parameters
filename...
lineNr...
Returns
...
Author
Ole Schuett

Definition at line 222 of file base_hooks.F.

Here is the caller graph for this function:

Variable Documentation

◆ cp_abort_hook

procedure(cp_abort_interface), pointer, public base_hooks::cp_abort_hook => Null()

Definition at line 58 of file base_hooks.F.

◆ cp_warn_hook

procedure(cp_warn_interface), pointer, public base_hooks::cp_warn_hook => Null()

Definition at line 59 of file base_hooks.F.

◆ cp_hint_hook

procedure(cp_hint_interface), pointer, public base_hooks::cp_hint_hook => Null()

Definition at line 60 of file base_hooks.F.

◆ timeset_hook

procedure(timeset_interface), pointer, public base_hooks::timeset_hook => Null()

Definition at line 61 of file base_hooks.F.

◆ timestop_hook

procedure(timestop_interface), pointer, public base_hooks::timestop_hook => Null()

Definition at line 62 of file base_hooks.F.