Lines Matching refs:cell_points
44 const PetscInt *cell_points; in DMSwarmCeedContextCreate() local
54 PetscCall(ISGetIndices(is_points, &cell_points)); in DMSwarmCeedContextCreate()
55 PetscInt num_points = cell_points[num_elem + 1] - num_elem - 2; in DMSwarmCeedContextCreate()
58 for (PetscInt i = 0; i < num_elem + 1; i++) offsets[i] = cell_points[i + 1] - 1; in DMSwarmCeedContextCreate()
59 …for (PetscInt i = num_elem + 1; i < num_points + num_elem + 1; i++) offsets[i] = cell_points[i + 1… in DMSwarmCeedContextCreate()
60 PetscCall(ISRestoreIndices(is_points, &cell_points)); in DMSwarmCeedContextCreate()
347 …PetscInt cell_start, cell_end, num_cells_local, dim, num_points_local, *cell_points, poi… in DMSwarmCreateReferenceCoordinates() local
371 PetscCall(PetscMalloc1(num_points_local + num_cells_local + 2, &cell_points)); in DMSwarmCreateReferenceCoordinates()
372 cell_points[0] = num_cells_local; in DMSwarmCreateReferenceCoordinates()
385 cell_points[local_cell + 1] = num_points_processed + points_offset; in DMSwarmCreateReferenceCoordinates()
389 cell_points[points_offset + (num_points_processed++)] = point; in DMSwarmCreateReferenceCoordinates()
396 cell_points[points_offset - 1] = num_points_local + points_offset; in DMSwarmCreateReferenceCoordinates()
404 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, num_points_local + points_offset, cell_points, PETSC_OW… in DMSwarmCreateReferenceCoordinates()
619 const PetscInt *cell_points; in SetupProblemSwarm() local
630 PetscCall(ISGetIndices(is_points, &cell_points)); in SetupProblemSwarm()
631 PetscInt num_points = cell_points[num_elem + 1] - num_elem - 2; in SetupProblemSwarm()
634 for (PetscInt i = 0; i < num_elem + 1; i++) offsets[i] = cell_points[i + 1] - 1; in SetupProblemSwarm()
635 …for (PetscInt i = num_elem + 1; i < num_points + num_elem + 1; i++) offsets[i] = cell_points[i + 1… in SetupProblemSwarm()
636 PetscCall(ISRestoreIndices(is_points, &cell_points)); in SetupProblemSwarm()