Home
last modified time | relevance | path

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

/petsc/src/mat/tests/
H A Dex226.c6 PetscInt global_index(PetscInt i, PetscInt j, PetscInt k, PetscInt m, PetscInt n) in global_index() function
50 J = global_index(i - 1, j, k, m, n); in main()
54 J = global_index(i + 1, j, k, m, n); in main()
58 J = global_index(i, j - 1, k, m, n); in main()
62 J = global_index(i, j + 1, k, m, n); in main()
80 J = global_index(i - 1, j, k, m, n); in main()
84 J = global_index(i - 1, j - 1, k, m, n); in main()
88 J = global_index(i, j - 1, k, m, n); in main()
92 J = global_index(i + 1, j - 1, k, m, n); in main()
96 J = global_index(i + 1, j, k, m, n); in main()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexsfc.c828 PetscInt global_index = local_vec_perm[l]; in DMPlexCorrectOrientationForIsoperiodic() local
829 if (global_index < 0) continue; in DMPlexCorrectOrientationForIsoperiodic()
830 …_vec_check, global_index), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Found duplicate global index %" Petsc… in DMPlexCorrectOrientationForIsoperiodic()
831 global_vec_perm[g++] = global_index; in DMPlexCorrectOrientationForIsoperiodic()