Lines Matching refs:coneSize

1316         PetscInt        coneSize, offA, offB, dof, d;
1319 PetscCall(DMPlexGetConeSize(dm, e, &coneSize));
1320 PetscCheck(coneSize == 2, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONG, "Edge %" PetscInt_FMT " cone should have two vertices, not %" PetscInt_FMT, e, coneSize);
1383 PetscInt coneSize, e;
1386 PetscCall(DMPlexGetConeSize(dm, c, &coneSize));
1387 for (e = 0; e < coneSize; ++e) {
1511 PetscInt coneSize, cp;
1514 PetscCall(DMPlexGetConeSize(dm, p, &coneSize));
1515 for (cp = 0; cp < coneSize; ++cp) PetscCall(PetscViewerASCIIPrintf(viewer, "\\draw[->, shorten >=1pt] (%" PetscInt_FMT "_%d) -- (%" PetscInt_FMT "_%d);\n", cone[cp], rank, p, rank));
3934 PetscInt coneSize, c;
3936 PetscCall(DMPlexGetConeSize(dm, p, &coneSize));
3939 for (c = 0; c < coneSize; ++c) {
4068 PetscInt dim, coneSize, c, d, clSize, cl;
4072 PetscCall(DMPlexGetTransitiveClosure_Hot_Private(dm, point, PETSC_TRUE, &coneSize, &cone, &ornt));
4095 for (d = 2; d < coneSize; ++d) {
4100 PetscCall(DMPlexRestoreTransitiveClosure_Hot_Private(dm, point, PETSC_TRUE, &coneSize, &cone, &ornt));
4102 for (d = 2; d < coneSize; ++d) {
4508 PetscInt coneSize, supportSize;
4511 PetscCall(DMPlexGetConeSize(dm, p, &coneSize));
4513 if (!coneSize && supportSize) {
4517 } else if (!supportSize && coneSize) {
4519 } else if (!supportSize && !coneSize) {
4531 PetscInt coneSize, supportSize;
4534 PetscCall(DMPlexGetConeSize(dm, p, &coneSize));
4536 if (!supportSize && coneSize) {
4645 PetscInt dim, depth, pheight, coneSize;
4651 PetscCall(DMPlexGetConeSize(dm, p, &coneSize));
4660 switch (coneSize) {
4698 switch (coneSize) {
4707 switch (coneSize) {
4719 switch (coneSize) {
4749 switch (coneSize) {
5264 PetscInt coneSize, coneSizeB, c, supportSize, supportSizeB, s;
5266 PetscCall(DMPlexGetConeSize(dmA, p, &coneSize));
5272 if (coneSize != coneSizeB) PetscFunctionReturn(PETSC_SUCCESS);
5273 for (c = 0; c < coneSize; ++c) {
9356 PetscInt coneSize, c, supportSize, s;
9368 PetscCall(DMPlexGetConeSize(dm, p, &coneSize));
9370 for (c = 0; c < coneSize; ++c) {
9386 for (s = 0; s < coneSize; ++s) PetscCall(PetscPrintf(PETSC_COMM_SELF, "%" PetscInt_FMT ", ", cone[s]));
9403 PetscCall(DMPlexGetConeSize(dm, support[s], &coneSize));
9405 for (c = 0; c < coneSize; ++c) {
9413 if (c >= coneSize) {
9418 for (c = 0; c < coneSize; ++c) PetscCall(PetscPrintf(PETSC_COMM_SELF, "%" PetscInt_FMT ", ", cone[c]));
9440 PetscInt coneSize, cp, cconeSize, ccp, npt = 0, pt;
9450 PetscCall(DMPlexGetConeSize(dm, c, &coneSize));
9451 for (cp = 0; cp < coneSize; ++cp) {
9459 PetscCall(DMPlexGetConeSize(dm, c, &coneSize));
9460 for (cp = 0; cp < coneSize; ++cp) {
9514 PetscInt coneSize, closureSize, cl, Nv = 0;
9519 PetscCall(DMPlexGetConeSize(dm, c, &coneSize));
9520 PetscCheck(coneSize == DMPolytopeTypeGetConeSize(ct), PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Cell %" PetscInt_FMT " of type %s has cone size %" PetscInt_FMT " != %" PetscInt_FMT, c, DMPolytopeTypes[ct], coneSize, DMPolytopeTypeGetConeSize(ct));
9584 PetscInt numFaces, coneSize, f;
9590 PetscCall(DMPlexGetConeSize(dm, c, &coneSize));
9599 PetscCheck(coneSize == numFaces, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Cell %" PetscInt_FMT " of type %s has %" PetscInt_FMT " faces but should have %" PetscInt_FMT, c, DMPolytopeTypes[ct], coneSize, numFaces);
9788 PetscInt coneSize, c, idx;
9790 PetscCall(DMPlexGetConeSize(dm, point, &coneSize));
9792 for (c = 0; c < coneSize; ++c) {