(git:374b731)
Loading...
Searching...
No Matches
cp_fm_pool_types.F File Reference

Go to the source code of this file.

Data Types

type  cp_fm_pool_types::cp_fm_pool_type
 represent a pool of elements with the same structure More...
 
type  cp_fm_pool_types::cp_fm_pool_p_type
 to create arrays of pools More...
 
interface  cp_fm_pool_types::fm_pools_create_fm_vect
 
interface  cp_fm_pool_types::fm_pools_give_back_fm_vect
 

Modules

module  cp_fm_pool_types
 pool for for elements that are retained and released
 

Functions/Subroutines

subroutine, public cp_fm_pool_types::fm_pool_create (pool, el_struct)
 creates a pool of elements
 
subroutine, public cp_fm_pool_types::fm_pool_retain (pool)
 retains the pool (see cp2k/doc/ReferenceCounting.html)
 
subroutine, public cp_fm_pool_types::fm_pool_release (pool)
 releases the given pool (see cp2k/doc/ReferenceCounting.html)
 
subroutine, public cp_fm_pool_types::fm_pool_create_fm (pool, element, name)
 returns an element, allocating it if none is in the pool
 
subroutine, public cp_fm_pool_types::fm_pool_give_back_fm (pool, element)
 returns the element to the pool
 
type(cp_fm_struct_type) function, pointer, public cp_fm_pool_types::fm_pool_get_el_struct (pool)
 returns the structure of the elements in this pool
 
subroutine, public cp_fm_pool_types::fm_pools_dealloc (pools)
 deallocate an array of pools (releasing each pool)