Neko  0.9.99
A portable framework for high-order spectral element flow simulations
scratch_registry::scratch_registry_t Interface Reference
Collaboration diagram for scratch_registry::scratch_registry_t:

Public Member Functions

procedure, pass(this) free => scratch_registry_free
 destructor More...
 
procedure, pass(this) get_nfields
 getter for nfields More...
 
procedure, pass(this) get_nfields_inuse
 getter for nfields_inuse More...
 
procedure, pass(this) get_expansion_size
 getter for expansion_size More...
 
procedure, pass(this) get_size
 return size of allocated fields More...
 
procedure, pass(this) get_inuse
 get value of inuse for a given index More...
 
procedure, pass(this) request_field
 get a new scratch field More...
 
procedure, pass(this) relinquish_field_single
 
procedure, pass(this) relinquish_field_multiple
 
generic relinquish_field => relinquish_field_single, relinquish_field_multiple
 free a field for later reuse More...
 

Public Attributes

type(dofmap_t), pointer dof => null()
 Dofmap. More...
 

Private Member Functions

procedure, pass(this), private expand
 

Private Attributes

type(field_ptr_t), dimension(:), allocatable, private fields
 list of scratch fields More...
 
logical, dimension(:), allocatable, private inuse
 Tracks which fields are used. More...
 
integer, private nfields
 number of registered fields More...
 
integer, private nfields_inuse
 number of fields in use More...
 
integer, private expansion_size
 the size the fields array is increased by upon reallocation More...
 

Detailed Description

Definition at line 44 of file scratch_registry.f90.

Member Function/Subroutine Documentation

◆ expand()

procedure, pass(this), private scratch_registry::scratch_registry_t::expand
private

Definition at line 58 of file scratch_registry.f90.

◆ free()

procedure, pass(this) scratch_registry::scratch_registry_t::free

Definition at line 60 of file scratch_registry.f90.

◆ get_expansion_size()

procedure, pass(this) scratch_registry::scratch_registry_t::get_expansion_size

Definition at line 66 of file scratch_registry.f90.

◆ get_inuse()

procedure, pass(this) scratch_registry::scratch_registry_t::get_inuse

Definition at line 70 of file scratch_registry.f90.

◆ get_nfields()

procedure, pass(this) scratch_registry::scratch_registry_t::get_nfields

Definition at line 62 of file scratch_registry.f90.

◆ get_nfields_inuse()

procedure, pass(this) scratch_registry::scratch_registry_t::get_nfields_inuse

Definition at line 64 of file scratch_registry.f90.

◆ get_size()

procedure, pass(this) scratch_registry::scratch_registry_t::get_size

Definition at line 68 of file scratch_registry.f90.

◆ relinquish_field()

generic scratch_registry::scratch_registry_t::relinquish_field

Definition at line 76 of file scratch_registry.f90.

Here is the call graph for this function:

◆ relinquish_field_multiple()

procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_field_multiple

Definition at line 74 of file scratch_registry.f90.

◆ relinquish_field_single()

procedure, pass(this) scratch_registry::scratch_registry_t::relinquish_field_single

Definition at line 73 of file scratch_registry.f90.

◆ request_field()

procedure, pass(this) scratch_registry::scratch_registry_t::request_field

Definition at line 72 of file scratch_registry.f90.

Member Data Documentation

◆ dof

type(dofmap_t), pointer scratch_registry::scratch_registry_t::dof => null()

Definition at line 56 of file scratch_registry.f90.

◆ expansion_size

integer, private scratch_registry::scratch_registry_t::expansion_size
private

Definition at line 54 of file scratch_registry.f90.

◆ fields

type(field_ptr_t), dimension(:), allocatable, private scratch_registry::scratch_registry_t::fields
private

Definition at line 46 of file scratch_registry.f90.

◆ inuse

logical, dimension(:), allocatable, private scratch_registry::scratch_registry_t::inuse
private

Definition at line 48 of file scratch_registry.f90.

◆ nfields

integer, private scratch_registry::scratch_registry_t::nfields
private

Definition at line 50 of file scratch_registry.f90.

◆ nfields_inuse

integer, private scratch_registry::scratch_registry_t::nfields_inuse
private

Definition at line 52 of file scratch_registry.f90.


The documentation for this interface was generated from the following file: