tem_probing_module Module

This module provides some little functionality to easily write data into files for debugging.

It is related to tem_debug_module, but intended for even smaller tasks and specifically for tracking the evolution of values over the runtime.


Uses


Subroutines

public subroutine tem_probing_delete(filename)

Delete the file with the given name.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*) :: filename

Name of the file to delete.

public subroutine tem_probing_write(filename, label, dat)

Write an array of reals into a file of the given name.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Name of the file to write the data to. If the file already exists, the data will be appended.

character(len=*), intent(in) :: label

Label to identify the point in the program execution, where the data was written.

real(kind=rk), intent(in) :: dat(:)

Data to write to the file