Neko 1.99.9
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_tensor3 (this, n, m, l, name)
 Initialize a register entry.
 
subroutine init_register_tensor4 (this, n, m, l, k, 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(tensor3_t) function, pointer get_tensor3 (this)
 Get the tensor3 pointer of the registry entry.
 
type(tensor4_t) function, pointer get_tensor4 (this)
 Get the tensor4 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 308 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 388 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 443 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 377 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 465 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 410 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 356 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 454 of file registry_entry.f90.

Here is the caller graph for this function:

◆ get_tensor3()

type(tensor3_t) function, pointer registry_entry::get_tensor3 ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 421 of file registry_entry.f90.

Here is the caller graph for this function:

◆ get_tensor4()

type(tensor4_t) function, pointer registry_entry::get_tensor4 ( class(registry_entry_t), intent(in), target  this)
private

Definition at line 432 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 363 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 399 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 134 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 244 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 112 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 287 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 178 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 266 of file registry_entry.f90.

◆ init_register_tensor3()

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

Definition at line 200 of file registry_entry.f90.

◆ init_register_tensor4()

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

Definition at line 222 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 156 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 370 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 476 of file registry_entry.f90.