Octopus
partition.F90 File Reference

Go to the source code of this file.

Modules

module  partition_oct_m
 

Data Types

type  partition_oct_m::partition_t
 The partition is an array that contains the mapping between some global index and a process, such that point ip will be stored in process partitionpart(ip). More...
 
interface  partition_oct_m::partition_get_partition_number
 

Functions/Subroutines

subroutine, public partition_oct_m::partition_init (partition, np_global, mpi_grp)
 initialize the partition table More...
 
subroutine, public partition_oct_m::partition_end (partition)
 
subroutine, public partition_oct_m::partition_set (partition, part)
 
subroutine, public partition_oct_m::partition_dump (partition, dir, filename, ierr)
 write the partition data More...
 
subroutine, public partition_oct_m::partition_load (partition, dir, filename, ierr)
 read the partition data More...
 
subroutine, public partition_oct_m::partition_get_local_size (partition, istart, np_local)
 
subroutine, public partition_oct_m::partition_get_global (partition, part_global, root)
 Returns the global partition. If root is present, the partition is gathered only in that node. Otherwise it is gathered in all nodes. More...
 
subroutine partition_oct_m::partition_get_partition_number_4 (partition, np, points, partno)
 Given a list of global indices, return the partition number where those points are stored. Note that this routine will accept global indices equal to 0. In that case it will return 0 as a partition number. More...
 
subroutine partition_oct_m::partition_get_partition_number_8 (partition, np, points, partno)
 
subroutine, public partition_oct_m::partition_get_np_local (partition, np_local_vec)
 Given the partition, returns the corresponding number of local points that each partition has. More...
 
pure integer function, public partition_oct_m::partition_get_npart (partition)
 Returns the total number of partitions. More...
 
pure integer function, public partition_oct_m::partition_get_part (partition, local_point)
 Returns the partition of the local point. More...
 
pure integer function partition_oct_m::partition_get_number (partition, global_point)
 Returns the partition number for a given global index If the index is zero, return local partition. More...
 
subroutine, public partition_oct_m::partition_get_local (partition, rbuffer, np_local)
 Calculates the local vector of all partitions in parallel. Local vector stores the global point indices that each partition has. More...