Monitor object
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=16), | public | :: | FMT(4) |
Format specifiers |
|||
type(column_obj), | public, | allocatable | :: | col(:) |
Columns |
||
integer, | public | :: | fid |
Monitor IO unit |
|||
character(len=monSize), | public | :: | name |
Name of the monitor file |
|||
character(len=1), | public | :: | sep |
Column seperator |
|||
logical, | public | :: | stdout |
Print to stdout |
Finalize a monitor object
Finalize the monitor object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(monitor_obj), | intent(inout) | :: | this |
A monitor object |
Define the format specifiers
Define how to print numbers Format specifier for an integer Format specifier for a real Format specifier for a logical Format specifier for a full line
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(monitor_obj), | intent(inout) | :: | this |
A monitor object |
Intialize a monitor object
Intializes a single monitor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(monitor_obj), | intent(inout) | :: | this |
A monitor object |
||
character(len=*), | intent(in) | :: | name |
Name of the monitor |
||
integer, | intent(in) | :: | ncol |
Number of columns |
||
character(len=*), | intent(in), | optional | :: | sep |
Number of columns |
Print the content of this monitor
Prints to file or stdout content of the monitor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(monitor_obj), | intent(inout) | :: | this |
A monitor object |
||
logical, | intent(in) | :: | print_labels |
True if we want to print the labels |
Set the value
Finalize the monitor object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(monitor_obj), | intent(inout) | :: | this |
A monitor object |
||
integer, | intent(in) | :: | n |
Column index |
||
class(*), | intent(in) | :: | value |
Value |