Home
last modified time | relevance | path

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

/petsc/src/mat/impls/elemental/
H A Dmatelem.cxx1341 PetscInt optv1; in MatCreate_Elemental() local
1365 …onsInt("-mat_elemental_grid_height", "Grid Height", "None", El::mpi::Size(cxxcomm), &optv1, &flg)); in MatCreate_Elemental()
1367 …% optv1) == 0, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_INCOMP, "Grid Height %" PetscInt_FMT… in MatCreate_Elemental()
1368 commgrid->grid = new El::Grid(cxxcomm, optv1); /* use user-provided grid height */ in MatCreate_Elemental()
/petsc/src/mat/impls/scalapack/
H A Dmatscalapack.c1781 PetscInt optv1, k = 2, array[2] = {0, 0}; in MatCreate_ScaLAPACK() local
1812 …l(PetscOptionsInt("-mat_scalapack_grid_height", "Grid Height", "None", grid->nprow, &optv1, &flg)); in MatCreate_ScaLAPACK()
1814 …(size % optv1 == 0, PetscObjectComm((PetscObject)A), PETSC_ERR_ARG_INCOMP, "Grid Height %" PetscIn… in MatCreate_ScaLAPACK()
1815 PetscCall(PetscBLASIntCast(optv1, &grid->nprow)); in MatCreate_ScaLAPACK()