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

Go to the source code of this file.

Macros

#define mpiTestError(ok, cad)
 
#define element(mat, idx1, idx2)   (mat[(idx1)*columns+(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)*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 47 of file refMPIGaussSeidel2D.v1.c.

Function Documentation

int* factors2D ( int  numProc)

Definition at line 62 of file refMPIGaussSeidel2D.v1.c.

Here is the caller graph for this function:

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

Definition at line 99 of file refMPIGaussSeidel2D.v1.c.

Here is the call graph for this function:

Variable Documentation

double clock

Definition at line 56 of file refMPIGaussSeidel2D.v1.c.

double clockReduce

Definition at line 56 of file refMPIGaussSeidel2D.v1.c.

int mpiNProc

Definition at line 55 of file refMPIGaussSeidel2D.v1.c.

int mpiRank

Definition at line 54 of file refMPIGaussSeidel2D.v1.c.