![]() |
(git:d18deda)
|
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...
Data Types | |
type | distribution_1d_type |
structure to store local (to a processor) ordered lists of integers. More... | |
Functions/Subroutines | |
subroutine, public | distribution_1d_create (distribution_1d, para_env, listbased_distribution, n_el, n_lists) |
creates a local list | |
subroutine, public | distribution_1d_retain (distribution_1d) |
retains a distribution_1d | |
subroutine, public | distribution_1d_release (distribution_1d) |
releases the given distribution_1d | |
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.
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
distribution_1d | the lists to create |
para_env | parallel environment to be used |
listbased_distribution | if each list has its own distribution (defaults to false) |
n_el | number of elements in each list (defaults to 0) |
n_lists | number of lists to create (defaults to 1, or size(n_el)) |
Definition at line 85 of file distribution_1d_types.F.
subroutine, public distribution_1d_types::distribution_1d_retain | ( | type(distribution_1d_type), intent(inout) | distribution_1d | ) |
retains a distribution_1d
distribution_1d | the object to retain |
Definition at line 134 of file distribution_1d_types.F.
subroutine, public distribution_1d_types::distribution_1d_release | ( | type(distribution_1d_type), pointer | distribution_1d | ) |
releases the given distribution_1d
distribution_1d | the object to release |
Definition at line 148 of file distribution_1d_types.F.