|
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Some basic definitions and macros. More...
Go to the source code of this file.
Macros | |
| #define | _MAX_STRING_SIZE_ 500 |
| #define | IERR ierr= |
| #define | _DECLARE_IERR_ int ierr = 0; |
| #define | CHECKERR(ierr) { if (ierr) return(ierr); } |
| #define | _MACHINE_ZERO_ 1.0e-14 |
| #define | _GetCoordinate_(dir, i, dim, ghosts, x, coord) |
| #define | _MIN_GRID_PTS_PER_PROC_ 4 |
Some basic definitions and macros.
Definition in file basic.h.
| #define _MAX_STRING_SIZE_ 500 |
| #define _MACHINE_ZERO_ 1.0e-14 |
| #define _GetCoordinate_ | ( | dir, | |
| i, | |||
| dim, | |||
| ghosts, | |||
| x, | |||
| coord | |||
| ) |
Macro to get the spatial coordinate coord along the dir dimension of a grid point whose index in that dimension is i, in a grid of size dim with ghosts ghost points in each dimension. The array containing the spatial coordinates of the entire grid is x.