|
1 | 1 | #ifndef petsc_macros |
2 | 2 | #define petsc_macros |
3 | 3 |
|
4 | | -#if PETSC_VERSION_LT(3,14,0) |
5 | | -# define DMPlexGetClosureIndices(a,b,c,d,e,f,g,h,i) DMPlexGetClosureIndices(a,b,c,d,f,g,i) |
6 | | -# define DMPlexRestoreClosureIndices(a,b,c,d,e,f,g,h,i) DMPlexRestoreClosureIndices(a,b,c,d,f,g,i) |
| 4 | +#if PETSC_VERSION_LT(3, 14, 0) |
| 5 | +#define DMPlexGetClosureIndices(a, b, c, d, e, f, g, h, i) DMPlexGetClosureIndices(a, b, c, d, f, g, i) |
| 6 | +#define DMPlexRestoreClosureIndices(a, b, c, d, e, f, g, h, i) DMPlexRestoreClosureIndices(a, b, c, d, f, g, i) |
7 | 7 | #endif |
8 | 8 |
|
9 | | -#if PETSC_VERSION_LT(3,14,0) |
10 | | -# define DMAddBoundary(a,b,c,d,e,f,g,h,i,j,k,l,m,n) DMAddBoundary(a,b,c,e,h,i,j,k,f,g,m) |
11 | | -#elif PETSC_VERSION_LT(3,16,0) |
12 | | -# define DMAddBoundary(a,b,c,d,e,f,g,h,i,j,k,l,m,n) DMAddBoundary(a,b,c,e,h,i,j,k,l,f,g,m) |
| 9 | +#if PETSC_VERSION_LT(3, 14, 0) |
| 10 | +#define DMAddBoundary(a, b, c, d, e, f, g, h, i, j, k, l, m, n) DMAddBoundary(a, b, c, e, h, i, j, k, f, g, m) |
| 11 | +#elif PETSC_VERSION_LT(3, 16, 0) |
| 12 | +#define DMAddBoundary(a, b, c, d, e, f, g, h, i, j, k, l, m, n) DMAddBoundary(a, b, c, e, h, i, j, k, l, f, g, m) |
13 | 13 | #else |
14 | | -# define DMAddBoundary(a,b,c,d,e,f,g,h,i,j,k,l,m,n) DMAddBoundary(a,b,c,d,f,g,h,i,j,k,l,m,n) |
| 14 | +#define DMAddBoundary(a, b, c, d, e, f, g, h, i, j, k, l, m, n) DMAddBoundary(a, b, c, d, f, g, h, i, j, k, l, m, n) |
15 | 15 | #endif |
16 | 16 |
|
17 | 17 | #endif |
0 commit comments