![]() |
ORB5
v4.9.4
|
Private Member Functions | |
procedure | init_gpu |
procedure | build_permutation |
generic | apply => apply_real, apply_logical, apply_integer8, apply_real4, apply_real_inplace, apply_logical_inplace, apply_integer8_inplace, apply_real4_inplace |
procedure | apply_real |
procedure | apply_logical |
procedure | apply_integer8 |
procedure | apply_real4 |
procedure | apply_real_inplace |
procedure | apply_logical_inplace |
procedure | apply_integer8_inplace |
procedure | apply_real4_inplace |
type(sorting_class) function | constructor (npalloc, nl_inplace, ndim, xmin, xmax, nx, ymin, ymax, ny, zmin, zmax, nz) |
Sorting constructor. More... | |
Private Attributes | |
integer | ndim |
Number of dimensions. More... | |
integer | nx |
Number of bins in first dimension. More... | |
integer | ny |
Number of bins in second dimension. More... | |
integer | nz |
Number of bins in third dimension. More... | |
real | xmin |
Lower bound of first dimension. More... | |
real | ymin |
Lower bound of second dimension. More... | |
real | zmin |
Lower bound of third dimension. More... | |
real | dx_inv |
Inverse bin length in first dimension. More... | |
real | dy_inv |
Inverse bin length in second dimension. More... | |
real | dz_inv |
Inverse bin length in third dimension. More... | |
integer, dimension(:,:), allocatable | counts |
Number of markers per bin (last element contains out-of-bounds markers) More... | |
integer, dimension(:,:), allocatable | displs |
Offset in marker array to access markers in a bin (first element is zero) More... | |
integer, dimension(:), allocatable | dest |
Index of each marker destination bin. More... | |
integer, dimension(:), allocatable | indices |
Particle index in the destination bin. More... | |
integer, dimension(:), allocatable | permut |
Permutation to go from unsorted to sorted array. More... | |
integer, dimension(:), allocatable | inv_permut |
Permutation to go back to unsorted from sorted array. More... | |
integer | npalloc |
Maximal number of markers that will be sorted. More... | |
real, dimension(:), allocatable | work_real |
Real working array for in-place sorting. More... | |
logical, dimension(:), allocatable | work_logical |
Logical working array for in-place sorting. More... | |
real(kind=r4), dimension(:), allocatable | work_real4 |
Real4 working array for in-place sorting. More... | |
integer(kind=i8), dimension(:), allocatable | work_integer8 |
Integer8 working array for in-place sorting. More... | |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Sorting constructor.
[in] | npalloc | Maximal number of markers that will be sorted |
[in] | nl_inplace | Apply in-place sorting |
[in] | ndim | Number of dimensions |
[in] | xmin | Lower bound of first dimension |
[in] | xmax | Upper bound of first dimension |
[in] | nx | Number of bins in first dimension |
[in] | ymin | Lower bound of second dimension if ndim>=2 |
[in] | ymax | Upper bound of second dimension if ndim>=2 |
[in] | ny | Number of bins in second dimension if ndim>=2 |
[in] | zmin | Lower bound of third dimension if ndim>=3 |
[in] | zmax | Upper bound of third dimension if ndim>=3 |
[in] | nz | Number of bins in third dimension if ndim>=3 |
|
private |
|
private |
Number of markers per bin (last element contains out-of-bounds markers)
|
private |
Index of each marker destination bin.
|
private |
Offset in marker array to access markers in a bin (first element is zero)
|
private |
Inverse bin length in first dimension.
|
private |
Inverse bin length in second dimension.
|
private |
Inverse bin length in third dimension.
|
private |
Particle index in the destination bin.
|
private |
Permutation to go back to unsorted from sorted array.
|
private |
Number of dimensions.
|
private |
Maximal number of markers that will be sorted.
|
private |
Number of bins in first dimension.
|
private |
Number of bins in second dimension.
|
private |
Number of bins in third dimension.
|
private |
Permutation to go from unsorted to sorted array.
|
private |
Integer8 working array for in-place sorting.
|
private |
Logical working array for in-place sorting.
|
private |
Real working array for in-place sorting.
|
private |
Real4 working array for in-place sorting.
|
private |
Lower bound of first dimension.
|
private |
Lower bound of second dimension.
|
private |
Lower bound of third dimension.