Octopus
par_vec.F90 File Reference

Go to the source code of this file.

Modules

module  par_vec_oct_m
 Some general things and nomenclature:
 

Data Types

type  par_vec_oct_m::par_vec_t
 Parallel information. More...
 
interface  par_vec_oct_m::par_vec_scatter
 
interface  par_vec_oct_m::par_vec_gather
 
interface  par_vec_oct_m::par_vec_allgather
 

Functions/Subroutines

subroutine, public par_vec_oct_m::par_vec_init (mpi_grp, np_global, idx, stencil, space, partition, pv, namespace)
 Initializes a par_vec_type object (parallel vector). More...
 
subroutine reorder_points ()
 
subroutine init_mpi_alltoall ()
 
subroutine, public par_vec_oct_m::par_vec_end (pv)
 Deallocate memory used by pv. More...
 
integer function, public par_vec_oct_m::par_vec_global2local (pv, ipg)
 Returns local number of global point ip on the local node If the result is zero, the point is not available on the local node. More...
 
integer(int64) function, public par_vec_oct_m::par_vec_local2global (pv, ip)
 Returns global index of local point ip. More...
 
subroutine par_vec_oct_m::gather_local_vec (pv, root, local_vec)
 
subroutine par_vec_oct_m::zpar_vec_scatter (pv, root, v_local, v)
 Generally: Xpar_vec_gather and Xpar_vec_scatter only consider inner points. Xpar_vec_scatter_bndry takes care of boundary points (there is no Xpar_vec_gather_bndry as they are only written and not read). Xpar_vec_scatter_all is Xpar_vec_scatter followd by Xpar_vec_scatter_bndry. More...
 
subroutine par_vec_oct_m::zpar_vec_gather (pv, root, v_local, v)
 Reverse operation of Xpar_vec_scatter. All v_locals from the nodes are packed together into v on node root in correct order. More...
 
subroutine par_vec_oct_m::zpar_vec_allgather (pv, v, v_local)
 Like Xpar_vec_gather but the result is gathered on all nodes, i. e. v has to be a properly allocated array on all nodes. More...
 
subroutine par_vec_oct_m::dpar_vec_scatter (pv, root, v_local, v)
 Generally: Xpar_vec_gather and Xpar_vec_scatter only consider inner points. Xpar_vec_scatter_bndry takes care of boundary points (there is no Xpar_vec_gather_bndry as they are only written and not read). Xpar_vec_scatter_all is Xpar_vec_scatter followd by Xpar_vec_scatter_bndry. More...
 
subroutine par_vec_oct_m::dpar_vec_gather (pv, root, v_local, v)
 Reverse operation of Xpar_vec_scatter. All v_locals from the nodes are packed together into v on node root in correct order. More...
 
subroutine par_vec_oct_m::dpar_vec_allgather (pv, v, v_local)
 Like Xpar_vec_gather but the result is gathered on all nodes, i. e. v has to be a properly allocated array on all nodes. More...
 
subroutine par_vec_oct_m::ipar_vec_scatter (pv, root, v_local, v)
 Generally: Xpar_vec_gather and Xpar_vec_scatter only consider inner points. Xpar_vec_scatter_bndry takes care of boundary points (there is no Xpar_vec_gather_bndry as they are only written and not read). Xpar_vec_scatter_all is Xpar_vec_scatter followd by Xpar_vec_scatter_bndry. More...
 
subroutine par_vec_oct_m::ipar_vec_gather (pv, root, v_local, v)
 Reverse operation of Xpar_vec_scatter. All v_locals from the nodes are packed together into v on node root in correct order. More...
 
subroutine par_vec_oct_m::ipar_vec_allgather (pv, v, v_local)
 Like Xpar_vec_gather but the result is gathered on all nodes, i. e. v has to be a properly allocated array on all nodes. More...
 

Function/Subroutine Documentation

◆ reorder_points()

subroutine par_vec_init::reorder_points
private

Definition at line 536 of file par_vec.F90.

◆ init_mpi_alltoall()

subroutine par_vec_init::init_mpi_alltoall
private

Definition at line 674 of file par_vec.F90.