growing_buffers Module



Contents


Derived Types

type, public ::  buffer_real_1D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
real(kind=dp), private, dimension(:), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_real_1D Subroutine
procedure , public , :: finalize => finalize_real_1D Subroutine
procedure , private :: reset => reset_real_1D Subroutine
procedure , public , :: size => get_size_real_1D Function
procedure , public , :: capacity => get_capacity_real_1D Function
procedure , public , :: push_back => add_val_real_1D Subroutine
procedure , private :: dump => dump_real_1D Subroutine
procedure , public , :: dump_reset => dump_reset_real_1D Subroutine

type, public ::  buffer_hel_1D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
real(kind=dp), private, dimension(:), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_hel_1D Subroutine
procedure , public , :: finalize => finalize_hel_1D Subroutine
procedure , private :: reset => reset_hel_1D Subroutine
procedure , public , :: size => get_size_hel_1D Function
procedure , public , :: capacity => get_capacity_hel_1D Function
procedure , public , :: push_back => add_val_hel_1D Subroutine
procedure , private :: dump => dump_hel_1D Subroutine
procedure , public , :: dump_reset => dump_reset_hel_1D Subroutine

type, public ::  buffer_int_1D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
integer, private, dimension(:), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_int_1D Subroutine
procedure , public , :: finalize => finalize_int_1D Subroutine
procedure , private :: reset => reset_int_1D Subroutine
procedure , public , :: size => get_size_int_1D Function
procedure , public , :: capacity => get_capacity_int_1D Function
procedure , public , :: push_back => add_val_int_1D Subroutine
procedure , private :: dump => dump_int_1D Subroutine
procedure , public , :: dump_reset => dump_reset_int_1D Subroutine

type, public ::  buffer_int32_1D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int32), private, dimension(:), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_int32_1D Subroutine
procedure , public , :: finalize => finalize_int32_1D Subroutine
procedure , private :: reset => reset_int32_1D Subroutine
procedure , public , :: size => get_size_int32_1D Function
procedure , public , :: capacity => get_capacity_int32_1D Function
procedure , public , :: push_back => add_val_int32_1D Subroutine
procedure , private :: dump => dump_int32_1D Subroutine
procedure , public , :: dump_reset => dump_reset_int32_1D Subroutine

type, public ::  buffer_int64_1D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int64), private, dimension(:), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_int64_1D Subroutine
procedure , public , :: finalize => finalize_int64_1D Subroutine
procedure , private :: reset => reset_int64_1D Subroutine
procedure , public , :: size => get_size_int64_1D Function
procedure , public , :: capacity => get_capacity_int64_1D Function
procedure , public , :: push_back => add_val_int64_1D Subroutine
procedure , private :: dump => dump_int64_1D Subroutine
procedure , public , :: dump_reset => dump_reset_int64_1D Subroutine

type, public ::  buffer_token_1D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
type(Token_t), private, dimension(:), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_token_1D Subroutine
procedure , public , :: finalize => finalize_token_1D Subroutine
procedure , private :: reset => reset_token_1D Subroutine
procedure , public , :: size => get_size_token_1D Function
procedure , public , :: capacity => get_capacity_token_1D Function
procedure , public , :: push_back => add_val_token_1D Subroutine
procedure , private :: dump => dump_token_1D Subroutine
procedure , public , :: dump_reset => dump_reset_token_1D Subroutine

type, public ::  buffer_real_2D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
real(kind=dp), private, dimension(:, :), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_real_2D Subroutine
procedure , public , :: finalize => finalize_real_2D Subroutine
procedure , private :: reset => reset_real_2D Subroutine
procedure , public , :: size => get_size_real_2D Function
procedure , public , :: capacity => get_capacity_real_2D Function
procedure , public , :: push_back => add_val_real_2D Subroutine
procedure , private :: dump => dump_real_2D Subroutine
procedure , public , :: dump_reset => dump_reset_real_2D Subroutine

