| 
    Neko 0.9.1
    
   A portable framework for high-order spectral element flow simulations 
   | 
 

Public Member Functions | |
| procedure, pass(this) | init (this, size, expansion_size) | 
| Constructor.   | |
| procedure, pass(this) | free (this) | 
| Destructor.   | |
| procedure, pass(this) | add_field (this, dof, fld_name, ignore_existing) | 
| Add a field to the registry.   | |
| procedure, pass(this) | n_fields (this) | 
| Get the number of fields in the registry.   | |
| procedure, pass(this) | get_field_by_index (this, i) | 
| Get pointer to a stored field by index.   | |
| procedure, pass(this) | get_field_by_name (this, name) | 
| Get pointer to a stored field by name.   | |
| procedure, pass(this) | get_expansion_size (this) | 
Get the expansion_size   | |
| procedure, pass(this) | get_size (this) | 
Get total allocated size of fields.   | |
| procedure, pass(this) | field_exists (this, name) | 
| Check if a field with a given name is already in the registry.   | |
| generic | get_field (this, i) | 
| Get pointer to a stored field by index.   | |
| generic | get_field (this, name) | 
| Get pointer to a stored field by name.   | |
Private Member Functions | |
| procedure, pass(this), private | expand (this) | 
| Expand the fields array so as to accomodate more fields.   | |
Private Attributes | |
| type(field_t), dimension(:), allocatable, private | fields | 
| List of fields stored.   | |
| integer, private | n | 
| Number of registered fields.   | |
| integer, private | expansion_size | 
| The size the fields array is increased by upon reallocation.   | |
Definition at line 44 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::add_field | ( | class(field_registry_t), intent(inout) | this, | 
| type(dofmap_t), intent(in), target | dof, | ||
| character(len=*), intent(in), target | fld_name, | ||
| logical, intent(in), optional | ignore_existing | ||
| ) | 
| dof | The map of degrees of freedom. | 
| fld_name | The name of the field. | 
| ignore_existing | If true, will do nothing if the field is already in the registry. If false, will throw an error. Optional, defaults to false. | 
Definition at line 58 of file field_registry.f90.
      
  | 
  private | 
Definition at line 52 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::field_exists | ( | class(field_registry_t), intent(in), target | this, | 
| character(len=*), intent(in) | name | ||
| ) | 
Definition at line 70 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::free | ( | class(field_registry_t), intent(inout) | this | ) | 
Definition at line 56 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::get_expansion_size | ( | class(field_registry_t), intent(in) | this | ) | 
Definition at line 66 of file field_registry.f90.
| generic field_registry::field_registry_t::get_field | ( | class(field_registry_t), intent(in), target | this, | 
| character(len=*), intent(in) | name | ||
| ) | 
Definition at line 71 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::get_field_by_index | ( | class(field_registry_t), intent(in), target | this, | 
| integer, intent(in) | i | ||
| ) | 
Definition at line 62 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::get_field_by_name | ( | class(field_registry_t), intent(in), target | this, | 
| character(len=*), intent(in) | name | ||
| ) | 
Definition at line 64 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::get_size | ( | class(field_registry_t), intent(in) | this | ) | 
Definition at line 68 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::init | ( | class(field_registry_t), intent(inout) | this, | 
| integer, intent(in), optional | size, | ||
| integer, intent(in), optional | expansion_size | ||
| ) | 
| size | The allocation size of fields on init.  | 
| expansion_size | The number of entries added to fields on expansion.  | 
Definition at line 54 of file field_registry.f90.
| procedure, pass(this) field_registry::field_registry_t::n_fields | ( | class(field_registry_t), intent(in) | this | ) | 
Definition at line 60 of file field_registry.f90.
Definition at line 50 of file field_registry.f90.
      
  | 
  private | 
Definition at line 46 of file field_registry.f90.
Definition at line 48 of file field_registry.f90.