![]() |
(git:b77b4be)
|
Data Types | |
type | realspace_grid_desc_p_type |
type | realspace_grid_desc_type |
type | realspace_grid_input_type |
type | realspace_grid_p_type |
type | realspace_grid_type |
Functions/Subroutines | |
pure integer function, public | rs_grid_locate_rank (rs_desc, rank_in, shift) |
returns the 1D rank of the task which is a cartesian shift away from 1D rank rank_in only possible if rs_grid is a distributed grid | |
subroutine, public | rs_grid_create_descriptor (desc, pw_grid, input_settings, border_points) |
Determine the setup of real space grids - this is divided up into the creation of a descriptor and the actual grid itself (see rs_grid_create) | |
subroutine, public | rs_grid_create (rs, desc) |
... | |
pure subroutine, public | rs_grid_reorder_ranks (desc, real2virtual) |
Defines a new ordering of ranks on this realspace grid, recalculating the data bounds and reallocating the grid. As a result, each MPI process now has a real rank (i.e., its rank in the MPI communicator from the pw grid) and a virtual rank (the rank of the process where the data now owned by this process would reside in an ordinary cartesian distribution). NB. Since the grid size required may change, the caller should be sure to release and recreate the corresponding rs_grids The descreal2virtual and descvirtual2real arrays can be used to map a physical rank to the 'rank' of data owned by that process and vice versa. | |
subroutine, public | rs_grid_print (rs, iounit) |
Print information on grids to output. | |
subroutine, public | transfer_rs2pw (rs, pw) |
... | |
subroutine, public | transfer_pw2rs (rs, pw) |
... | |
subroutine, public | rs_grid_zero (rs) |
Initialize grid to zero. | |
subroutine, public | rs_grid_mult_and_add (rs1, rs2, rs3, scalar) |
rs1(i) = rs1(i) + rs2(i)*rs3(i) | |
subroutine, public | rs_grid_set_box (pw_grid, rs) |
Set box matrix info for real space grid This is needed for variable cell simulations. | |
subroutine, public | rs_grid_retain_descriptor (rs_desc) |
retains the given rs grid descriptor (see doc/ReferenceCounting.html) | |
subroutine, public | rs_grid_release (rs_grid) |
releases the given rs grid (see doc/ReferenceCounting.html) | |
subroutine, public | rs_grid_release_descriptor (rs_desc) |
releases the given rs grid descriptor (see doc/ReferenceCounting.html) | |
integer function, public | rs_grid_max_ngpts (desc) |
returns the maximum number of points in the local grid of any process to account for the case where the grid may later be reordered | |
pure logical function, public | map_gaussian_here (rs_grid, h_inv, ra, offset, group_size, my_pos) |
... | |
Variables | |
integer, parameter, public | rsgrid_distributed = 0 |
integer, parameter, public | rsgrid_replicated = 1 |
integer, parameter, public | rsgrid_automatic = 2 |
pure integer function, public realspace_grid_types::rs_grid_locate_rank | ( | type(realspace_grid_desc_type), intent(in) | rs_desc, |
integer, intent(in) | rank_in, | ||
integer, dimension(3), intent(in) | shift | ||
) |
returns the 1D rank of the task which is a cartesian shift away from 1D rank rank_in only possible if rs_grid is a distributed grid
rs_desc | ... |
rank_in | ... |
shift | ... |
Definition at line 172 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_create_descriptor | ( | type(realspace_grid_desc_type), pointer | desc, |
type(pw_grid_type), intent(inout), target | pw_grid, | ||
type(realspace_grid_input_type), intent(in) | input_settings, | ||
integer, intent(in), optional | border_points | ||
) |
Determine the setup of real space grids - this is divided up into the creation of a descriptor and the actual grid itself (see rs_grid_create)
desc | ... |
pw_grid | ... |
input_settings | ... |
border_points | ... |
Definition at line 201 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_create | ( | type(realspace_grid_type), intent(out) | rs, |
type(realspace_grid_desc_type), intent(inout), target | desc | ||
) |
...
rs | ... |
desc | ... |
Definition at line 477 of file realspace_grid_types.F.
pure subroutine, public realspace_grid_types::rs_grid_reorder_ranks | ( | type(realspace_grid_desc_type), intent(inout) | desc, |
integer, dimension(:), intent(in) | real2virtual | ||
) |
Defines a new ordering of ranks on this realspace grid, recalculating the data bounds and reallocating the grid. As a result, each MPI process now has a real rank (i.e., its rank in the MPI communicator from the pw grid) and a virtual rank (the rank of the process where the data now owned by this process would reside in an ordinary cartesian distribution). NB. Since the grid size required may change, the caller should be sure to release and recreate the corresponding rs_grids The descreal2virtual and descvirtual2real arrays can be used to map a physical rank to the 'rank' of data owned by that process and vice versa.
desc | ... |
real2virtual | ... |
Definition at line 551 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_print | ( | type(realspace_grid_type), intent(in) | rs, |
integer, intent(in) | iounit | ||
) |
Print information on grids to output.
rs | ... |
iounit | ... |
Definition at line 578 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::transfer_rs2pw | ( | type(realspace_grid_type), intent(in) | rs, |
type(pw_r3d_rs_type), intent(inout) | pw | ||
) |
...
rs | ... |
pw | ... |
Definition at line 651 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::transfer_pw2rs | ( | type(realspace_grid_type), intent(in) | rs, |
type(pw_r3d_rs_type), intent(in) | pw | ||
) |
...
rs | ... |
pw | ... |
Definition at line 693 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_zero | ( | type(realspace_grid_type), intent(in) | rs | ) |
Initialize grid to zero.
rs | ... |
Definition at line 1904 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_mult_and_add | ( | type(realspace_grid_type), intent(in) | rs1, |
type(realspace_grid_type), intent(in) | rs2, | ||
type(realspace_grid_type), intent(in) | rs3, | ||
real(dp), intent(in) | scalar | ||
) |
rs1(i) = rs1(i) + rs2(i)*rs3(i)
rs1 | ... |
rs2 | ... |
rs3 | ... |
scalar | ... |
Definition at line 1940 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_set_box | ( | type(pw_grid_type), intent(in), target | pw_grid, |
type(realspace_grid_type), intent(in) | rs | ||
) |
Set box matrix info for real space grid This is needed for variable cell simulations.
pw_grid | ... |
rs | ... |
Definition at line 1979 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_retain_descriptor | ( | type(realspace_grid_desc_type), intent(inout) | rs_desc | ) |
retains the given rs grid descriptor (see doc/ReferenceCounting.html)
rs_desc | the grid descriptor to retain |
Definition at line 1997 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_release | ( | type(realspace_grid_type), intent(inout) | rs_grid | ) |
releases the given rs grid (see doc/ReferenceCounting.html)
rs_grid | the rs grid to release |
Definition at line 2011 of file realspace_grid_types.F.
subroutine, public realspace_grid_types::rs_grid_release_descriptor | ( | type(realspace_grid_desc_type), pointer | rs_desc | ) |
releases the given rs grid descriptor (see doc/ReferenceCounting.html)
rs_desc | the rs grid descriptor to release |
Definition at line 2031 of file realspace_grid_types.F.
integer function, public realspace_grid_types::rs_grid_max_ngpts | ( | type(realspace_grid_desc_type), intent(in) | desc | ) |
returns the maximum number of points in the local grid of any process to account for the case where the grid may later be reordered
desc | ... |
Definition at line 2102 of file realspace_grid_types.F.
pure logical function, public realspace_grid_types::map_gaussian_here | ( | type(realspace_grid_type), intent(in) | rs_grid, |
real(kind=dp), dimension(3, 3), intent(in) | h_inv, | ||
real(kind=dp), dimension(3), intent(in) | ra, | ||
integer, intent(in), optional | offset, | ||
integer, intent(in), optional | group_size, | ||
integer, intent(in), optional | my_pos | ||
) |
...
rs_grid | ... |
h_inv | ... |
ra | ... |
offset | ... |
group_size | ... |
my_pos | ... |
Definition at line 2143 of file realspace_grid_types.F.
integer, parameter, public realspace_grid_types::rsgrid_distributed = 0 |
Definition at line 72 of file realspace_grid_types.F.
integer, parameter, public realspace_grid_types::rsgrid_replicated = 1 |
Definition at line 72 of file realspace_grid_types.F.
integer, parameter, public realspace_grid_types::rsgrid_automatic = 2 |
Definition at line 72 of file realspace_grid_types.F.