MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
PtrHashTable.f90 File Reference

Go to the source code of this file.

Data Types

type  ptrhashtablemodule::ptrhashtabletype
 HashTable that stores void pointer items. More...
 

Modules

module  ptrhashtablemodule
 

Functions/Subroutines

class(iteratortype) function, allocatable ptrhashtablemodule::iterator (this)
 An iterator used to iterate through the HashTable. More...
 
subroutine ptrhashtablemodule::add (this, key, val)
 Add a void pointer to the HashTable. More...
 
class(*) function, pointer ptrhashtablemodule::get (this, key)
 Get a void pointer from the HashTable using a key. More...
 
logical function ptrhashtablemodule::contains (this, key)
 Boolean indicating if an item exists in the hashtable. More...
 
integer(i4b) function ptrhashtablemodule::count (this)
 The nummer of items in the HashTable. More...
 
subroutine ptrhashtablemodule::clear (this)
 Clears the HashTable. More...
 
integer(i4b) function ptrhashtablemodule::compute_hash (key)
 Compute the hash of a key. More...
 

Variables

integer(i4b), parameter, private ptrhashtablemodule::hash_size = 4993
 
integer(i4b), parameter, private ptrhashtablemodule::multiplier = 31
 
integer(i4b), parameter, public ptrhashtablemodule::bucket_size = 1000