Lines Matching refs:cones

1059       for (c = off; c < off + dof; ++c) PetscCall(PetscViewerASCIISynchronizedPrintf(viewer, "[%d]: %" PetscInt_FMT " <---- %" PetscInt_FMT " (%" PetscInt_FMT ")\n", rank, p, mesh->cones[c], mesh->coneOrientations[c]));
2846 PetscCall(PetscFree(mesh->cones));
3212 *cone = PetscSafePointerPlusOffset(mesh->cones, off);
3236 PetscInt *cones;
3241 PetscCall(DMPlexGetCones(dm, &cones));
3243 PetscCall(PetscSectionExtractDofsFromArray(cs, MPIU_INT, cones, p, &newcs, pCones ? ((void **)&newarr) : NULL));
3292 (DAG points of depth 0, i.e., without cones).
3302 . expandedPoints - (optional) An array of index sets with recursively expanded cones
3395 . expandedPoints - (optional) An array of recursively expanded cones
3458 mesh->cones[off + c] = cone[c];
3461 for (c = 0; c < dof; ++c) mesh->cones[off + c] = cone[c];
3548 PetscCall(PetscSectionGetDof(mesh->coneSection, mesh->cones[off + c], &cdof));
3589 mesh->cones[off + conePos] = conePoint;
3682 if (cone) *cone = PetscSafePointerPlusOffset(mesh->cones, off);
3988 *arr = mesh->cones + off;
4163 /* Should kick out early when depth is reached, rather than checking all vertices for empty cones */
4318 PetscCall(PetscMalloc1(size, &mesh->cones));
4402 for (c = off; c < off + dof; ++c) PetscCall(PetscSectionAddDof(mesh->supportSection, mesh->cones[c], 1));
4415 const PetscInt q = mesh->cones[c];
5071 for (meetSize = 0; meetSize < dof; ++meetSize) meet[i][meetSize] = mesh->cones[off + meetSize];
5079 const PetscInt point = mesh->cones[off + c];
5848 . cones - The cone for each point
5854 PetscErrorCode DMPlexGetCones(DM dm, PetscInt *cones[])
5860 if (cones) *cones = mesh->cones;