(git:27c966b)
Loading...
Searching...
No Matches
hfx_compression_methods.F File Reference

Go to the source code of this file.

Modules

module  hfx_compression_methods
 routines and types for Hartree-Fock-Exchange

Macros

#define CACHE_SIZE   1024

Functions/Subroutines

subroutine, public hfx_compression_methods::hfx_add_single_cache_element (value, nbits, cache, container, memory_usage, use_disk_storage, max_val_memory)
 
  • This routine adds an int_8 value to a cache. If the cache is full a compression routine is invoked and the cache is cleared

subroutine, public hfx_compression_methods::hfx_get_single_cache_element (value, nbits, cache, container, memory_usage, use_disk_storage)
 
  • This routine returns an int_8 value from a cache. If the cache is empty a decompression routine is invoked and the cache is refilled with decompressed values from a container

subroutine, public hfx_compression_methods::hfx_reset_cache_and_container (cache, container, memory_usage, do_disk_storage)
 
  • This routine resets the containers list pointer to the first element and moves the element counters of container and cache to the beginning

subroutine, public hfx_compression_methods::hfx_decompress_first_cache (nbits, cache, container, memory_usage, use_disk_storage)
 
  • This routine decompresses the first bunch of data in a container and copies them into a cache

subroutine, public hfx_compression_methods::hfx_flush_last_cache (nbits, cache, container, memory_usage, use_disk_storage)
 
  • This routine compresses the last probably not yet compressed cache into a container

subroutine, public hfx_compression_methods::hfx_add_mult_cache_elements (values, nints, nbits, cache, container, eps_schwarz, pmax_entry, memory_usage, use_disk_storage)
 
  • This routine adds an a few real values to a cache. If the cache is full a compression routine is invoked and the cache is cleared

subroutine, public hfx_compression_methods::hfx_get_mult_cache_elements (values, nints, nbits, cache, container, eps_schwarz, pmax_entry, memory_usage, use_disk_storage)
 
  • This routine returns a bunch real values from a cache. If the cache is empty a decompression routine is invoked and the cache is refilled with decompressed values from a container

subroutine, public hfx_compression_methods::hfx_add_mult_real_elements (values, nints, cache, container, eps, memory_usage, use_disk_storage)
 Adds real values to a cache (at most a cache full); a full cache is packed into the container, then the cache takes the remaining values.
subroutine, public hfx_compression_methods::hfx_get_mult_real_elements (values, nints, cache, container, eps, memory_usage, use_disk_storage)
 Gets real values from a cache (at most a cache full); an exhausted cache is refilled from the next record of the container.
subroutine, public hfx_compression_methods::hfx_flush_last_real_cache (cache, container, eps, memory_usage, use_disk_storage)
 Packs the last cache of real values (unused values as zeros) into the container.
subroutine, public hfx_compression_methods::hfx_decompress_first_real_cache (cache, container, eps, memory_usage, use_disk_storage)
 Fills a cache of real values with the first record of a container.
subroutine, public hfx_compression_methods::hfx_reset_real_cache_and_container (cache, container, memory_usage, do_disk_storage)
 Moves a cache of real values and its container back to the beginning (as hfx_reset_cache_and_container).

Macro Definition Documentation

◆ CACHE_SIZE

#define CACHE_SIZE   1024