(git:6a2e663)
distribution_1d_types Module Reference

stores a lists of integer that are local to a processor. The idea is that these integers represent objects that are distributed between the different processors. The ordering is just to make some operation more efficient, logically these lists are like sets. Some operations assume that the integers represent a range of values from 1 to a (not too big) maxval, and that an element is present just once, and only on a processor (these assumption are marked in the documentation of such operations). The concrete task for which this structure was developed was distributing atoms between the processors. More...

Functions/Subroutines

subroutine, public distribution_1d_create (distribution_1d, para_env, listbased_distribution, n_el, n_lists)
 creates a local list More...
 
subroutine, public distribution_1d_retain (distribution_1d)
 retains a distribution_1d More...
 
subroutine, public distribution_1d_release (distribution_1d)
 releases the given distribution_1d More...
 

Detailed Description

stores a lists of integer that are local to a processor. The idea is that these integers represent objects that are distributed between the different processors. The ordering is just to make some operation more efficient, logically these lists are like sets. Some operations assume that the integers represent a range of values from 1 to a (not too big) maxval, and that an element is present just once, and only on a processor (these assumption are marked in the documentation of such operations). The concrete task for which this structure was developed was distributing atoms between the processors.

History
05.2002 created [fawzi]
Author
Fawzi Mohamed

Function/Subroutine Documentation

◆ distribution_1d_create()

subroutine, public distribution_1d_types::distribution_1d_create ( type(distribution_1d_type), pointer  distribution_1d,
type(mp_para_env_type), pointer  para_env,
logical, intent(in), optional  listbased_distribution,
integer, dimension(:), intent(in), optional  n_el,
integer, intent(in), optional  n_lists 
)

creates a local list

Parameters
distribution_1dthe lists to create
para_envparallel environment to be used
listbased_distributionif each list has its own distribution (defaults to false)
n_elnumber of elements in each list (defaults to 0)
n_listsnumber of lists to create (defaults to 1, or size(n_el))
History
05.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 85 of file distribution_1d_types.F.

Here is the caller graph for this function:

◆ distribution_1d_retain()

subroutine, public distribution_1d_types::distribution_1d_retain ( type(distribution_1d_type), intent(inout)  distribution_1d)

retains a distribution_1d

Parameters
distribution_1dthe object to retain
History
05.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 134 of file distribution_1d_types.F.

Here is the caller graph for this function:

◆ distribution_1d_release()

subroutine, public distribution_1d_types::distribution_1d_release ( type(distribution_1d_type), pointer  distribution_1d)

releases the given distribution_1d

Parameters
distribution_1dthe object to release
History
05.2002 created [fawzi]
Author
Fawzi Mohamed

Definition at line 148 of file distribution_1d_types.F.

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