Neko  0.9.99
A portable framework for high-order spectral element flow simulations
uset Module Reference

Implements an unordered set ADT. More...

Data Types

type  uset_t
 Base type for an unordered set. More...
 
type  uset_i4_t
 Integer based unordered set. More...
 
type  uset_i8_t
 Integer*8 based unordered set. More...
 
type  uset_r8_t
 Double precision unordered set. More...
 
interface  uset_init
 Interface for initializing an unordered set. More...
 
interface  uset_free
 Interface for destroying an unordered set. More...
 
interface  uset_size
 Interface for getting the cardinality of an unordered set. More...
 
interface  uset_clear
 Interface for clearing an unordered set. More...
 
interface  uset_element
 Interface for checking if key is an element of an unordered set. More...
 
interface  uset_add
 Inteface for adding key to an unorderd set. More...
 
interface  uset_remove
 Inteface for removing key in an unorderd set. More...
 

Functions/Subroutines

subroutine uset_i4_init (this, n)
 Initialize an empty integer based unordered set. More...
 
subroutine uset_i4_free (this)
 Destroy an integer based unordered set. More...
 
pure integer function uset_i4_size (this)
 Return the cardinality of an integer based unordered set. More...
 
subroutine uset_i4_clear (this)
 Clear an integer based unordered set. More...
 
logical function uset_i4_element (this, key)
 Check if an integer key is an element of the set. More...
 
subroutine uset_i4_add (this, key)
 Add an integer key to the set. More...
 
subroutine uset_i4_remove (this, key)
 Remove an integer key from the set. More...
 
subroutine uset_i4_iter_init (this)
 Initialise an integer based set iterator. More...
 
logical function uset_i4_iter_next (this)
 Advance an integer based set iterator. More...
 
integer function, pointer uset_i4_iter_value (this)
 Return the current value of an integer based set iterator. More...
 
subroutine uset_i8_init (this, n)
 Initialize an empty integer*8 based unordered set. More...
 
subroutine uset_i8_free (this)
 Destroy an integer*8 based unordered set. More...
 
pure integer function uset_i8_size (this)
 Return the cardinality of an integer*8 based unordered set. More...
 
subroutine uset_i8_clear (this)
 Clear an integer*8 based unordered set. More...
 
logical function uset_i8_element (this, key)
 Check if an integer*8 key is an element of the set. More...
 
subroutine uset_i8_add (this, key)
 Add an integer*8 key to the set. More...
 
subroutine uset_i8_remove (this, key)
 Remove an integer*8 key from the set. More...
 
subroutine uset_i8_iter_init (this)
 Initialise an integer based set iterator*8. More...
 
logical function uset_i8_iter_next (this)
 Advance an integer*8 based set iterator. More...
 
integer(kind=i8) function, pointer uset_i8_iter_value (this)
 Return the current value of an integer*8 based set iterator. More...
 
subroutine uset_r8_init (this, n)
 Initialize an empty double precision based unordered set. More...
 
subroutine uset_r8_free (this)
 Destroy a double precision based unordered set. More...
 
pure integer function uset_r8_size (this)
 Return the cardinality of a double precision based unordered set. More...
 
subroutine uset_r8_clear (this)
 Clear a double precision based unordered set. More...
 
logical function uset_r8_element (this, key)
 Check if a double precision key is an element of the set. More...
 
subroutine uset_r8_add (this, key)
 Add a double precision key to the set. More...
 
subroutine uset_r8_remove (this, key)
 Remove a double precision key from the set. More...
 
subroutine uset_r8_iter_init (this)
 Initialise a double precision based set iterator. More...
 
logical function uset_r8_iter_next (this)
 Advance a double precision based set iterator. More...
 
real(kind=dp) function, pointer uset_r8_iter_value (this)
 Return the current value of a double precision based set iterator. More...
 

Detailed Description

A unordered set storing a fixed data-type data

Function/Subroutine Documentation

◆ uset_i4_add()

