Octopus
distributed_oct_m::distributed_t Type Reference

Distribution of N instances over mpi_grpsize processes, for the local rank mpi_grprank. Distribution for all other processes of mpi_grpcomm are stored in process, num and range. More...

Detailed Description

Distribution of N instances over mpi_grpsize processes, for the local rank mpi_grprank. Distribution for all other processes of mpi_grpcomm are stored in process, num and range.

Definition at line 137 of file distributed.F90.

Private Member Functions

procedure nlocal => distributed_nlocal
 Number of instances on this process. More...
 
procedure nglobal => distributed_nglobal
 Total number of distributed instances. More...
 
procedure displs => distributed_displs
 Displacement of each process''s local part. More...
 

Private Attributes

integer start = 1
 Start index of distributed quantity on process mpi_grprank. More...
 
integer end = 0
 End index of distributed quantity on process mpi_grprank. More...
 
logical parallel = .false.
 Is the quantity distributed. More...
 
integer, dimension(:), allocatable process
 Map quantity global index to its process, mpi_grprank. More...
 
integer, dimension(:, :), allocatable range
 Start and end indices associated with each process. More...
 
integer, dimension(:), allocatable num
 Number of distributed quantities on each process of mpi_grp. More...
 
type(mpi_grp_tmpi_grp
 MPI comm plus basic info. More...
 

Member Function/Subroutine Documentation

◆ nlocal()

procedure distributed_oct_m::distributed_t::nlocal
private

Number of instances on this process.

Definition at line 149 of file distributed.F90.

◆ nglobal()

procedure distributed_oct_m::distributed_t::nglobal
private

Total number of distributed instances.

Definition at line 150 of file distributed.F90.

◆ displs()

procedure distributed_oct_m::distributed_t::displs
private

Displacement of each process''s local part.

Definition at line 151 of file distributed.F90.

Member Data Documentation

◆ start

integer distributed_oct_m::distributed_t::start = 1
private

Start index of distributed quantity on process mpi_grprank.

Definition at line 138 of file distributed.F90.

◆ end

integer distributed_oct_m::distributed_t::end = 0
private

End index of distributed quantity on process mpi_grprank.

Definition at line 139 of file distributed.F90.

◆ parallel

logical distributed_oct_m::distributed_t::parallel = .false.
private

Is the quantity distributed.

Definition at line 140 of file distributed.F90.

◆ process

integer, dimension(:), allocatable distributed_oct_m::distributed_t::process
private

Map quantity global index to its process, mpi_grprank.

Definition at line 141 of file distributed.F90.

◆ range

integer, dimension(:, :), allocatable distributed_oct_m::distributed_t::range
private

Start and end indices associated with each process.

Definition at line 142 of file distributed.F90.

◆ num

integer, dimension(:), allocatable distributed_oct_m::distributed_t::num
private

Number of distributed quantities on each process of mpi_grp.

Definition at line 145 of file distributed.F90.

◆ mpi_grp

type(mpi_grp_t) distributed_oct_m::distributed_t::mpi_grp
private

MPI comm plus basic info.

Definition at line 147 of file distributed.F90.


The documentation for this type was generated from the following file: