#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <mpi.h>
Go to the source code of this file.
#define element |
( |
|
mat, |
|
|
|
idx1, |
|
|
|
idx2 |
|
) |
| (mat[(idx1)*size[1]+(idx2)]) |
#define elementGlobal |
( |
|
mat, |
|
|
|
idx1, |
|
|
|
idx2 |
|
) |
| (mat[(idx1)*columns+(idx2)]) |
#define mpiTestError |
( |
|
ok, |
|
|
|
cad |
|
) |
| |
Value:if ( ok != MPI_SUCCESS ) { \
fprintf(stderr,
"RunTime-Error, Rank %d: %s - %d\n",
mpiRank, cad, ok);\
exit(-1); \
}
Definition at line 50 of file refMPIJacobi2D.v2.1.c.
int* factors2D |
( |
int |
numProc | ) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |