Home
last modified time | relevance | path

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

/petsc/src/mat/tests/
H A Dex242.c9 PetscInt i, j, M = 5, N, mb = 2, nb, nrows, ncols, mloc, nloc; in main() local
31 mloc = PETSC_DECIDE; in main()
32 PetscCall(PetscSplitOwnershipEqual(PETSC_COMM_WORLD, &mloc, &M)); in main()
35 PetscCall(MatSetSizes(C, mloc, nloc, M, N)); in main()
101 PetscCall(MatSetSizes(B, mloc, nloc, PETSC_DECIDE, PETSC_DECIDE)); in main()
192 mloc = PETSC_DECIDE; in main()
193 PetscCall(PetscSplitOwnershipEqual(subcomm, &mloc, &M)); in main()
196 PetscCall(MatSetSizes(Asub, mloc, nloc, M, N)); in main()
H A Dex243.c8 PetscInt i, j, M = 10, N = 5, nloc, mloc, nrows, ncols; in main() local
25 mloc = PETSC_DECIDE; in main()
26 PetscCall(PetscSplitOwnershipEqual(PETSC_COMM_WORLD, &mloc, &M)); in main()
29 PetscCall(MatSetSizes(A, mloc, nloc, M, N)); in main()
/petsc/src/tao/matrix/
H A Dsubmatfree.c32 PetscInt mloc, nloc, m, n; in MatCreateSubMatrixFree() local
38 PetscCall(MatGetLocalSize(mat, &mloc, &nloc)); in MatCreateSubMatrixFree()
47 PetscCall(MatCreateShell(comm, mloc, nloc, m, n, ctx, J)); in MatCreateSubMatrixFree()