Home
last modified time | relevance | path

Searched refs:posB (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
144 if (coneB[c] == face) posB = c; in DMPlexCheckFace_Internal()
147 …PetscCheck(posB >= 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
206 if (coneB[c] == face) posB = c; in DMPlexCheckFace_Old_Internal()
209 …PetscCheck(posB >= 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.c169 PetscInt posB; in DMPlexReferenceTreeGetChildSymmetry_Default() local
171posB = (ABswapVert >= 0) ? ((ABswapVert + posA) % coneSize) : ((coneSize - (ABswapVert + 1) - posA… in DMPlexReferenceTreeGetChildSymmetry_Default()
172 if (childB) *childB = children[posB]; in DMPlexReferenceTreeGetChildSymmetry_Default()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2031 PetscInt posB, childIdB; in DMReferenceTreeGetChildSymmetry_pforest() local
2033posB = (ABswapVert >= 0) ? ((ABswapVert + posA) % coneSize) : ((coneSize - (ABswapVert + 1) - posA… in DMReferenceTreeGetChildSymmetry_pforest()
2035 childIdB = posB; in DMReferenceTreeGetChildSymmetry_pforest()
2037 childIdB = (posB & 2) ? (posB ^ 1) : posB; in DMReferenceTreeGetChildSymmetry_pforest()