subroutine uset::uset_i4_add ( class(uset_i4_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 224 of file uset.f90.

◆ uset_i4_clear()

subroutine uset::uset_i4_clear ( class(uset_i4_t), intent(inout)  this)
private

Definition at line 202 of file uset.f90.

◆ uset_i4_element()

logical function uset::uset_i4_element ( class(uset_i4_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 209 of file uset.f90.

◆ uset_i4_free()

subroutine uset::uset_i4_free ( class(uset_i4_t), intent(inout)  this)
private

Definition at line 184 of file uset.f90.

◆ uset_i4_init()

subroutine uset::uset_i4_init ( class(uset_i4_t), intent(inout)  this,
integer, optional  n 
)
private

Definition at line 172 of file uset.f90.

◆ uset_i4_iter_init()

subroutine uset::uset_i4_iter_init ( class(uset_i4_t), intent(inout), target  this)
private

Definition at line 252 of file uset.f90.

◆ uset_i4_iter_next()

logical function uset::uset_i4_iter_next ( class(uset_i4_t), intent(inout)  this)
private

Definition at line 258 of file uset.f90.

◆ uset_i4_iter_value()

integer function, pointer uset::uset_i4_iter_value ( class(uset_i4_t), intent(inout), target  this)
private

Definition at line 265 of file uset.f90.

◆ uset_i4_remove()

subroutine uset::uset_i4_remove ( class(uset_i4_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 239 of file uset.f90.

◆ uset_i4_size()

pure integer function uset::uset_i4_size ( class(uset_i4_t), intent(in)  this)
private

Definition at line 193 of file uset.f90.

◆ uset_i8_add()

subroutine uset::uset_i8_add ( class(uset_i8_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 324 of file uset.f90.

◆ uset_i8_clear()

subroutine uset::uset_i8_clear ( class(uset_i8_t), intent(inout)  this)
private

Definition at line 302 of file uset.f90.

◆ uset_i8_element()

logical function uset::uset_i8_element ( class(uset_i8_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 309 of file uset.f90.

◆ uset_i8_free()

subroutine uset::uset_i8_free ( class(uset_i8_t), intent(inout)  this)
private

Definition at line 284 of file uset.f90.

◆ uset_i8_init()

subroutine uset::uset_i8_init ( class(uset_i8_t), intent(inout)  this,
integer, optional  n 
)
private

Definition at line 272 of file uset.f90.

◆ uset_i8_iter_init()

subroutine uset::uset_i8_iter_init ( class(uset_i8_t), intent(inout), target  this)
private

Definition at line 352 of file uset.f90.

◆ uset_i8_iter_next()

logical function uset::uset_i8_iter_next ( class(uset_i8_t), intent(inout)  this)
private

Definition at line 358 of file uset.f90.

◆ uset_i8_iter_value()

integer(kind=i8) function, pointer uset::uset_i8_iter_value ( class(uset_i8_t), intent(inout), target  this)
private

Definition at line 365 of file uset.f90.

◆ uset_i8_remove()

subroutine uset::uset_i8_remove ( class(uset_i8_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 339 of file uset.f90.

◆ uset_i8_size()

pure integer function uset::uset_i8_size ( class(uset_i8_t), intent(in)  this)
private

Definition at line 293 of file uset.f90.

◆ uset_r8_add()

subroutine uset::uset_r8_add ( class(uset_r8_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 433 of file uset.f90.

◆ uset_r8_clear()

subroutine uset::uset_r8_clear ( class(uset_r8_t), intent(inout)  this)
private

Definition at line 410 of file uset.f90.

◆ uset_r8_element()

logical function uset::uset_r8_element ( class(uset_r8_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 417 of file uset.f90.

◆ uset_r8_free()

subroutine uset::uset_r8_free ( class(uset_r8_t), intent(inout)  this)
private

Definition at line 393 of file uset.f90.

◆ uset_r8_init()

subroutine uset::uset_r8_init ( class(uset_r8_t), intent(inout)  this,
integer, optional  n 
)
private

Definition at line 381 of file uset.f90.

◆ uset_r8_iter_init()

subroutine uset::uset_r8_iter_init ( class(uset_r8_t), intent(inout), target  this)
private

Definition at line 461 of file uset.f90.

◆ uset_r8_iter_next()

logical function uset::uset_r8_iter_next ( class(uset_r8_t), intent(inout)  this)
private

Definition at line 467 of file uset.f90.

◆ uset_r8_iter_value()

real(kind=dp) function, pointer uset::uset_r8_iter_value ( class(uset_r8_t), intent(inout), target  this)
private

Definition at line 474 of file uset.f90.

◆ uset_r8_remove()

subroutine uset::uset_r8_remove ( class(uset_r8_t), intent(inout)  this,
class(*), intent(inout)  key 
)
private

Definition at line 448 of file uset.f90.

◆ uset_r8_size()

pure integer function uset::uset_r8_size ( class(uset_r8_t), intent(in)  this)
private

Definition at line 401 of file uset.f90.