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.
Delete the file with the given name.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*) | :: | filename | Name of the file to delete. |
Write an array of reals into a file of the given name.
Type | Intent | Optional | 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 |