#pragma once

#define NGHOST   1
#define NDIM     2 /* 2D */
#define X        0
#define Y        1
#define TOL      1.e-5

#include <mpi.h>

#define MASTER 0

#if defined(SINGLE_PRECISION)
typedef float MyData;
#define MPI_MyDatatype MPI_FLOAT_PRECISION
#else
/* double precision is assumed by default */
typedef double MyData;
#define MPI_MyDatatype MPI_DOUBLE_PRECISION
#endif /* SINGLE_PRECISION */
