dbcsr_iter_types Module

Collection of routines to handle the iteration info



Variables

Type Visibility Attributes Name Initial
character(len=*), private, parameter :: moduleN = 'dbcsr_iter_types'
logical, private, parameter :: debug_this_module = .FALSE.
integer, private, SAVE :: last_it_info_id = 0

Derived Types

type, public ::  dbcsr_iteration_info_type

contains the information about the current state of the program to be able to decide if output is necessary

Components

Type Visibility Attributes Name Initial
integer, public :: ref_count = -1
integer, public :: id_nr = -1
integer, public :: print_level = -1
integer, public :: n_rlevel = -1
integer, public, DIMENSION(:), POINTER :: iteration => NULL()
logical, public, DIMENSION(:), POINTER :: last_iter => NULL()
character(len=default_string_length), public :: project_name = ""
character(len=default_string_length), public, DIMENSION(:), POINTER :: level_name => NULL()

Subroutines

public subroutine dbcsr_iteration_info_create(iteration_info, project_name)

creates an output info object

Arguments

Type IntentOptional Attributes Name
type(dbcsr_iteration_info_type), POINTER :: iteration_info

the object to create

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

name of the project, used to create the filenames

public subroutine dbcsr_iteration_info_retain(iteration_info)

retains the iteration_info (see doc/ReferenceCounting.html)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_iteration_info_type), POINTER :: iteration_info

the iteration_info to retain

public subroutine dbcsr_iteration_info_release(iteration_info)

releases the iteration_info (see doc/ReferenceCounting.html)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_iteration_info_type), POINTER :: iteration_info

the iteration_info to release