golem is hosted by Hepforge, IPPP Durham

src/module/cache [ Modules ]

[ Top ] [ Modules ]

NAME

  Module cache

USAGE

  use cache

DESCRIPTION

  This module is used to reserve some memory to store already computed four/three
  point functions

OUTPUT

  This module exports three routines:
  * allocate_cache -- to reserve the memory
  * reset_cache -- to force the re-computation of the cache arrays
  * clear_cache -- to clear the reserved memory

USES

  * sortie_erreur (src/module/sortie_erreur.f90)

src/module/cache/allocate_cache [ Functions ]

[ Top ] [ Functions ]

NAME

  Subroutine allocate_cache

USAGE

  call allocate_cache(dim_s)

DESCRIPTION

  This subroutine allocates the necessary memory to store
  the n+2/n+4 four point functions and the n/n+2 three point functions

INPUTS

  * dim_s -- an integer, the dimension of the S matrix

SIDE EFFECTS

  No side effect

RETURN VALUE

  No return value

EXAMPLE


src/module/cache/clear_cache [ Functions ]

[ Top ] [ Functions ]

NAME

  Subroutine clear_cache

USAGE

  call clear_cache()

DESCRIPTION

  This subroutine deallocates the reserved memory to store
  the n+2/n+4 four point functions and the n/n+2 three point functions.

INPUTS

  No inputs

SIDE EFFECTS

  No side effect

RETURN VALUE

  No return value

EXAMPLE


src/module/cache/reset_cache [ Functions ]

[ Top ] [ Functions ]

NAME

  Subroutine reset_cache

USAGE

  call reset_cache()

DESCRIPTION

  This subroutine forces the cache arrays to be computed again 

INPUTS

  No inputs

SIDE EFFECTS

  No side effect

RETURN VALUE

  No return value

EXAMPLE