-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MueLu: Adding support for driving Galeri options via ParameterList in…
… Driver
- Loading branch information
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<ParameterList> | ||
<ParameterList name="Run1"> | ||
<ParameterList name="Galeri"> | ||
<!-- // z3 e z4 | ||
// b a c | ||
// z1 d z2 --> | ||
<Parameter name="a" type="double" value="28"/> | ||
<Parameter name="b" type="double" value="-10"/> | ||
<Parameter name="c" type="double" value="-10"/> | ||
<Parameter name="d" type="double" value="-1"/> | ||
<Parameter name="e" type="double" value="-1"/> | ||
|
||
<Parameter name="z1" type="double" value="-1"/> | ||
<Parameter name="z2" type="double" value="-1"/> | ||
<Parameter name="z3" type="double" value="-1"/> | ||
<Parameter name="z4" type="double" value="-1"/> | ||
</ParameterList> | ||
|
||
|
||
<ParameterList name="MueLu"> | ||
|
||
<!-- | ||
For a generic symmetric scalar problem, these are the recommended settings for MueLu. | ||
--> | ||
|
||
<!-- =========== GENERAL ================ --> | ||
<Parameter name="verbosity" type="string" value="high"/> | ||
|
||
<Parameter name="coarse: max size" type="int" value="1000"/> | ||
|
||
<Parameter name="multigrid algorithm" type="string" value="unsmoothed"/> | ||
|
||
<!-- reduces setup cost for symmetric problems --> | ||
<Parameter name="transpose: use implicit" type="bool" value="true"/> | ||
|
||
<!-- start of default values for general options (can be omitted) --> | ||
<Parameter name="max levels" type="int" value="2"/> | ||
<Parameter name="number of equations" type="int" value="1"/> | ||
<Parameter name="sa: use filtered matrix" type="bool" value="true"/> | ||
<!-- end of default values --> | ||
|
||
<!-- =========== AGGREGATION =========== --> | ||
<Parameter name="aggregation: type" type="string" value="uncoupled"/> | ||
<Parameter name="aggregation: drop scheme" type="string" value="classical"/> | ||
<!-- Uncomment the next line to enable dropping of weak connections, which can help AMG convergence | ||
for anisotropic problems. The exact value is problem dependent. --> | ||
<Parameter name="aggregation: drop tol" type="double" value="0.2"/> | ||
|
||
<!-- =========== SMOOTHING =========== --> | ||
<Parameter name="smoother: type" type="string" value="RELAXATION"/> | ||
<ParameterList name="smoother: params"> | ||
<Parameter name="relaxation: type" type="string" value="Gauss-Seidel"/> | ||
<Parameter name="relaxation: sweeps" type="int" value="2"/> | ||
</ParameterList> | ||
|
||
<!-- =========== REPARTITIONING =========== --> | ||
<Parameter name="repartition: enable" type="bool" value="true"/> | ||
<Parameter name="repartition: partitioner" type="string" value="zoltan2"/> | ||
<Parameter name="repartition: start level" type="int" value="2"/> | ||
<Parameter name="repartition: min rows per proc" type="int" value="800"/> | ||
<Parameter name="repartition: max imbalance" type="double" value="1.1"/> | ||
<Parameter name="repartition: remap parts" type="bool" value="false"/> | ||
<!-- start of default values for repartitioning (can be omitted) --> | ||
<Parameter name="repartition: remap parts" type="bool" value="true"/> | ||
<Parameter name="repartition: rebalance P and R" type="bool" value="false"/> | ||
<ParameterList name="repartition: params"> | ||
<Parameter name="algorithm" type="string" value="multijagged"/> | ||
</ParameterList> | ||
<!-- end of default values --> | ||
|
||
</ParameterList> | ||
</ParameterList> | ||
</ParameterList> |