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

Public Member Functions | |
| procedure, pass(this) | init (this, size, expansion_size, dof) |
| Constructor. | |
| procedure, pass(this) | free (this) |
| Destructor. | |
| procedure, pass(this) | set_dofmap (this, dof) |
| Assign a dofmap to the scratch registry. | |
| procedure, pass(this) | get_n_entries (this) |
| Getter for n_entries. | |
| procedure, pass(this) | get_n_inuse (this) |
| Getter for n_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, clear) |
| 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) |
| Relinquish the use of multiple fields in the registry. | |
| generic | relinquish_field (this, index) |
| Free a field for later reuse. | |
| generic | relinquish_field (this, indices) |
| Free a field for later reuse. | |
| procedure, pass(this) | request_vector (this, v, index, n, clear) |
| Get a new scratch vector. | |
| procedure, pass(this) | relinquish_vector_single (this, index) |
| Relinquish the use of a vector in the registry. | |
| procedure, pass(this) | relinquish_vector_multiple (this, indices) |
| Relinquish the use of multiple vectors in the registry. | |
| generic | relinquish_vector (this, index) |
| Free a vector for later reuse. | |
| generic | relinquish_vector (this, indices) |
| Free a vector for later reuse. | |
| procedure, pass(this) | request_matrix (this, m, index, nrows, ncols, clear) |
| Get a new scratch matrix. | |
| procedure, pass(this) | relinquish_matrix_single (this, index) |
| Relinquish the use of a matrix in the registry. | |
| procedure, pass(this) | relinquish_matrix_multiple (this, indices) |
| Relinquish the use of multiple matrices in the registry. | |
| generic | relinquish_matrix (this, index) |
| Free a matrix for later reuse. | |
| generic | relinquish_matrix (this, indices) |
| Free a matrix for later reuse. | |
| generic | request (this, f, index, clear) |
| Generic request procedure. | |
| generic | request (this, v, index, n, clear) |
| Generic request procedure. | |
| generic | request (this, m, index, nrows, ncols, clear) |
| Generic request procedure. | |
| procedure, pass(this) | relinquish_single (this, index) |
| Relinquish the use of an object in the registry. | |
| procedure, pass(this) | relinquish_multiple (this, indices) |
| Relinquish the use of multiple objects in the registry. | |
| generic | relinquish (this, index) |
| Generic relinquish procedure. | |
| generic | relinquish (this, indices) |
| Generic relinquish procedure. | |
Public Attributes | |
| type(dofmap_t), pointer | dof => null() |
| Dofmap. | |
Private Member Functions | |
| procedure, pass(this), private | expand (this) |
Private Attributes | |
| type(registry_entry_t), dimension(:), allocatable, private | entries |
| list of scratch fields | |
| logical, dimension(:), allocatable, private | inuse |
| Tracks which fields are used. | |
| integer, private | n_entries = 0 |
| number of registered fields | |
| integer, private | n_inuse = 0 |
| number of fields in use | |
| integer, private | expansion_size = 10 |
| the size the fields array is increased by upon reallocation | |
Definition at line 52 of file scratch_registry.f90.
|
private |
Definition at line 66 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::free | ( | class(scratch_registry_t), intent(inout) | this | ) |
Definition at line 70 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 78 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::get_inuse | ( | class(scratch_registry_t), intent(in), target | this, |
| integer, intent(in) | index | ||
| ) |
Definition at line 82 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::get_n_entries | ( | class(scratch_registry_t), intent(in) | this | ) |
Definition at line 74 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::get_n_inuse | ( | class(scratch_registry_t), intent(in) | this | ) |
Definition at line 76 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 80 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::init | ( | class(scratch_registry_t), intent(inout) | this, |
| integer, intent(in), optional | size, | ||
| integer, intent(in), optional | expansion_size, | ||
| type(dofmap_t), intent(in), optional, target | dof | ||
| ) |
| size | Initial size of the registry |
| expansion_size | Size to expand the registry by when needed |
| dof | Dofmap to associate with the scratch registry |
Definition at line 68 of file scratch_registry.f90.
| generic scratch_registry::scratch_registry_t::relinquish | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, intent(inout) | index | ||
| ) |
| index | The index of the object to free |
Definition at line 113 of file scratch_registry.f90.

| generic scratch_registry::scratch_registry_t::relinquish | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, dimension(:), intent(inout) | indices | ||
| ) |
| indices | The indices of the objects to free |
Definition at line 113 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 | ||
| ) |
| index | The index of the field to free |
Definition at line 89 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 | ||
| ) |
| indices | The indices of the fields to free |
Definition at line 89 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 | ||
| ) |
| indices | The indices of the fields to free |
Definition at line 87 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 | ||
| ) |
| index | The index of the field to free |
Definition at line 86 of file scratch_registry.f90.
| generic scratch_registry::scratch_registry_t::relinquish_matrix | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, intent(inout) | index | ||
| ) |
| index | The index of the matrix to free |
Definition at line 105 of file scratch_registry.f90.

