Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexorient.c89 PetscInt suppSize, Ns = 0, coneSizeA, coneSizeB, posA = -1, posB = -1; in DMPlexCheckFace_Internal() local
131 if (coneA[c] == face) posA = c; in DMPlexCheckFace_Internal()
134 …PetscCheck(posA >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Face %" PetscInt_FMT " could not be l… in DMPlexCheckFace_Internal()
150 mismatch = posA == posB; in DMPlexCheckFace_Internal()
152 mismatch = coneOA[posA] == coneOB[posB]; in DMPlexCheckFace_Internal()
171 PetscInt supportSize, coneSizeA, coneSizeB, posA = -1, posB = -1; in DMPlexCheckFace_Old_Internal() local
197 if (coneA[c] == face) posA = c; in DMPlexCheckFace_Old_Internal()
200 …PetscCheck(posA >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Face %" PetscInt_FMT " could not be l… in DMPlexCheckFace_Old_Internal()
212 mismatch = posA == posB; in DMPlexCheckFace_Old_Internal()
214 mismatch = coneOA[posA] == coneOB[posB]; in DMPlexCheckFace_Old_Internal()
H A Dplextree.c150 PetscInt p, posA = -1, numChildren, i; in DMPlexReferenceTreeGetChildSymmetry_Default() local
158 posA = i; in DMPlexReferenceTreeGetChildSymmetry_Default()
162 if (posA >= coneSize) { in DMPlexReferenceTreeGetChildSymmetry_Default()
165 …PetscCheck(dim == 2 && posA == 3, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Expected a middle tr… in DMPlexReferenceTreeGetChildSymmetry_Default()
171 …posB = (ABswapVert >= 0) ? ((ABswapVert + posA) % coneSize) : ((coneSize - (ABswapVert + 1) - posA in DMPlexReferenceTreeGetChildSymmetry_Default()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2011 PetscInt p, posA = -1, numChildren, i; in DMReferenceTreeGetChildSymmetry_pforest() local
2020 posA = i; in DMReferenceTreeGetChildSymmetry_pforest()
2022 posA = (i & 2) ? (i ^ 1) : i; in DMReferenceTreeGetChildSymmetry_pforest()
2027 if (posA >= coneSize) { in DMReferenceTreeGetChildSymmetry_pforest()
2033 …posB = (ABswapVert >= 0) ? ((ABswapVert + posA) % coneSize) : ((coneSize - (ABswapVert + 1) - posA in DMReferenceTreeGetChildSymmetry_pforest()