Home
last modified time | relevance | path

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

/petsc/src/vec/vec/tutorials/
H A Dex1.c17 PetscInt n = 20, maxind; in main() local
69 PetscCall(VecMax(x, &maxind, &maxval)); in main()
70 …ll(PetscPrintf(PETSC_COMM_WORLD, "VecMax %g, VecInd %" PetscInt_FMT "\n", (double)maxval, maxind)); in main()
72 PetscCall(VecMin(x, &maxind, &maxval)); in main()
73 …ll(PetscPrintf(PETSC_COMM_WORLD, "VecMin %g, VecInd %" PetscInt_FMT "\n", (double)maxval, maxind)); in main()