type, public ::  buffer_hel_2D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
real(kind=dp), private, dimension(:, :), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_hel_2D Subroutine
procedure , public , :: finalize => finalize_hel_2D Subroutine
procedure , private :: reset => reset_hel_2D Subroutine
procedure , public , :: size => get_size_hel_2D Function
procedure , public , :: capacity => get_capacity_hel_2D Function
procedure , public , :: push_back => add_val_hel_2D Subroutine
procedure , private :: dump => dump_hel_2D Subroutine
procedure , public , :: dump_reset => dump_reset_hel_2D Subroutine

type, public ::  buffer_int_2D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
integer, private, dimension(:, :), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_int_2D Subroutine
procedure , public , :: finalize => finalize_int_2D Subroutine
procedure , private :: reset => reset_int_2D Subroutine
procedure , public , :: size => get_size_int_2D Function
procedure , public , :: capacity => get_capacity_int_2D Function
procedure , public , :: push_back => add_val_int_2D Subroutine
procedure , private :: dump => dump_int_2D Subroutine
procedure , public , :: dump_reset => dump_reset_int_2D Subroutine

type, public ::  buffer_int32_2D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int32), private, dimension(:, :), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_int32_2D Subroutine
procedure , public , :: finalize => finalize_int32_2D Subroutine
procedure , private :: reset => reset_int32_2D Subroutine
procedure , public , :: size => get_size_int32_2D Function
procedure , public , :: capacity => get_capacity_int32_2D Function
procedure , public , :: push_back => add_val_int32_2D Subroutine
procedure , private :: dump => dump_int32_2D Subroutine
procedure , public , :: dump_reset => dump_reset_int32_2D Subroutine

type, public ::  buffer_int64_2D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
integer(kind=int64), private, dimension(:, :), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_int64_2D Subroutine
procedure , public , :: finalize => finalize_int64_2D Subroutine
procedure , private :: reset => reset_int64_2D Subroutine
procedure , public , :: size => get_size_int64_2D Function
procedure , public , :: capacity => get_capacity_int64_2D Function
procedure , public , :: push_back => add_val_int64_2D Subroutine
procedure , private :: dump => dump_int64_2D Subroutine
procedure , public , :: dump_reset => dump_reset_int64_2D Subroutine

type, public ::  buffer_token_2D_t

@brief Re-sizeable array type that can be filled elementwise to build up a contiguous data chunk that can then be dumped to an allocatable

Read more…

Components

Type Visibility Attributes Name Initial
type(Token_t), private, dimension(:, :), allocatable :: buf
integer(kind=int64), private :: pos
real(kind=dp), private :: grow_factor = 1.5_dp
integer(kind=int64), private :: start_size = 100_int64

Type-Bound Procedures

procedure , public , :: init => init_token_2D Subroutine
procedure , public , :: finalize => finalize_token_2D Subroutine
procedure , private :: reset => reset_token_2D Subroutine
procedure , public , :: size => get_size_token_2D Function
procedure , public , :: capacity => get_capacity_token_2D Function
procedure , public , :: push_back => add_val_token_2D Subroutine
procedure , private :: dump => dump_token_2D Subroutine
procedure , public , :: dump_reset => dump_reset_token_2D Subroutine

Functions

private pure function get_size_real_1D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_real_1D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_real_2D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_real_2D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_hel_1D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_hel_1D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_hel_2D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_hel_2D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_int_1D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_int_1D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_int_2D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_int_2D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_int32_1D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_int32_1D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_int32_2D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_int32_2D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_int64_1D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_int64_1D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_int64_2D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_int64_2D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_token_1D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_token_1D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_1D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_size_token_2D(this) result(n_els)

@brief Returns the number of already stored elements in the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_2D_t), intent(in) :: this

Return Value integer(kind=int64)

private pure function get_capacity_token_2D(this) result(capacity)

@brief Returns the capacity of the buffer along the last dimension.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_2D_t), intent(in) :: this

