monitor_obj Derived Type

type, private :: monitor_obj

Monitor object


Inherits

type~~monitor_obj~~InheritsGraph type~monitor_obj monitor_obj type~column_obj column_obj type~monitor_obj->type~column_obj col

Inherited by

type~~monitor_obj~~InheritedByGraph type~monitor_obj monitor_obj type~monitor_set monitor_set type~monitor_set->type~monitor_obj m type~cdifs_obj cdifs_obj type~cdifs_obj->type~monitor_set monitors, pmonitor type~marker_set marker_set type~cdifs_obj->type~marker_set IB type~respart_set ResPart_set type~cdifs_obj->type~respart_set RP type~grans_obj grans_obj type~grans_obj->type~monitor_set monitors type~grans_obj->type~marker_set IB type~grans_obj->type~respart_set RP type~marker_set->type~monitor_set monitors type~respart_set->type~monitor_set monitors type~respart_set->type~marker_set ib type~solid_obj solid_obj type~solid_obj->type~marker_set type~solid_set solid_set type~solid_set->type~solid_obj p

Components

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


Type-Bound Procedures

procedure, public :: Finalize => monitor_obj_Final

Finalize a monitor object

  • private subroutine monitor_obj_Final(this)

    Finalize the monitor object

    Arguments

    Type IntentOptional Attributes Name
    class(monitor_obj), intent(inout) :: this

    A monitor object

procedure, public :: Formats => monitor_obj_Formats

Define the format specifiers

  • private subroutine monitor_obj_Formats(this)

    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

    Arguments

    Type IntentOptional Attributes Name
    class(monitor_obj), intent(inout) :: this

    A monitor object

procedure, public :: Initialize => monitor_obj_Init

Intialize a monitor object

  • private subroutine monitor_obj_Init(this, name, ncol, sep)

    Intializes a single monitor

    Arguments

    Type IntentOptional 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

procedure, public :: Print => monitor_obj_Print

Print the content of this monitor

  • private subroutine monitor_obj_Print(this, print_labels)

    Prints to file or stdout content of the monitor

    Arguments

    Type IntentOptional Attributes Name
    class(monitor_obj), intent(inout) :: this

    A monitor object

    logical, intent(in) :: print_labels

    True if we want to print the labels

procedure, public :: SetVal => monitor_obj_SetVal

Set the value

  • private subroutine monitor_obj_SetVal(this, n, value)

    Finalize the monitor object

    Arguments

    Type IntentOptional Attributes Name
    class(monitor_obj), intent(inout) :: this

    A monitor object

    integer, intent(in) :: n

    Column index

    class(*), intent(in) :: value

    Value