Neko 1.99.2
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
registry.f90 File Reference

Go to the source code of this file.

Data Types

type  registry::registry_t
 

Modules

module  registry
 Defines a registry for storing solution fields.
 

Functions/Subroutines

subroutine registry::registry_init (this, size, expansion_size)
 Constructor.
 
subroutine registry::registry_free (this)
 Destructor.
 
subroutine registry::registry_expand (this)
 Expand the fields array so as to accommodate more fields.
 
subroutine registry::registry_add_field (this, dof, name, ignore_existing)
 Add a field to the registry.
 
subroutine registry::registry_add_vector (this, n, name, ignore_existing)
 Add a vector to the registry.
 
subroutine registry::registry_add_matrix (this, nrows, ncols, name, ignore_existing)
 Add a matrix to the registry.
 
subroutine registry::registry_add_real_scalar (this, value, name, ignore_existing)
 Add a real scalar to the registry.
 
subroutine registry::registry_add_integer_scalar (this, value, name, ignore_existing)
 Add an integer scalar to the registry.
 
subroutine registry::registry_add_alias (this, alias, name)
 Add an alias for an existing entry in the registry.
 
recursive type(field_t) function, pointer registry::registry_get_field_by_name (this, name)
 Get pointer to a stored field by field name.
 
recursive type(vector_t) function, pointer registry::registry_get_vector_by_name (this, name)
 Get pointer to a stored vector by name.
 
recursive type(matrix_t) function, pointer registry::registry_get_matrix_by_name (this, name)
 Get pointer to a stored matrix by name.
 
recursive real(kind=rp) function, pointer registry::registry_get_real_scalar_by_name (this, name)
 Get pointer to a stored real scalar by name.
 
recursive integer function, pointer registry::registry_get_integer_scalar_by_name (this, name)
 Get pointer to a stored integer scalar by name.
 
logical function registry::registry_entry_exists (this, name)
 Check if a field with a given name is already in the registry.
 
logical function registry::registry_field_exists (this, name)
 Check if a field with a given name is already in the registry.
 
logical function registry::registry_vector_exists (this, name)
 Check if a vector with a given name is already in the registry.
 
logical function registry::registry_matrix_exists (this, name)
 Check if a matrix with a given name is already in the registry.
 
logical function registry::registry_real_scalar_exists (this, name)
 Check if a real scalar with a given name is already in the registry.
 
logical function registry::registry_integer_scalar_exists (this, name)
 Check if an integer scalar with a given name is already in the registry.
 
pure integer function registry::registry_n_entries (this)
 Get number of registered entries.
 
pure integer function registry::registry_n_fields (this)
 Get the number of fields stored in the registry.
 
pure integer function registry::registry_n_vectors (this)
 Get the number of vector stored in the registry.
 
pure integer function registry::registry_n_matrices (this)
 Get the number of matrix stored in the registry.
 
pure integer function registry::registry_n_real_scalars (this)
 Get the number of real scalars stored in the registry.
 
pure integer function registry::registry_n_integer_scalars (this)
 Get the number of integer scalars stored in the registry.
 
pure integer function registry::registry_n_aliases (this)
 Get the number of aliases stored in the registry.
 
pure integer function registry::registry_get_size (this)
 Get the size of the fields array.
 
pure integer function registry::registry_get_expansion_size (this)
 Get the expansion size.
 
subroutine registry::registry_print (this)
 Print the contents of the registry to standard output.
 
subroutine registry::registry_print_contents (this, type)
 Print the registry contents grouped by entity type.
 
subroutine registry::registry_print_section (this, entity_type)
 Print a single section of the registry for the given type.
 

Variables

type(registry_t), target, public registry::neko_registry
 Global field registry.
 
type(registry_t), target, public registry::neko_const_registry
 This registry is used to store user-defined scalars and vectors, provided under the constants section of the case file. These are separated from the global registry to prevent name clashes with registered objects used by Neko itself.