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(dimension_S)

DESCRIPTION

  This subroutine allocate the necessary memory to store
  the n+2/n+4 four point functions and the n 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 deallocate the reserved memory to store
  the n+2/n+4 four point functions and the n 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 compted again 

INPUTS

  No inputs

SIDE EFFECTS

  No side effect

RETURN VALUE

  No return value

EXAMPLE