Skip to content
Snippets Groups Projects
Commit a4e96a8e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 2edba113
No related branches found
No related tags found
No related merge requests found
...@@ -8,13 +8,11 @@ ...@@ -8,13 +8,11 @@
// Interface to PETSc 3.x // Interface to PETSc 3.x
// Options for PETSc can be provided on the command line, or in the file // Options for PETSc can be provided on the command line, or in the
// ~/.petscrc. // file ~/.petscrc. By default, we use the following options (GMRES
// // with ILU(6) preconditioner and RCMK renumbering):
// By default, we use the following options (GMRES iterative solver,
// 1.e-8 relative tolerance with ILU(6) preconditioner and RCMK
// renumbering):
// //
// -ksp_type gmres
// -pc_type ilu // -pc_type ilu
// -pc_factor_levels 6 // -pc_factor_levels 6
// -pc_factor_mat_ordering rcm // -pc_factor_mat_ordering rcm
...@@ -24,7 +22,6 @@ ...@@ -24,7 +22,6 @@
// //
// -ksp_gmres_restart 100 // -ksp_gmres_restart 100
// -ksp_monitor // -ksp_monitor
// ...
// //
// To use a direct solver (a sparse lu) instead of an iterative // To use a direct solver (a sparse lu) instead of an iterative
// solver, use // solver, use
...@@ -32,9 +29,8 @@ ...@@ -32,9 +29,8 @@
// -ksp_type preonly // -ksp_type preonly
// -pc_type lu // -pc_type lu
// //
// When PETSc is compiled with external solvers (UMFPACK, SuperLU, // When PETSc is compiled with external direct solvers (UMFPACK,
// etc.), they can be accessed simply by changing the matrix type. For // SuperLU, etc.), they can be selected like this:
// example, with umfpack:
// //
// -pc_factor_mat_solver_package umfpack // -pc_factor_mat_solver_package umfpack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment