Skip to content

Commit 4e1782a

Browse files
committed
New default settings in amgcl solver
1 parent f932b90 commit 4e1782a

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

kratos.gid/apps/PfemFluid/xml/Solvers.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@
3535
</solver>
3636
<solver n="amgcl" pn="amgcl" SolverType="Standard">
3737
<inputs>
38-
<parameter n="max_iteration" pn="Max iterations" type="integer" v="5000" help=""/>
39-
<parameter n="tolerance" pn="Tolerance" type="integer" v="1e-9" help=""/>
40-
<parameter n="provide_coordinates" pn="Provide coordinates" type="bool" v="False"/>
41-
<parameter n="smoother_type" pn="Smoother type" type="combo" values="ilu0,damped_jacobi,spai0,gauss_seidel,chebyshev" pvalues="ILU0,Damped Jacobi,SPAI0,Gauss Seidel,Chebyshev" v="damped_jacobi" help=""/>
42-
<parameter n="krylov_type" pn="Krylov type" type="combo" values="gmres,bicgstab,cg,bicgstabl,bicgstab_with_gmres_fallback" v="cg" pvalues="GMRES,BICGSTAB,CG,BICGSTABL,BICGSTAB with GMRES fallback" help=""/>
43-
<parameter n="coarsening_type" pn="Coarsening type" type="combo" values="aggregation,ruge_stuben,smoothed_aggregation,smoothed_aggr_emin" pvalues="Aggregation,Ruge-Stuben,Smoothed Aggregation,Smoothed Aggregation Emin" v="aggregation" help=""/>
44-
<parameter n="scaling" pn="Scaling" type="bool" v="False" help="" />
45-
<parameter n="verbosity" pn="Verbosity" type="combo" values="0,1,2,3" v="1" help=""/>
38+
<parameter n="preconditioner_type" pn="Preconditioner" type="combo" values="amg, dummy, relaxation" v="amg" help=""/>
39+
<parameter n="max_iteration" pn="Max iterations" type="integer" v="2000" help=""/>
40+
<parameter n="tolerance" pn="Tolerance" type="integer" v="1e-5" help=""/>
41+
<parameter n="provide_coordinates" pn="Provide coordinates" type="bool" v="True"/>
42+
<parameter n="smoother_type" pn="Smoother type" type="combo" values="ilu0,damped_jacobi,spai0,gauss_seidel,chebyshev" pvalues="ILU0,Damped Jacobi,SPAI0,Gauss Seidel,Chebyshev" v="ilu0" help=""/>
43+
<parameter n="krylov_type" pn="Krylov type" type="combo" values="idrs,gmres,bicgstab,cg,bicgstabl,bicgstab_with_gmres_fallback" v="idrs" pvalues="IDRS,GMRES,BICGSTAB,CG,BICGSTABL,BICGSTAB with GMRES fallback" help=""/>
44+
<parameter n="use_block_matrices_if_possible" pn="Use block matrices" type="bool" v="True" help=""/>
45+
<parameter n="coarse_enough" pn="Coarsening size" type="integer" v="100" help=""/>
46+
<parameter n="coarsening_type" pn="Coarsening type" type="combo" values="aggregation,ruge_stuben,smoothed_aggregation,smoothed_aggr_emin" pvalues="Aggregation,Ruge-Stuben,Smoothed Aggregation,Smoothed Aggregation Emin" v="smoothed_aggregation" help=""/>
47+
<parameter n="verbosity" pn="Verbosity" type="combo" values="0,1,2,3" v="0" help=""/>
4648
</inputs>
4749
</solver>
4850
<solver n="Pastix_Direct" pn="Pastix Direct" SolverType="Standard">

0 commit comments

Comments
 (0)