(git:6344619)
Loading...
Searching...
No Matches
hfx_compression_methods Module Reference

routines and types for Hartree-Fock-Exchange More...

Functions/Subroutines

subroutine, public 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_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_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_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_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_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_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

Detailed Description

routines and types for Hartree-Fock-Exchange

History
11.2006 created [Manuel Guidon]
Author
Manuel Guidon

Function/Subroutine Documentation

◆ hfx_add_single_cache_element()

subroutine, public hfx_compression_methods::hfx_add_single_cache_element ( integer(int_8) value,
integer nbits,
type(hfx_cache_type) cache,
type(hfx_container_type) container,
integer memory_usage,
logical use_disk_storage,
integer(int_8), optional 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

Parameters
valuevalue to be added to the cache
nbitsnumber of bits to be stored
cachecache to which we want to add
containercontainer that contains the compressed elements
memory_usage...
use_disk_storage...
max_val_memory...
History
10.2007 created [Manuel Guidon]
Author
Manuel Guidon

Definition at line 80 of file hfx_compression_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hfx_get_single_cache_element()

subroutine, public hfx_compression_methods::hfx_get_single_cache_element ( integer(int_8) value,
integer nbits,
type(hfx_cache_type) cache,
type(hfx_container_type) container,
integer memory_usage,
logical 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

Parameters
valuevalue to be retained from the cache
nbitsnumber of bits with which the value has been compressed
cachecache from which we get the value
containercontainer that contains the compressed elements
memory_usage...
use_disk_storage...
History
10.2007 created [Manuel Guidon]
Author
Manuel Guidon

Definition at line 191 of file hfx_compression_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hfx_reset_cache_and_container()

subroutine, public hfx_compression_methods::hfx_reset_cache_and_container ( type(hfx_cache_type) cache,
type(hfx_container_type) container,
integer memory_usage,
logical 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

Parameters
cachecache from which we get the value
containercontainer that contains the compressed elements
memory_usage...
do_disk_storage...
History
10.2007 created [Manuel Guidon]
Author
Manuel Guidon

Definition at line 386 of file hfx_compression_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hfx_decompress_first_cache()

subroutine, public hfx_compression_methods::hfx_decompress_first_cache ( integer nbits,
type(hfx_cache_type) cache,
type(hfx_container_type) container,
integer memory_usage,
logical use_disk_storage )

  • This routine decompresses the first bunch of data in a container and copies them into a cache

Parameters
nbitsnumber of bits with which the data has been stored
cachearray where we want to decompress the data
containercontainer that contains the compressed elements
memory_usage...
use_disk_storage...
History
10.2007 created [Manuel Guidon]
Author
Manuel Guidon

Definition at line 417 of file hfx_compression_methods.F.

Here is the caller graph for this function:

◆ hfx_flush_last_cache()

subroutine, public hfx_compression_methods::hfx_flush_last_cache ( integer nbits,
type(hfx_cache_type) cache,
type(hfx_container_type) container,
integer memory_usage,
logical use_disk_storage )

  • This routine compresses the last probably not yet compressed cache into a container

Parameters
nbitsnumber of bits with which the data has been stored
cachearray where we want to decompress the data
containercontainer that contains the compressed elements
memory_usage...
use_disk_storage...
History
10.2007 created [Manuel Guidon]
Author
Manuel Guidon

Definition at line 440 of file hfx_compression_methods.F.

Here is the caller graph for this function:

◆ hfx_add_mult_cache_elements()

subroutine, public hfx_compression_methods::hfx_add_mult_cache_elements ( real(dp), dimension(*) values,
integer, intent(in) nints,
integer, intent(in) nbits,
type(hfx_cache_type) cache,
type(hfx_container_type) container,
real(dp), intent(in) eps_schwarz,
real(dp), intent(in) pmax_entry,
integer memory_usage,
logical 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

Parameters
valuesvalues to be added to the cache
nints...
nbitsnumber of bits to be stored
cachecache to which we want to add
containercontainer that contains the compressed elements
eps_schwarz...
pmax_entry...
memory_usage...
use_disk_storage...
History
10.2007 created [Manuel Guidon]
Author
Manuel Guidon

Definition at line 475 of file hfx_compression_methods.F.

Here is the caller graph for this function:

◆ hfx_get_mult_cache_elements()

subroutine, public hfx_compression_methods::hfx_get_mult_cache_elements ( real(dp), dimension(*) values,
integer, intent(in) nints,
integer, intent(in) nbits,
type(hfx_cache_type) cache,
type(hfx_container_type) container,
real(dp), intent(in) eps_schwarz,
real(dp), intent(in) pmax_entry,
integer memory_usage,
logical 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

Parameters
valuesvalue to be retained from the cache
nintsnumber of values to be retained
nbitsnumber of bits with which the value has been compressed
cachecache from which we get the value
containercontainer that contains the compressed elements
eps_schwarzthreshold for storage
pmax_entrymultiplication factor for values
memory_usage...
use_disk_storage...
History
10.2007 created [Manuel Guidon]
Author
Manuel Guidon

Definition at line 555 of file hfx_compression_methods.F.

Here is the caller graph for this function: