Hitmap 1.3
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros Groups Pages
Macros | Functions | Variables
refMPIJacobi2D.v2.1.c File Reference
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <mpi.h>
Include dependency graph for refMPIJacobi2D.v2.1.c:

Go to the source code of this file.

Macros

#define mpiTestError(ok, cad)
 
#define elementGlobal(mat, idx1, idx2)   (mat[(idx1)*columns+(idx2)])
 
#define element(mat, idx1, idx2)   (mat[(idx1)*size[1]+(idx2)])
 

Functions

int * factors2D (int numProc)
 
int main (int argc, char *argv[])
 

Variables

int mpiRank
 
int mpiNProc
 
double clock
 
double clockReduce
 

Macro Definition Documentation

#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); \
}
int mpiRank
Definition: refMPICannon.c:68

Definition at line 50 of file refMPIJacobi2D.v2.1.c.

Function Documentation

int* factors2D ( int  numProc)

Definition at line 65 of file refMPIJacobi2D.v2.1.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 102 of file refMPIJacobi2D.v2.1.c.

Here is the call graph for this function:

Variable Documentation

double clock

Definition at line 59 of file refMPIJacobi2D.v2.1.c.

double clockReduce

Definition at line 59 of file refMPIJacobi2D.v2.1.c.

int mpiNProc

Definition at line 58 of file refMPIJacobi2D.v2.1.c.

int mpiRank

Definition at line 57 of file refMPIJacobi2D.v2.1.c.