test_support Derived Type

type, public :: test_support


Inherits

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

Components

Type Visibility Attributes Name Initial
integer(kind=INT64), public :: close_file_time
integer(kind=INT64), public :: create_file_time
integer(kind=INT64), public :: mpi_time
integer(kind=INT64), public :: write_2d_time
integer(kind=INT64), public :: write_3d_time
integer(kind=INT64), public :: write_counter
integer, public :: face_index
integer, public :: gather_comm
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 :: n_trials
integer, public :: ncid
integer, public :: num_arrays
integer, public :: num_writers
integer, public :: nx
integer, public :: ny
integer, public :: writers_comm
integer, public :: xcomm
integer, public :: ycomm
logical, public :: do_chunking
logical, public :: do_writes
logical, public :: extra_info
logical, public :: gather_3D
logical, public :: netcdf_writes
logical, public :: random
logical, public :: split_file
logical, public :: write_barrier
real(kind=REAL64), public :: data_volume
real(kind=REAL64), public :: time_mpi
real(kind=REAL64), public :: time_writing
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 :: create_file

  • public subroutine create_file(this)

    Arguments

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

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

procedure, public :: write_file

  • public subroutine write_file(this)

    Arguments

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

procedure, public :: write_level

  • public subroutine write_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 :: write_variable

  • public subroutine write_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(:,:,:)