Home
last modified time | relevance | path

Searched refs:dirTest (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2696 PetscBool dirTest[2]; in DMPforestGetTransferSF_Point() local
2698 dirTest[0] = (PetscBool)(coarseBound[mod % 2][minDir] == fineBound[mod % 2][minDir]); in DMPforestGetTransferSF_Point()
2699 dirTest[1] = (PetscBool)(coarseBound[mod / 2][maxDir] == fineBound[mod / 2][maxDir]); in DMPforestGetTransferSF_Point()
2701 if (dirTest[0] && dirTest[1]) { /* fine edge falls on coarse edge */ in DMPforestGetTransferSF_Point()
2704 … } else if (dirTest[0]) { /* fine edge falls on a coarse face in the minDir direction */ in DMPforestGetTransferSF_Point()
2707 … } else if (dirTest[1]) { /* fine edge falls on a coarse face in the maxDir direction */ in DMPforestGetTransferSF_Point()
2716 PetscBool dirTest[P4EST_DIM]; in DMPforestGetTransferSF_Point() local
2725dirTest[m] = (PetscBool)(coarseBound[(vertex >> m) & 1][m] == fineBound[(vertex >> m) & 1][m]); in DMPforestGetTransferSF_Point()
2726 if (dirTest[m]) numMatch++; in DMPforestGetTransferSF_Point()
2733 if (dirTest[m]) { in DMPforestGetTransferSF_Point()
[all …]