Lines Matching refs:Ns
89 PetscInt suppSize, Ns = 0, coneSizeA, coneSizeB, posA = -1, posB = -1; in DMPlexCheckFace_Internal() local
104 indC[Ns] = GetPointIndex(supp[s], cStart, cEnd, cells); in DMPlexCheckFace_Internal()
105 indS[Ns] = s; in DMPlexCheckFace_Internal()
106 if (indC[Ns] >= 0) ++Ns; in DMPlexCheckFace_Internal()
108 if (Ns < 2) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexCheckFace_Internal()
109 …PetscCheck(Ns == 2, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Faces should separate only two cells, n… in DMPlexCheckFace_Internal()
457 PetscInt coneSize, supportSize, Ns = 0, s, l; in DMPlexOrient() local
469 locSupport[Ns++] = support[s]; in DMPlexOrient()
471 if (Ns != 1) continue; in DMPlexOrient()
827 PetscInt coneSize, suppSize, nind, c, Ns = 0; in DMPlexOrientCells_Internal() local
840 locSupp[Ns++] = supp[s]; in DMPlexOrientCells_Internal()
842 …PetscCheck(Ns < maxSuppSize, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Index %" PetscInt_FMT " exceeds arr… in DMPlexOrientCells_Internal()
843 if (Ns != 1) continue; in DMPlexOrientCells_Internal()
890 PetscInt suppSize, Ns = 0; in DMPlexOrientCells_Internal() local
896 if (GetPointIndex(supp[s], cStart, cEnd, cells) >= 0) ++Ns; in DMPlexOrientCells_Internal()
898 …PetscCheck(Ns == 1, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Boundary face %" PetscInt_FMT " should … in DMPlexOrientCells_Internal()