Searched refs:num_local (Results 1 – 1 of 1) sorted by relevance
67 PetscInt num_local; member220 PetscInt num_local = 0, *num_to_reduce, **local_reduce; in gsi_check_args() local289 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 …]