Date: 2025-03-29T05:58:20+00:00

Actual source code: dmp4est.c

      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] = {-1, 0, 0, -1};
      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)   PetscConcat_(a, _p4est)
     12: #define _infix_pforest(a, b) PetscConcat(_append_pforest(a), b)
     13: #include "pforest.h"