| generic scratch_registry::scratch_registry_t::relinquish_matrix | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, dimension(:), intent(inout) | indices | ||
| ) |
| indices | The indices of the matrices to free |
Definition at line 105 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_matrix_multiple | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, dimension(:), intent(inout) | indices | ||
| ) |
| indices | The indices of the matrices to free |
Definition at line 103 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_matrix_single | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, intent(inout) | index | ||
| ) |
| index | The index of the matrix to free |
Definition at line 102 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_multiple | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, dimension(:), intent(inout) | indices | ||
| ) |
| indices | The indices of the objects to free |
Definition at line 111 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_single | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, intent(inout) | index | ||
| ) |
| index | The index of the object to free |
Definition at line 110 of file scratch_registry.f90.
| generic scratch_registry::scratch_registry_t::relinquish_vector | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, intent(inout) | index | ||
| ) |
| index | The index of the vector to free |
Definition at line 97 of file scratch_registry.f90.

| generic scratch_registry::scratch_registry_t::relinquish_vector | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, dimension(:), intent(inout) | indices | ||
| ) |
| indices | The indices of the vectors to free |
Definition at line 97 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_vector_multiple | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, dimension(:), intent(inout) | indices | ||
| ) |
| indices | The indices of the vectors to free |
Definition at line 95 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_vector_single | ( | class(scratch_registry_t), intent(inout), target | this, |
| integer, intent(inout) | index | ||
| ) |
| index | The index of the vector to free |
Definition at line 94 of file scratch_registry.f90.
| generic scratch_registry::scratch_registry_t::request | ( | class(scratch_registry_t), intent(inout), target | this, |
| type(field_t), intent(inout), pointer | f, | ||
| integer, intent(inout) | index, | ||
| logical, intent(in) | clear | ||
| ) |
| f | Pointer to the requested field. |
| index | Index of the field in the registry (for relinquishing later). |
| clear | If true, the field values are set to zero upon request. |
Definition at line 109 of file scratch_registry.f90.

| generic scratch_registry::scratch_registry_t::request | ( | class(scratch_registry_t), intent(inout), target | this, |
| type(matrix_t), intent(inout), pointer | m, | ||
| integer, intent(inout) | index, | ||
| integer, intent(in) | nrows, | ||
| integer, intent(in) | ncols, | ||
| logical, intent(in) | clear | ||
| ) |
| m | Pointer to the requested matrix. |
| index | Index of the matrix in the registry (for relinquishing later). |
| nrows | Number of rows of the requested matrix. |
| ncols | Number of columns of the requested matrix. |
| clear | If true, the matrix values are set to zero upon request. |
Definition at line 109 of file scratch_registry.f90.
| generic scratch_registry::scratch_registry_t::request | ( | class(scratch_registry_t), intent(inout), target | this, |
| type(vector_t), intent(inout), pointer | v, | ||
| integer, intent(inout) | index, | ||
| integer, intent(in) | n, | ||
| logical, intent(in) | clear | ||
| ) |
| v | Pointer to the requested vector. |
| index | Index of the vector in the registry (for relinquishing later). |
| n | Size of the requested vector. |
| clear | If true, the vector values are set to zero upon request. |
Definition at line 109 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, | ||
| logical, intent(in) | clear | ||
| ) |
| f | Pointer to the requested field. |
| index | Index of the field in the registry (for relinquishing later). |
| clear | If true, the field values are set to zero upon request. |
Definition at line 85 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::request_matrix | ( | class(scratch_registry_t), intent(inout), target | this, |
| type(matrix_t), intent(inout), pointer | m, | ||
| integer, intent(inout) | index, | ||
| integer, intent(in) | nrows, | ||
| integer, intent(in) | ncols, | ||
| logical, intent(in) | clear | ||
| ) |
| m | Pointer to the requested matrix. |
| index | Index of the matrix in the registry (for relinquishing later). |
| nrows | Number of rows of the requested matrix. |
| ncols | Number of columns of the requested matrix. |
| clear | If true, the matrix values are set to zero upon request. |
Definition at line 101 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::request_vector | ( | class(scratch_registry_t), intent(inout), target | this, |
| type(vector_t), intent(inout), pointer | v, | ||
| integer, intent(inout) | index, | ||
| integer, intent(in) | n, | ||
| logical, intent(in) | clear | ||
| ) |
| v | Pointer to the requested vector. |
| index | Index of the vector in the registry (for relinquishing later). |
| n | Size of the requested vector. |
| clear | If true, the vector values are set to zero upon request. |
Definition at line 93 of file scratch_registry.f90.
| procedure, pass(this) scratch_registry::scratch_registry_t::set_dofmap | ( | class(scratch_registry_t), intent(inout) | this, |
| type(dofmap_t), intent(in), target | dof | ||
| ) |
| dof | Dofmap to assign |
Definition at line 72 of file scratch_registry.f90.
Definition at line 64 of file scratch_registry.f90.
|
private |
Definition at line 54 of file scratch_registry.f90.
Definition at line 62 of file scratch_registry.f90.
|
private |
Definition at line 56 of file scratch_registry.f90.
Definition at line 58 of file scratch_registry.f90.
Definition at line 60 of file scratch_registry.f90.