DistDir
Functions
Exchange_tests

Functions

static int exchange_test01 (MPI_Comm comm)
 test01 for exchange module More...
 

Detailed Description

Tests of the exchange module

Function Documentation

◆ exchange_test01()

static int exchange_test01 ( MPI_Comm  comm)
static

test01 for exchange module

The test uses a total of 4 MPI processes over a 4x4 global 2D domain. Processes 0,1 have the following domain decomposition:

Rank: 0 Indices: 0, 1, 4, 5, 8, 9, 12, 13 Rank: 1 Indices: 2, 3, 6, 7, 10, 11, 14, 15

Processes 2,3 have the following domain decomposition:

Rank: 2 Indices: 0, 1, 2, 3, 4, 5, 6, 7, 8 Rank: 3 Indices: 9, 10, 11, 12, 13, 14, 15

Ranks 0,1 are sender processes and ranks 2,3 are receivers processes.

All the exchanger types are tested with int type.

The test is based on example_basic1.