Searched refs:global_vec_length (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexsfc.c | 542 … *local_vec_perm = NULL, local_vec_length = 0, *global_vec_perm = NULL, global_vec_length = 0; in DMPlexCorrectOrientationForIsoperiodic() local 575 PetscCall(PetscSectionGetStorageSize(globalSection, &global_vec_length)); in DMPlexCorrectOrientationForIsoperiodic() 577 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() 826 PetscCall(PetscBTCreate(global_vec_length, &global_vec_check)); in DMPlexCorrectOrientationForIsoperiodic() 833 …PetscCheck(g == global_vec_length, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Wrong number of non-negative … in DMPlexCorrectOrientationForIsoperiodic() 837 PetscCall(PetscMalloc1(global_vec_length, &remote)); in DMPlexCorrectOrientationForIsoperiodic() 838 for (PetscInt i = 0; i < global_vec_length; i++) { in DMPlexCorrectOrientationForIsoperiodic() 844 …PetscCall(PetscSFSetGraph(newglob_to_oldglob_sf, global_vec_length, global_vec_length, NULL, PETSC… in DMPlexCorrectOrientationForIsoperiodic()
|