Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
registry_entry Module Reference

Defines a registry entry for storing and requesting temporary objects This is used in the registries to store a scalar, host array, device array, vector, matrix or field.

Data Types

type  registry_entry_t
 

Functions/Subroutines

subroutine init_register_host_array (this, n, name)
 Initialize by a host array.
 
subroutine init_register_device_array (this, n, name)
 Initialize by a device array.
 
subroutine init_register_vector (this, n, name)
 Initialize a register entry.
 
subroutine init_register_matrix (this, nrows, ncols, name)
 Initialize a register entry.
 
subroutine init_register_field (this, dof, name)
 Initialize a register entry.
 
subroutine init_register_real_scalar (this, val, name)
 Initialize a scalar register entry.
 
subroutine init_register_integer_scalar (this, val, name)
 Initialize an integer scalar register entry.
 
subroutine free_register (this)
 Free a register entry.
 
pure character(len=:) function, allocatable get_name (this)
 Get the name of the registry entry.
 
pure character(len=:) function, allocatable get_type (this)
 Get the type of the registry entry.
 
pure logical function is_allocated (this)
 Check if the registry entry is allocated.
 
type(host_array_t) function, pointer get_host_array (this)
 Get the host array pointer of the registry entry.
 
type(device_array_t) function, pointer get_device_array (this)
 Get the device_array pointer of the registry entry.
 
type(vector_t) function, pointer get_vector (this)
 Get the vector pointer of the registry entry.
 
type(matrix_t) function, pointer get_matrix (this)
 Get the matrix pointer of the registry entry.
 
type(field_t) function, pointer get_field (this)
 Get the field pointer of the registry entry.
 
real(kind=rp) function, pointer get_real_scalar (this)
 Get the real scalar pointer of the registry entry.
 
integer function, pointer get_integer_scalar (this)
 Get the integer scalar pointer of the registry entry.
 
subroutine move_from_registry_entry (this, source)
 Move a registry entry from another entry.
 

Function/Subroutine Documentation

◆ free_register()

subroutine registry_entry::free_register ( class(registry_entry_t), intent(inout this)
private

Definition at line 248 of file registry_entry.f90.

◆ get_device_array()

type(device_array_t) function, pointer registry_entry::get_device_array ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 319 of file registry_entry.f90.

◆ get_field()

type(field_t) function, pointer registry_entry::get_field ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 352 of file registry_entry.f90.

Here is the caller graph for this function:

◆ get_host_array()

type(host_array_t) function, pointer registry_entry::get_host_array ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 308 of file registry_entry.f90.

◆ get_integer_scalar()

integer function, pointer registry_entry::get_integer_scalar ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 374 of file registry_entry.f90.

Here is the caller graph for this function:

◆ get_matrix()

type(matrix_t) function, pointer registry_entry::get_matrix ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 341 of file registry_entry.f90.

Here is the caller graph for this function:

◆ get_name()

pure character(len=:) function, allocatable registry_entry::get_name ( class(registry_entry_t), intent(in this)
private

Definition at line 286 of file registry_entry.f90.

◆ get_real_scalar()

real(kind=rp) function, pointer registry_entry::get_real_scalar ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 363 of file registry_entry.f90.

Here is the caller graph for this function:

◆ get_type()

pure character(len=:) function, allocatable registry_entry::get_type ( class(registry_entry_t), intent(in this)
private

Definition at line 293 of file registry_entry.f90.

◆ get_vector()

type(vector_t) function, pointer registry_entry::get_vector ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 330 of file registry_entry.f90.

Here is the caller graph for this function:

◆ init_register_device_array()

subroutine registry_entry::init_register_device_array ( class(registry_entry_t), intent(inout this,
integer, intent(in n,
character(len=*), intent(in), optional  name 
)
private

Definition at line 118 of file registry_entry.f90.

◆ init_register_field()

subroutine registry_entry::init_register_field ( class(registry_entry_t), intent(inout this,
type(dofmap_t), intent(in), target  dof,
character(len=*), intent(in name 
)
private

Definition at line 184 of file registry_entry.f90.

◆ init_register_host_array()

subroutine registry_entry::init_register_host_array ( class(registry_entry_t), intent(inout this,
integer, intent(in n,
character(len=*), intent(in), optional  name 
)

Definition at line 96 of file registry_entry.f90.

◆ init_register_integer_scalar()

subroutine registry_entry::init_register_integer_scalar ( class(registry_entry_t), intent(inout this,
integer, intent(in val,
character(len=*), intent(in), optional  name 
)
private

Definition at line 227 of file registry_entry.f90.

◆ init_register_matrix()

subroutine registry_entry::init_register_matrix ( class(registry_entry_t), intent(inout this,
integer, intent(in nrows,
integer, intent(in ncols,
character(len=*), intent(in), optional  name 
)
private

Definition at line 162 of file registry_entry.f90.

◆ init_register_real_scalar()

subroutine registry_entry::init_register_real_scalar ( class(registry_entry_t), intent(inout this,
real(kind=rp), intent(in val,
character(len=*), intent(in), optional  name 
)
private

Definition at line 206 of file registry_entry.f90.

◆ init_register_vector()

subroutine registry_entry::init_register_vector ( class(registry_entry_t), intent(inout this,
integer, intent(in n,
character(len=*), intent(in), optional  name 
)
private

Definition at line 140 of file registry_entry.f90.

◆ is_allocated()

pure logical function registry_entry::is_allocated ( class(registry_entry_t), intent(in this)
private

Definition at line 300 of file registry_entry.f90.

◆ move_from_registry_entry()

subroutine registry_entry::move_from_registry_entry ( class(registry_entry_t), intent(inout this,
class(registry_entry_t), intent(inout source 
)
private

Definition at line 385 of file registry_entry.f90.