Return Value integer(kind=int64)


Subroutines

private pure subroutine init_real_1D(this, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_1D_t), intent(inout) :: this
real(kind=dp), intent(in), optional :: grow_factor
integer(kind=int64), intent(in), optional :: start_size

private pure subroutine reset_real_1D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine init_real_2D(this, rows, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_2D_t), intent(inout) :: this
integer, intent(in) :: rows
real, intent(in), optional :: grow_factor
integer, intent(in), optional :: start_size

private pure subroutine reset_real_2D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine finalize_real_1D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_real_1D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_1D_t), intent(inout) :: this
real(kind=dp), intent(in) :: val

private pure subroutine dump_real_1D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_1D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:), allocatable :: tgt

private pure subroutine dump_reset_real_1D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_1D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:), allocatable :: tgt

private pure subroutine finalize_real_2D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_real_2D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_2D_t), intent(inout) :: this
real(kind=dp), intent(in), dimension(:) :: val

private pure subroutine dump_real_2D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_2D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine dump_reset_real_2D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_real_2D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine init_hel_1D(this, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_1D_t), intent(inout) :: this
real(kind=dp), intent(in), optional :: grow_factor
integer(kind=int64), intent(in), optional :: start_size

private pure subroutine reset_hel_1D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine init_hel_2D(this, rows, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_2D_t), intent(inout) :: this
integer, intent(in) :: rows
real, intent(in), optional :: grow_factor
integer, intent(in), optional :: start_size

private pure subroutine reset_hel_2D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine finalize_hel_1D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_hel_1D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_1D_t), intent(inout) :: this
real(kind=dp), intent(in) :: val

private pure subroutine dump_hel_1D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_1D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:), allocatable :: tgt

private pure subroutine dump_reset_hel_1D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_1D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:), allocatable :: tgt

private pure subroutine finalize_hel_2D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_hel_2D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_2D_t), intent(inout) :: this
real(kind=dp), intent(in), dimension(:) :: val

private pure subroutine dump_hel_2D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_2D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine dump_reset_hel_2D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_hel_2D_t), intent(inout) :: this
real(kind=dp), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine init_int_1D(this, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_1D_t), intent(inout) :: this
real(kind=dp), intent(in), optional :: grow_factor
integer(kind=int64), intent(in), optional :: start_size

private pure subroutine reset_int_1D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine init_int_2D(this, rows, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_2D_t), intent(inout) :: this
integer, intent(in) :: rows
real, intent(in), optional :: grow_factor
integer, intent(in), optional :: start_size

private pure subroutine reset_int_2D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine finalize_int_1D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_int_1D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_1D_t), intent(inout) :: this
integer, intent(in) :: val

private pure subroutine dump_int_1D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_1D_t), intent(inout) :: this
integer, intent(out), dimension(:), allocatable :: tgt

private pure subroutine dump_reset_int_1D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_1D_t), intent(inout) :: this
integer, intent(out), dimension(:), allocatable :: tgt

private pure subroutine finalize_int_2D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_int_2D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_2D_t), intent(inout) :: this
integer, intent(in), dimension(:) :: val

private pure subroutine dump_int_2D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_2D_t), intent(inout) :: this
integer, intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine dump_reset_int_2D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int_2D_t), intent(inout) :: this
integer, intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine init_int32_1D(this, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_1D_t), intent(inout) :: this
real(kind=dp), intent(in), optional :: grow_factor
integer(kind=int64), intent(in), optional :: start_size

private pure subroutine reset_int32_1D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine init_int32_2D(this, rows, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_2D_t), intent(inout) :: this
integer, intent(in) :: rows
real, intent(in), optional :: grow_factor
integer, intent(in), optional :: start_size

private pure subroutine reset_int32_2D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine finalize_int32_1D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_int32_1D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_1D_t), intent(inout) :: this
integer(kind=int32), intent(in) :: val

private pure subroutine dump_int32_1D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_1D_t), intent(inout) :: this
integer(kind=int32), intent(out), dimension(:), allocatable :: tgt

private pure subroutine dump_reset_int32_1D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_1D_t), intent(inout) :: this
integer(kind=int32), intent(out), dimension(:), allocatable :: tgt

private pure subroutine finalize_int32_2D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_int32_2D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_2D_t), intent(inout) :: this
integer(kind=int32), intent(in), dimension(:) :: val

private pure subroutine dump_int32_2D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_2D_t), intent(inout) :: this
integer(kind=int32), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine dump_reset_int32_2D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int32_2D_t), intent(inout) :: this
integer(kind=int32), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine init_int64_1D(this, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_1D_t), intent(inout) :: this
real(kind=dp), intent(in), optional :: grow_factor
integer(kind=int64), intent(in), optional :: start_size

private pure subroutine reset_int64_1D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine init_int64_2D(this, rows, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_2D_t), intent(inout) :: this
integer, intent(in) :: rows
real, intent(in), optional :: grow_factor
integer, intent(in), optional :: start_size

private pure subroutine reset_int64_2D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine finalize_int64_1D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_int64_1D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_1D_t), intent(inout) :: this
integer(kind=int64), intent(in) :: val

private pure subroutine dump_int64_1D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_1D_t), intent(inout) :: this
integer(kind=int64), intent(out), dimension(:), allocatable :: tgt

private pure subroutine dump_reset_int64_1D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_1D_t), intent(inout) :: this
integer(kind=int64), intent(out), dimension(:), allocatable :: tgt

private pure subroutine finalize_int64_2D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_int64_2D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_2D_t), intent(inout) :: this
integer(kind=int64), intent(in), dimension(:) :: val

private pure subroutine dump_int64_2D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_2D_t), intent(inout) :: this
integer(kind=int64), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine dump_reset_int64_2D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_int64_2D_t), intent(inout) :: this
integer(kind=int64), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine init_token_1D(this, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_1D_t), intent(inout) :: this
real(kind=dp), intent(in), optional :: grow_factor
integer(kind=int64), intent(in), optional :: start_size

private pure subroutine reset_token_1D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine init_token_2D(this, rows, grow_factor, start_size)

@brief Set up the re-sizeable array (buffer) with a given start size and grow_factor.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_2D_t), intent(inout) :: this
integer, intent(in) :: rows
real, intent(in), optional :: grow_factor
integer, intent(in), optional :: start_size

private pure subroutine reset_token_2D(this)

@brief Reset an already initiliazed buffer.

Arguments

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

private pure subroutine finalize_token_1D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_token_1D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_1D_t), intent(inout) :: this
type(Token_t), intent(in) :: val

private pure subroutine dump_token_1D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_1D_t), intent(inout) :: this
type(Token_t), intent(out), dimension(:), allocatable :: tgt

private pure subroutine dump_reset_token_1D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_1D_t), intent(inout) :: this
type(Token_t), intent(out), dimension(:), allocatable :: tgt

private pure subroutine finalize_token_2D(this)

@brief Deallocate the resource.

Arguments

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

private pure subroutine add_val_token_2D(this, val)

@brief Append a value to the buffer, expanding the capacity if necessary.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_2D_t), intent(inout) :: this
type(Token_t), intent(in), dimension(:) :: val

private pure subroutine dump_token_2D(this, tgt)

@brief Dump the buffer to an allocatable array.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_2D_t), intent(inout) :: this
type(Token_t), intent(out), dimension(:, :), allocatable :: tgt

private pure subroutine dump_reset_token_2D(this, tgt)

Dump the buffer to an allocatable array and reset the buffer.

Read more…

Arguments

Type IntentOptional Attributes Name
class(buffer_token_2D_t), intent(inout) :: this
type(Token_t), intent(out), dimension(:, :), allocatable :: tgt