DOUG 0.2
Functions/Subroutines

Distribution_mod Module Reference

Interface component for data distribution. More...

Functions/Subroutines

type(Distribution), public Distribution_NewInit (input_type, nparts, part_opts)
 Distributes data, chooses algorithm based on input type.
subroutine, public Distribution_pmvm (D, y, x)
 Parallel matrix-vector multiplication.
subroutine, public Distribution_addoverlap (D, x)
subroutine pmvmCommStructs_init (A, M, C)
subroutine pmvmCommStructs_destroy (C)

Detailed Description

Interface component for data distribution.


Function/Subroutine Documentation

subroutine,public Distribution_mod::Distribution_addoverlap ( type(Distribution),intent(in)  D,
float(kind=rk),dimension(:),intent(inout)  x 
)
type(Distribution),public Distribution_mod::Distribution_NewInit ( integer,intent(in)  input_type,
integer,intent(in)  nparts,
integer,dimension(6),intent(in)  part_opts 
)

Distributes data, chooses algorithm based on input type.

Parameters:
input_typeInput Type
npartsnumber of parts to partition a mesh
part_optspartition options (see METIS manual)

Definition at line 50 of file Distribution.F90.

References Distribution_base_mod::Distribution_New(), Distribution_struct_mod::Distribution_struct_NewInit(), DOUG_utils::DOUG_abort(), Distribution_elem_mod::parallelAssembleFromElemInput(), Distribution_assm_mod::parallelDistributeAssembledInput(), and globals::sctls.

Referenced by main_aggr(), and main_geom().

subroutine,public Distribution_mod::Distribution_pmvm ( type(Distribution),intent(inout)  D,
float(kind=rk),dimension(:),pointer  y,
float(kind=rk),dimension(:),pointer  x 
)

Parallel matrix-vector multiplication.

Parameters:
DMesh and system matrix

Definition at line 78 of file Distribution.F90.

References not, globals::numprocs, or(), pmvmCommStructs_init(), globals::sctls, SpMtx_operation::SpMtx_pmvm_assembled(), SpMtx_operation::SpMtx_pmvm_assembled_ol0(), and SpMtx_operation::SpMtx_pmvm_elemental().

Referenced by main_geom(), and pcg_mod::pcg_weigs().

subroutine Distribution_mod::pmvmCommStructs_destroy ( type(OperationCache),intent(inout)  C) [private]

Definition at line 237 of file Distribution.F90.

subroutine Distribution_mod::pmvmCommStructs_init ( type(SpMtx),intent(in)  A,
type(Mesh),intent(in)  M,
type(OperationCache),intent(inout)  C 
) [private]

Definition at line 125 of file Distribution.F90.

References globals::numprocs, or(), and globals::sctls.

Referenced by Distribution_pmvm().