(git:c641773)
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

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

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 85 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 197 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 392 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 423 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 446 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 481 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 561 of file hfx_compression_methods.F.

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

◆ hfx_add_mult_real_elements()

subroutine, public hfx_compression_methods::hfx_add_mult_real_elements ( real(dp), dimension(*) values,
integer, intent(in) nints,
type(hfx_real_cache_type) cache,
type(hfx_container_type) container,
real(dp), intent(in) eps,
integer memory_usage,
logical 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.

Parameters
valuesvalues to be added
nintsnumber of values (at most CACHE_SIZE)
cachecache to which the values are added
containercontainer that contains the compressed values
epsabsolute error of a value
memory_usage...
use_disk_storage...

Definition at line 706 of file hfx_compression_methods.F.

Here is the caller graph for this function:

◆ hfx_get_mult_real_elements()

subroutine, public hfx_compression_methods::hfx_get_mult_real_elements ( real(dp), dimension(*) values,
integer, intent(in) nints,
type(hfx_real_cache_type) cache,
type(hfx_container_type) container,
real(dp), intent(in) eps,
integer memory_usage,
logical 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.

Parameters
valuesvalues to be retained from the cache
nintsnumber of values (at most CACHE_SIZE)
cachecache from which the values are taken
containercontainer that contains the compressed values
epsabsolute error of a value (as when packed)
memory_usage...
use_disk_storage...

Definition at line 743 of file hfx_compression_methods.F.

Here is the caller graph for this function:

◆ hfx_flush_last_real_cache()

subroutine, public hfx_compression_methods::hfx_flush_last_real_cache ( type(hfx_real_cache_type) cache,
type(hfx_container_type) container,
real(dp), intent(in) eps,
integer memory_usage,
logical use_disk_storage )

Packs the last cache of real values (unused values as zeros) into the container.

Parameters
cachecache to be packed
containercontainer that contains the compressed values
epsabsolute error of a value
memory_usage...
use_disk_storage...

Definition at line 777 of file hfx_compression_methods.F.

Here is the caller graph for this function:

◆ hfx_decompress_first_real_cache()

subroutine, public hfx_compression_methods::hfx_decompress_first_real_cache ( type(hfx_real_cache_type) cache,
type(hfx_container_type) container,
real(dp), intent(in) eps,
integer memory_usage,
logical use_disk_storage )

Fills a cache of real values with the first record of a container.

Parameters
cachecache to be filled
containercontainer that contains the compressed values
epsabsolute error of a value (as when packed)
memory_usage...
use_disk_storage...

Definition at line 803 of file hfx_compression_methods.F.

Here is the caller graph for this function:

◆ hfx_reset_real_cache_and_container()

subroutine, public hfx_compression_methods::hfx_reset_real_cache_and_container ( type(hfx_real_cache_type) cache,
type(hfx_container_type) container,
integer memory_usage,
logical do_disk_storage )

Moves a cache of real values and its container back to the beginning (as hfx_reset_cache_and_container).

Parameters
cachecache of real values
containercontainer that contains the compressed values
memory_usage...
do_disk_storage...

Definition at line 822 of file hfx_compression_methods.F.

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