Actual source code: dmp4est.c

petsc-3.14.6 2021-03-30
Report Typos and Errors
  1: #include <petscsys.h>

  3: static const PetscInt PetscFaceToP4estFace[4] = {2, 1, 3, 0};
  4: static const PetscInt P4estFaceToPetscFace[4] = {3, 1, 0, 2};
  5: static const PetscInt P4estFaceToPetscOrnt[4] = {-2, 0, 0, -2};
  6: static const PetscInt PetscVertToP4estVert[4] = {0, 1, 3, 2};
  7: static const PetscInt P4estVertToPetscVert[4] = {0, 1, 3, 2};

  9: #define DMPFOREST DMP4EST

 11: #define _append_pforest(a)  a ## _p4est
 12: #define _infix_pforest(a,b) a ## _p4est ## b
 13: #include "pforest.c"