Searched refs:global_vec_perm (Results 1 – 1 of 1) sorted by relevance
542 …PetscInt *local_vec_perm = NULL, local_vec_length = 0, *global_vec_perm = NULL, global_vec_l… in DMPlexCorrectOrientationForIsoperiodic() local577 PetscCall(PetscMalloc2(global_vec_length, &global_vec_perm, local_vec_length, &local_vec_perm)); in DMPlexCorrectOrientationForIsoperiodic()578 for (PetscInt i = 0; i < global_vec_length; i++) global_vec_perm[i] = i; in DMPlexCorrectOrientationForIsoperiodic()587 local_vec_perm[local_index] = global_vec_perm[iremote[l].index]; in DMPlexCorrectOrientationForIsoperiodic()831 global_vec_perm[g++] = global_index; in DMPlexCorrectOrientationForIsoperiodic()840 remote[i].index = global_vec_perm[i]; in DMPlexCorrectOrientationForIsoperiodic()842 PetscCall(PetscFree2(global_vec_perm, local_vec_perm)); in DMPlexCorrectOrientationForIsoperiodic()