Home
last modified time | relevance | path

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

/petsc/src/mat/tests/
H A Dex303.c17 char mat_type[PETSC_MAX_PATH_LEN]; in main() local
32 PetscCall(PetscOptionsGetString(NULL, NULL, "-mat_type", mat_type, sizeof(mat_type), &flg)); in main()
33 if (!flg) PetscCall(PetscStrncpy(mat_type, MATSEQAIJ, sizeof(mat_type))); // Default to MATAIJ in main()
34 …PetscCall(MatConvert(A, mat_type, MAT_INITIAL_MATRIX, &A2)); // Copy A, B to A2, B2 b… in main()
35 PetscCall(MatConvert(B, mat_type, MAT_INITIAL_MATRIX, &B2)); in main()
52 PetscCall(MatConvert(A, mat_type, MAT_INITIAL_MATRIX, &A2)); in main()
59 PetscCall(MatSetType(B2, mat_type)); in main()
/petsc/src/dm/tests/
H A Dex30.c7 char mat_type[256] = MATAIJ; /* default matrix type */ in main() local
37 …-sliced_mat_type", "Matrix type to use (aij or baij)", "", mat_type, mat_type, sizeof(mat_type), N… in main()
63 PetscCall(DMSetMatType(slice, mat_type)); in main()
/petsc/doc/developers/
H A Dtesting.md398 args: -mat_type seqsbaij
427 args: -f ${DATAFILESPATH}/matrices/small -mat_type aij
433 args: -mat_type baij -matload_block_size {{2 3}shared output}
447 args: -f ${DATAFILESPATH}/matrices/small -mat_type baij
467 args: -mat_type seqsbaij
1029 args: -f ${DATAFILESPATH}/matrices/small -mat_type {{aij baij sbaij}} -matload_block_size {{2 3}}
1036 ok 1 In mat...tests: "./ex138 -f ${DATAFILESPATH}/matrices/small -mat_type aij -matload_block_size …
1037 ok 2 In mat...tests: "Diff of ./ex138 -f ${DATAFILESPATH}/matrices/small -mat_type aij -matload_blo…
1038 ok 3 In mat...tests: "./ex138 -f ${DATAFILESPATH}/matrices/small -mat_type aij -matload_block_size …
1039 ok 4 In mat...tests: "Diff of ./ex138 -f ${DATAFILESPATH}/matrices/small -mat_type aij -matload_blo…
[all …]
/petsc/doc/changes/
H A D216.md79 - -mat_type typename overloads the requested type for DAGetMatrix
100 - MUMPS support added, including complex (using mat_type
H A D36.md106 Useable with: -pc_type cholesky -mat_type sbaij
H A D314.md56 CUDA backend, and then use -vec_type kokkos -mat_type aijkokkos.
/petsc/src/ksp/ksp/utils/lmvm/tests/
H A Dex3.c27 static PetscErrorCode CreateMatWithTestSizes(MPI_Comm comm, MatType mat_type, PetscInt n, PetscInt … in CreateMatWithTestSizes() argument
44 PetscCall(MatSetType(*B, mat_type)); in CreateMatWithTestSizes()
/petsc/src/dm/impls/stag/
H A Dstag.c497 MatType mat_type; in DMCreateMatrix_Stag() local
505 PetscCall(DMGetMatType(dm, &mat_type)); in DMCreateMatrix_Stag()
509 PetscCall(MatSetType(*mat, mat_type)); in DMCreateMatrix_Stag()
520 PetscCall(PetscStrcmp(mat_type, MATSHELL, &is_shell)); in DMCreateMatrix_Stag()
568 …TERRQ(PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Not implemented for Mattype %s", mat_type); in DMCreateMatrix_Stag()
/petsc/src/benchmarks/results/
H A Dperformance_arco12 …trices/arco1 -pc_type ilu -ksp_gmres_unmodifiedgramschmidt -optionsleft -mat_type seqbaij -log_view
3 …rices/arco1 -pc_type ilu -ksp_gmres_unmodifiedgramschmidt -optionsleft -mat_type baij -matload_ign…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDM.pyx1462 def setMatType(self, mat_type: Mat.Type | str) -> None:
1469 mat_type
1482 mat_type = str2bytes(mat_type, &mtype)
H A DMat.pyx517 def setType(self, mat_type: Type | str) -> None:
524 mat_type
533 mat_type = str2bytes(mat_type, &cval)
2163 def convert(self, mat_type: Type | str | None = None, Mat out=None) -> Mat:
2170 mat_type
2183 mat_type = str2bytes(mat_type, &mtype)
/petsc/doc/manual/
H A Dprofiling.md163 mpiexec -n 4 ./ex10 -f0 medium -f1 arco6 -ksp_gmres_classicalgramschmidt -log_view -mat_type baij \
235 mpiexec -n 4 ./ex10 -f0 medium -f1 arco6 -ksp_gmres_classicalgramschmidt -log_view -mat_type baij \
H A Dksp.md1097 constructor (or the `-mat_type` from the command line). For instance,
/petsc/src/ksp/ksp/tutorials/output/
H A Dex2_help.out57 …-mat_type <now aij : formerly aij>: Matrix type (one of) mpiaijcrl mpiadj seqaij mpibaij composite…
/petsc/doc/faq/
H A Dindex.md243 may be used with `MatSetType()` or `-mat_type seqaijcusparse`, `mpiaijcusparse`, or
254 may be used with `MatSetType()` or `-mat_type seqaijviennacl`, `mpiaijviennacl`, or