Skip to content

Commit a6efd4f

Browse files
committed
add -ffddm_gmres_restart parameter
1 parent 0ad4401 commit a6efd4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/documentation/ffddm/parameters.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Command-line arguments
1515
- :freefem:`-ffddm_master_p N`, number of master processes for the coarse problem (for two level preconditioners), see :ref:`ffddmpCS <ffddmParametersGlobal>` (default 1).
1616
- :freefem:`-ffddm_master_exclude 0|1` exclude master processes from the domain decomposition, see :ref:`ffddmexclude <ffddmParametersGlobal>` (default 0).
1717
- :freefem:`-ffddm_split N`, level of refinement of the local submeshes with respect to the initial global mesh, see :ref:`ffddmsplit <ffddmParametersGlobal>` (default 1).
18+
- :freefem:`-ffddm_gmres_restart N`, restart parameter for GMRES, see :ref:`ffddmrestart <ffddmParametersGlobal>` (default 200).
1819
- :freefem:`-ffddm_schwarz_method S`, specifies the type of one level preconditioner :math:`M^{-1}_1`: “asm” (*Additive Schwarz*), “ras” (*Restricted Additive Schwarz*), “oras” (*Optimized Restricted Additive Schwarz*), “soras” (*Symmetric Optimized Restricted Additive Schwarz*) or “none” (no preconditioner), see :ref:`ffddmprecond <ffddmParametersGlobal>` (default “ras”).
1920
- :freefem:`-ffddm_geneo_nu N`, number of local eigenvectors to compute in each subdomain when solving the local generalized eigenvalue problem for the GenEO method, see :ref:`ffddmnu <ffddmParametersGlobal>` (default 20).
2021
- :freefem:`-ffddm_geneo_threshold R`, threshold parameter for selecting local eigenvectors when solving the local generalized eigenvalue problems for the GenEO method, see :ref:`ffddmtau <ffddmParametersGlobal>` (default 0.5).
@@ -44,6 +45,7 @@ Global parameters
4445
This is useful for large problems, where we want to avoid working with a very large global mesh.
4546
The idea is to start from a coarser global mesh, and generate finer local meshes in parallel during the mesh decomposition step in order to reach the desired level of refinement for the subdomains.
4647
For example, calling :ref:`ffddmbuildDmesh <ffddmDocumentationOverlappingMeshDecomposition>` with :ref:`ffddmsplit <ffddmParametersGlobal>` = 3 will generate local submeshes where each mesh element of the initial mesh is split into :math:`3^d` elements.
48+
- :freefem:`ffddmrestart` initialized by command-line argument **ffddm_gmres_restart N**, restart parameter for GMRES (maximum dimension of the Krylov subspace). Restarts the method every N inner iterations (default 200).
4749
- :freefem:`ffddmprecond` initialized by command-line argument **-ffddm_schwarz_method S**, specifies the type of one level preconditioner :math:`M^{-1}_1` to build when calling :ref:`ffddmsetupPrecond <ffddmDocumentationOneLevelPreconditioners>`: “asm” (*Additive Schwarz*), “ras” (*Restricted Additive Schwarz*), “oras” (*Optimized Restricted Additive Schwarz*), “soras” (*Symmetric Optimized Restricted Additive Schwarz*) or “none” (no preconditioner).
4850
Default is “ras”.
4951
See :ref:`ffddmsetupPrecond <ffddmDocumentationOneLevelPreconditioners>` for more details.

0 commit comments

Comments
 (0)