MONC
|
This manages the Q variables and specifically the mapping between names and the index that they are stored at. More...
Data Types | |
type | q_metadata_type |
type | standard_q_names_type |
Functions/Subroutines | |
subroutine, public | set_q_index (index, name) |
Sets a Q index to be active at a specific index and sets the name. More... | |
integer function, public | get_max_number_q_indices () |
Gets the maximum number of Q indicies. More... | |
integer function, public | get_number_active_q_indices () |
Gets the number of active Q indicies (i.e. those allocated to specific uses) More... | |
type(q_metadata_type) function, public | get_indices_descriptor (i) |
Retrieves the indicies descriptor at a specific location. More... | |
integer function, public | get_q_index (name, assigning_component) |
Add in a new entry into the register if the name does not already exist or return the index of the pre-existing variable. More... | |
Variables | |
integer, parameter | n_maxqs =100 |
Maximum number of Q variables to manage. More... | |
integer, parameter | n_maxqname =100 |
Length to allocate for a Q variable name. More... | |
type(q_metadata_type), dimension(n_maxqs) | q_register |
type(standard_q_names_type), public | standard_q_names |
This manages the Q variables and specifically the mapping between names and the index that they are stored at.
type(q_metadata_type) function, public q_indices_mod::get_indices_descriptor | ( | integer | i | ) |
Retrieves the indicies descriptor at a specific location.
i | The index to retrieve the descriptor at |
Definition at line 99 of file q_indices.F90.
integer function, public q_indices_mod::get_max_number_q_indices |
Gets the maximum number of Q indicies.
Definition at line 80 of file q_indices.F90.
integer function, public q_indices_mod::get_number_active_q_indices |
Gets the number of active Q indicies (i.e. those allocated to specific uses)
Definition at line 86 of file q_indices.F90.
integer function, public q_indices_mod::get_q_index | ( | character(*), intent(in) | name, |
character(*), optional | assigning_component | ||
) |
Add in a new entry into the register if the name does not already exist or return the index of the pre-existing variable.
name | variable name |
assigning_component | name of component which is assigning this variable |
Definition at line 111 of file q_indices.F90.
subroutine, public q_indices_mod::set_q_index | ( | integer, intent(in) | index, |
character(len=*), intent(in) | name | ||
) |
Sets a Q index to be active at a specific index and sets the name.
index | The index to set the Q index at |
name | The name to set as the Q index name |
Definition at line 70 of file q_indices.F90.
|
private |
Length to allocate for a Q variable name.
Internal storage type for tracking the Q variable states
Definition at line 12 of file q_indices.F90.
|
private |
Maximum number of Q variables to manage.
Definition at line 11 of file q_indices.F90.
|
private |
Definition at line 21 of file q_indices.F90.
type(standard_q_names_type), public q_indices_mod::standard_q_names |
Definition at line 59 of file q_indices.F90.