Jacobi
Functions
Input.c File Reference

This contains the command-line argument parser and support functions. More...

#include <string.h>
#include "Jacobi.h"
Include dependency graph for Input.c:

Functions

int ParseCommandLineArguments (int argc, char **argv, int rank, int size, int2 *domSize, int2 *topSize, int *useFastSwap)
 Parses the application's command-line arguments.

Detailed Description

This contains the command-line argument parser and support functions.


Function Documentation

int ParseCommandLineArguments ( int  argc,
char **  argv,
int  rank,
int  size,
int2 *  domSize,
int2 *  topSize,
int *  useFastSwap 
)

Parses the application's command-line arguments.

Parameters:
[in]argcThe number of input arguments
[in]argvThe input arguments
[in]rankThe MPI rank of the calling process
[in]sizeThe total number of MPI processes available
[out]domSizeThe parsed domain size (2D)
[out]topSizeThe parsed topology size (2D)
[out]useFastSwapThe parsed flag for fast block swap
Returns:
The parsing status (STATUS_OK indicates a successful parse)
 All Files Functions Defines