Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Public Member Functions | |
procedure, pass(this) | free (this) |
destructor | |
procedure, pass(this) | get_nfields (this) |
getter for nfields | |
procedure, pass(this) | get_nfields_inuse (this) |
getter for nfields_inuse | |
procedure, pass(this) | get_expansion_size (this) |
getter for expansion_size | |
procedure, pass(this) | get_size (this) |
return size of allocated fields | |
procedure, pass(this) | get_inuse (this, index) |
get value of inuse for a given index | |
procedure, pass(this) | request_field (this, f, index) |
get a new scratch field | |
procedure, pass(this) | relinquish_field_single (this, index) |
Relinquish the use of a field in the registry. | |
procedure, pass(this) | relinquish_field_multiple (this, indices) |
generic | relinquish_field (this, index) |
free a field for later reuse | |
generic | relinquish_field (this, indices) |
free a field for later reuse | |
Public Attributes | |
type(dofmap_t), pointer | dof => null() |
Dofmap. | |
Private Member Functions | |
procedure, pass(this), private | expand (this) |
Private Attributes | |
type(field_ptr_t), dimension(:), allocatable, private | fields |
list of scratch fields | |
logical, dimension(:), allocatable, private | inuse |
Tracks which fields are used. | |
integer, private | nfields |
number of registered fields | |
integer, private | nfields_inuse |
number of fields in use | |
integer, private | expansion_size |
the size the fields array is increased by upon reallocation | |
Definition at line 44 of file scratch_registry.f90.
|
private |
Definition at line 58 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::free | ( | class(scratch_registry_t), intent(inout) | this | ) |
Definition at line 60 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::get_expansion_size | ( | class(scratch_registry_t), intent(in) | this | ) |
Definition at line 66 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::get_inuse | ( | class(scratch_registry_t), intent(inout), target | this, |
integer, intent(inout) | index | ||
) |
[in,out] | index | The index of the field to check |
Definition at line 70 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::get_nfields | ( | class(scratch_registry_t), intent(in) | this | ) |
Definition at line 62 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::get_nfields_inuse | ( | class(scratch_registry_t), intent(in) | this | ) |
Definition at line 64 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::get_size | ( | class(scratch_registry_t), intent(in) | this | ) |
Definition at line 68 of file scratch_registry.f90.
generic scratch_registry::scratch_registry_t::relinquish_field | ( | class(scratch_registry_t), intent(inout), target | this, |
integer, intent(inout) | index | ||
) |
[in,out] | index | The index of the field to free |
Definition at line 76 of file scratch_registry.f90.
generic scratch_registry::scratch_registry_t::relinquish_field | ( | class(scratch_registry_t), intent(inout), target | this, |
integer, dimension(:), intent(inout) | indices | ||
) |
[in,out] | indices | The indices of the field to free |
Definition at line 76 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_field_multiple | ( | class(scratch_registry_t), intent(inout), target | this, |
integer, dimension(:), intent(inout) | indices | ||
) |
[in,out] | indices | The indices of the field to free |
Definition at line 74 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_field_single | ( | class(scratch_registry_t), intent(inout), target | this, |
integer, intent(inout) | index | ||
) |
[in,out] | index | The index of the field to free |
Definition at line 73 of file scratch_registry.f90.
procedure, pass(this) scratch_registry::scratch_registry_t::request_field | ( | class(scratch_registry_t), intent(inout), target | this, |
type(field_t), intent(inout), pointer | f, | ||
integer, intent(inout) | index | ||
) |
[in,out] | index | The index of the field in the inuse array |
Definition at line 72 of file scratch_registry.f90.
Definition at line 56 of file scratch_registry.f90.
Definition at line 54 of file scratch_registry.f90.
|
private |
Definition at line 46 of file scratch_registry.f90.
|
private |
Definition at line 48 of file scratch_registry.f90.
Definition at line 50 of file scratch_registry.f90.
Definition at line 52 of file scratch_registry.f90.