DOUG 0.2
Functions/Subroutines

Distribution_struct_mod Module Reference

Cartesian (structured) mesh with Laplace equation. More...

Functions/Subroutines

type(DistributionDistribution_struct_NewInit (n, ol)
 Create structured mesh with distribution and Laplace matrix.

Detailed Description

Cartesian (structured) mesh with Laplace equation.

Try to distribute work evenly between processes.


Function/Subroutine Documentation

type(Distribution) Distribution_struct_mod::Distribution_struct_NewInit ( integer,intent(in)  n,
integer,intent(in)  ol 
)

Create structured mesh with distribution and Laplace matrix.

Parameters:
nnumber of nodes along each axis, total n*n
oloverlap to other process regions

Definition at line 36 of file Distribution_struct.F90.

References SpMtx_class::D_SpMtx_ARRNG_ROWS, Distribution_base_mod::Distribution_New(), Mesh_class::Mesh_Init(), globals::myrank, globals::numprocs, globals::sctls, SpMtx_distribution_mod::SpMtx_localize(), and globals::stream.

Referenced by Distribution_mod::Distribution_NewInit().