xref: /petsc/src/dm/impls/forest/p4est/dmp4est.c (revision 101409b8fe0bf1e357808b9459cae640e7d76e7e)
1 #include <petscsys.h>
2 
3 static const PetscInt PetscFaceToP4estFace[4] = {2, 1, 3, 0};
4 static const PetscInt P4estFaceToPetscOrnt[4] = {-2, 0, 0, -2};
5 static const PetscInt PetscVertToP4estVert[4] = {0, 1, 3, 2};
6 
7 #define DMPFOREST DMP4EST
8 
9 #define _append_pforest(a)  a ## _p4est
10 #define _infix_pforest(a,b) a ## _p4est ## b
11 #include "pforest.c"
12