test_support Derived Type

type, public :: test_support


Inherits

type~~test_support~2~~InheritsGraph type~test_support~2 test_support type~array_wrapper~2 array_wrapper type~test_support~2->type~array_wrapper~2 bundle

Components

Type Visibility Attributes Name Initial
integer(kind=INT64), public :: close_file_time
integer(kind=INT64), public :: mpi_time
integer(kind=INT64), public :: open_file_time
integer(kind=INT64), public :: read_2d_time
integer(kind=INT64), public :: read_3d_time
integer(kind=INT64), public :: read_counter
integer, public :: face_index
integer, public, allocatable :: i1(:)
integer, public :: im_world
integer, public, allocatable :: in(:)
integer, public, allocatable :: j1(:)
integer, public, allocatable :: jn(:)
integer, public :: lm
integer, public :: my_rank
integer, public :: n_trials
integer, public :: ncid
integer, public :: num_arrays
integer, public :: num_readers
integer, public :: nx
integer, public :: ny
integer, public :: readers_comm
integer, public :: scatter_comm
integer, public :: xcomm
integer, public :: ycomm
logical, public :: do_reads
logical, public :: extra_info
logical, public :: netcdf_reads
logical, public :: random
logical, public :: read_barrier
logical, public :: scatter_3d
logical, public :: split_file
real(kind=REAL64), public :: data_volume
real(kind=REAL64), public :: time_mpi
real(kind=REAL64), public :: time_reading
type(array_wrapper), public, allocatable :: bundle(:)

Type-Bound Procedures

procedure, public :: allocate_n_arrays

  • public subroutine allocate_n_arrays(this, im, jm)

    Arguments

    Type IntentOptional Attributes Name
    class(test_support), intent(inout) :: this
    integer, intent(in) :: im
    integer, intent(in) :: jm

procedure, public :: close_file

  • public subroutine close_file(this)

    Arguments

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

procedure, public :: compute_decomposition

  • public function compute_decomposition(this, axis) result(decomp)

    Arguments

    Type IntentOptional Attributes Name
    class(test_support), intent(inout) :: this
    integer, intent(in) :: axis

    Return Value integer, allocatable, (:)

procedure, public :: create_arrays

  • public subroutine create_arrays(this)

    Arguments

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

procedure, public :: create_communicators

procedure, public :: open_file

  • public subroutine open_file(this)

    Arguments

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

procedure, public :: read_file

  • public subroutine read_file(this)

    Arguments

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

procedure, public :: read_level

  • public subroutine read_level(this, var_name, local_var, z_index)

    Arguments

    Type IntentOptional Attributes Name
    class(test_support), intent(inout) :: this
    character(len=*), intent(in) :: var_name
    real, intent(in) :: local_var(:,:)
    integer, intent(in) :: z_index

procedure, public :: read_variable

  • public subroutine read_variable(this, var_name, local_var)

    Arguments

    Type IntentOptional Attributes Name
    class(test_support), intent(inout) :: this
    character(len=*), intent(in) :: var_name
    real, intent(in) :: local_var(:,:,:)

procedure, public :: reset

  • public subroutine reset(this)

    Arguments

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

procedure, public :: set_parameters

  • public subroutine set_parameters(this, config_file)

    Arguments

    Type IntentOptional Attributes Name
    class(test_support), intent(inout) :: this
    character(len=*), intent(in) :: config_file