Lines Matching refs:Ner
920 int Ner = 0, Ne, e, Nc; in DMPlexCreateGeom_Internal() local
950 ++Ner; in DMPlexCreateGeom_Internal()
952 if (Ner == 2) { in DMPlexCreateGeom_Internal()
954 } else if (Ner == 3) { in DMPlexCreateGeom_Internal()
956 } else if (Ner == 4) { in DMPlexCreateGeom_Internal()
959 } else SETERRQ(PETSC_COMM_SELF, PETSC_ERR_SUP, "Cannot support loop with %d edges", Ner); in DMPlexCreateGeom_Internal()
962 maxCorners = PetscMax(Ner * 2 + 1, maxCorners); in DMPlexCreateGeom_Internal()
1048 int lid, Ner = 0, Ne, e; in DMPlexCreateGeom_Internal() local
1071 ++Ner; in DMPlexCreateGeom_Internal()
1104 if (Ner == 4) { in DMPlexCreateGeom_Internal()
1158 int lid, Ner = 0, Ne, e, nc = 0, c, Nt, t; in DMPlexCreateGeom_Internal() local
1182 else ++Ner; in DMPlexCreateGeom_Internal()
1226 …PetscCheck(nc == 2 * Ner, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Number of corners %" PetscInt_FMT "… in DMPlexCreateGeom_Internal()
1227 if (Ner == 4) cone[nc++] = numVertices - newVertices + numEdges + numQuads++; in DMPlexCreateGeom_Internal()
1230 switch (Ner) { in DMPlexCreateGeom_Internal()
1297 …SETERRQ(PETSC_COMM_SELF, PETSC_ERR_SUP, "Loop %d has %d edges, which we do not support", lid, Ner); in DMPlexCreateGeom_Internal()
1360 int lid, Nf, fid, Ner = 0, Ne, e, Nt = 0, t; in DMPlexCreateGeom_Internal() local
1396 else ++Ner; in DMPlexCreateGeom_Internal()
1426 switch (Ner) { in DMPlexCreateGeom_Internal()
1437 SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Loop with %d edges is unsupported", Ner); in DMPlexCreateGeom_Internal()