Home
last modified time | relevance | path

Searched refs:num_local (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ksp/pc/impls/tfs/
H A Dgs.c67 PetscInt num_local; member
220 PetscInt num_local = 0, *num_to_reduce, **local_reduce; in gsi_check_args() local
289 num_local++; in gsi_check_args()
299 gs->num_local = num_local; in gsi_check_args()
300 num_local += 2; in gsi_check_args()
301 gs->local_reduce = local_reduce = (PetscInt **)malloc(num_local * sizeof(PetscInt *)); in gsi_check_args()
302 gs->num_local_reduce = num_to_reduce = (PetscInt *)malloc(num_local * sizeof(PetscInt)); in gsi_check_args()
311 for (num_local = i = j = 0; i < gs->nel; i++) { in gsi_check_args()
320 num_to_reduce[num_local] = t2++; in gsi_check_args()
322 iptr = local_reduce[num_local++] = (PetscInt *)malloc(t2 * sizeof(PetscInt)); in gsi_check_args()
[all …]