s_PARALLELINFO Struct Reference

Parallel information (MPI, MPI Cartesian grid, OpenMP). More...

#include <iwave.h>

List of all members.

Public Attributes

int ndim
 number of dimensions
int nnei
 number of neighbor processors, it equals to IWAVE_NNEI
int wsize
 Size of the MPI_COMM_WORLD.
int wrank
 Rank in the MPI_COMM_WORLD.
int threadsupp
 Thread support level.
MPI_Comm ccomm
 Cartesian communicator.
IPNT cdims
 Cartesian grid dimensions.
IPNT crank
 Cartesian rank.
int lrank
 Linear rank in ccomm.
int sranks [IWAVE_NNEI]
 Ranks of send neighbors - subtracted from crank.
int rranks [IWAVE_NNEI]
 Ranks of recv neighbors - added to crank.
EXCHANGEINFO seinfo [RDOM_MAX_NARR][IWAVE_NNEI]
 send buffers, corresponding to send neighbors
EXCHANGEINFO reinfo [RDOM_MAX_NARR][IWAVE_NNEI]
 recv buffers, corresponding to recv neighbors


Detailed Description

Parallel information (MPI, MPI Cartesian grid, OpenMP).

Assumption: cartesian grid for 1D/2D/3D.

Definition at line 36 of file iwave.h.


Member Data Documentation

int s_PARALLELINFO::ndim

number of dimensions

Definition at line 37 of file iwave.h.

int s_PARALLELINFO::nnei

number of neighbor processors, it equals to IWAVE_NNEI

Definition at line 38 of file iwave.h.

int s_PARALLELINFO::wsize

Size of the MPI_COMM_WORLD.

Definition at line 39 of file iwave.h.

int s_PARALLELINFO::wrank

Rank in the MPI_COMM_WORLD.

Definition at line 40 of file iwave.h.

int s_PARALLELINFO::threadsupp

Thread support level.

Definition at line 41 of file iwave.h.

MPI_Comm s_PARALLELINFO::ccomm

Cartesian communicator.

Definition at line 42 of file iwave.h.

IPNT s_PARALLELINFO::cdims

Cartesian grid dimensions.

Definition at line 43 of file iwave.h.

IPNT s_PARALLELINFO::crank

Cartesian rank.

Definition at line 44 of file iwave.h.

int s_PARALLELINFO::lrank

Linear rank in ccomm.

Definition at line 45 of file iwave.h.

int s_PARALLELINFO::sranks[IWAVE_NNEI]

Ranks of send neighbors - subtracted from crank.

Definition at line 46 of file iwave.h.

int s_PARALLELINFO::rranks[IWAVE_NNEI]

Ranks of recv neighbors - added to crank.

Definition at line 47 of file iwave.h.

EXCHANGEINFO s_PARALLELINFO::seinfo[RDOM_MAX_NARR][IWAVE_NNEI]

send buffers, corresponding to send neighbors

Definition at line 48 of file iwave.h.

EXCHANGEINFO s_PARALLELINFO::reinfo[RDOM_MAX_NARR][IWAVE_NNEI]

recv buffers, corresponding to recv neighbors

Definition at line 49 of file iwave.h.


The documentation for this struct was generated from the following file:
Generated on 5 Jan 2017 for IWAVECORE by  doxygen 1.4.7