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 6 #define _append_pforest(a) a ## _p4est 7 #include "pforest.c" 8
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 6 #define _append_pforest(a) a ## _p4est 7 #include "pforest.c" 8