-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev/jmg alien composyx pluggin (#1801)
* composyx alien pluggin * add composyx alien-bench test
- Loading branch information
Showing
15 changed files
with
615 additions
and
88 deletions.
There are no files selected for viewing
268 changes: 197 additions & 71 deletions
268
...neInterface/modules/composyx/src/alien/kernels/composyx/data_structure/ComposyxInternal.h
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
52 changes: 52 additions & 0 deletions
52
alien/ArcaneInterface/test/AlienBench/AlienBench-composyx-bcgsas-4P.arc
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,52 @@ | ||
<?xml version='1.0' encoding='ISO-8859-1'?> | ||
<case codeversion="1.0" codename="AlienBench" xml:lang="en"> | ||
<arcane> | ||
<title>Test unitaires des solveurs lineaires</title> | ||
<timeloop>BenchLoop</timeloop> | ||
</arcane> | ||
|
||
<arcane-post-processing> | ||
<output-period>1</output-period> | ||
<output> | ||
<variable>U</variable> | ||
<variable>X</variable> | ||
<variable>K</variable> | ||
<variable>S</variable> | ||
</output> | ||
</arcane-post-processing> | ||
|
||
<mesh> | ||
<meshgenerator> | ||
<cartesian> | ||
<origine>0. 0. 0.</origine> | ||
<nsd>2 2 1</nsd> | ||
<lx nx="10">1.</lx> | ||
<ly ny="10">1.</ly> | ||
<lz nz="1">1.</lz> | ||
</cartesian> | ||
</meshgenerator> | ||
</mesh> | ||
|
||
|
||
<alien-bench> | ||
<!-- big diagonal-coefficient keep diagonal dominant matrix --> | ||
<redistribution>false</redistribution> | ||
<homogeneous>true</homogeneous> | ||
<diagonal-coefficient>10.</diagonal-coefficient> | ||
<lambdax>0.125</lambdax> | ||
<lambday>0.25</lambday> | ||
<alpha>10.</alpha> | ||
<sigma>1000000.</sigma> | ||
<epsilon>0.01</epsilon> | ||
|
||
<linear-solver name="ComposyxSolver"> | ||
<solver>bcgs</solver> | ||
<preconditioner>none</preconditioner> | ||
<max-iteration-num>1000</max-iteration-num> | ||
<stop-criteria-value>1e-8</stop-criteria-value> | ||
<output-level>1</output-level> | ||
</linear-solver> | ||
|
||
|
||
</alien-bench> | ||
</case> |
52 changes: 52 additions & 0 deletions
52
alien/ArcaneInterface/test/AlienBench/AlienBench-composyx-cgas-2P.arc
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,52 @@ | ||
<?xml version='1.0' encoding='ISO-8859-1'?> | ||
<case codeversion="1.0" codename="AlienBench" xml:lang="en"> | ||
<arcane> | ||
<title>Test unitaires des solveurs lineaires</title> | ||
<timeloop>BenchLoop</timeloop> | ||
</arcane> | ||
|
||
<arcane-post-processing> | ||
<output-period>1</output-period> | ||
<output> | ||
<variable>U</variable> | ||
<variable>X</variable> | ||
<variable>K</variable> | ||
<variable>S</variable> | ||
</output> | ||
</arcane-post-processing> | ||
|
||
<mesh> | ||
<meshgenerator> | ||
<cartesian> | ||
<origine>0. 0. 0.</origine> | ||
<nsd>2 1 1</nsd> | ||
<lx nx="10">1.</lx> | ||
<ly ny="10">1.</ly> | ||
<lz nz="10">1.</lz> | ||
</cartesian> | ||
</meshgenerator> | ||
</mesh> | ||
|
||
|
||
<alien-bench> | ||
<!-- big diagonal-coefficient keep diagonal dominant matrix --> | ||
<redistribution>false</redistribution> | ||
<homogeneous>true</homogeneous> | ||
<diagonal-coefficient>10.</diagonal-coefficient> | ||
<lambdax>0.125</lambdax> | ||
<lambday>0.25</lambday> | ||
<alpha>10.</alpha> | ||
<sigma>1000000.</sigma> | ||
<epsilon>0.01</epsilon> | ||
|
||
<linear-solver name="ComposyxSolver"> | ||
<solver>bcgs</solver> | ||
<preconditioner>none</preconditioner> | ||
<max-iteration-num>1000</max-iteration-num> | ||
<stop-criteria-value>1e-8</stop-criteria-value> | ||
<output-level>1</output-level> | ||
</linear-solver> | ||
|
||
|
||
</alien-bench> | ||
</case> |
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
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
54 changes: 54 additions & 0 deletions
54
alien/ArcaneInterface/test/AlienBench/AlienBench-composyx-gmresas-2P.arc
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,54 @@ | ||
<?xml version='1.0' encoding='ISO-8859-1'?> | ||
<case codeversion="1.0" codename="AlienBench" xml:lang="en"> | ||
<arcane> | ||
<title>Test unitaires des solveurs lineaires</title> | ||
<timeloop>BenchLoop</timeloop> | ||
</arcane> | ||
|
||
<arcane-post-processing> | ||
<output-period>1</output-period> | ||
<output> | ||
<variable>U</variable> | ||
<variable>X</variable> | ||
<variable>K</variable> | ||
<variable>S</variable> | ||
</output> | ||
</arcane-post-processing> | ||
|
||
<mesh> | ||
<meshgenerator> | ||
<cartesian> | ||
<origine>0. 0. 0.</origine> | ||
<nsd>2 1 1</nsd> | ||
<lx nx="10">1.</lx> | ||
<ly ny="10">1.</ly> | ||
<lz nz="10">1.</lz> | ||
</cartesian> | ||
</meshgenerator> | ||
</mesh> | ||
|
||
|
||
<alien-bench> | ||
<!-- big diagonal-coefficient keep diagonal dominant matrix --> | ||
<redistribution>false</redistribution> | ||
<homogeneous>true</homogeneous> | ||
<diagonal-coefficient>10.</diagonal-coefficient> | ||
<lambdax>0.125</lambdax> | ||
<lambday>0.25</lambday> | ||
<alpha>10.</alpha> | ||
<sigma>1000000.</sigma> | ||
<epsilon>0.01</epsilon> | ||
|
||
<linear-solver name="ComposyxSolver"> | ||
<solver>gmres</solver> | ||
<preconditioner>none</preconditioner> | ||
<max-iteration-num>1000</max-iteration-num> | ||
<stop-criteria-value>1e-8</stop-criteria-value> | ||
<gmres-restart>10</gmres-restart> | ||
<gmres-ortho>CGS</gmres-ortho> | ||
<output-level>1</output-level> | ||
</linear-solver> | ||
|
||
|
||
</alien-bench> | ||
</case> |
55 changes: 55 additions & 0 deletions
55
alien/ArcaneInterface/test/AlienBench/AlienBench-composyx-gmresas-4P.arc
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,55 @@ | ||
<?xml version='1.0' encoding='ISO-8859-1'?> | ||
<case codeversion="1.0" codename="AlienBench" xml:lang="en"> | ||
<arcane> | ||
<title>Test unitaires des solveurs lineaires</title> | ||
<timeloop>BenchLoop</timeloop> | ||
</arcane> | ||
|
||
<arcane-post-processing> | ||
<output-period>1</output-period> | ||
<output> | ||
<variable>U</variable> | ||
<variable>X</variable> | ||
<variable>K</variable> | ||
<variable>S</variable> | ||
</output> | ||
</arcane-post-processing> | ||
|
||
<mesh> | ||
<meshgenerator> | ||
<cartesian> | ||
<origine>0. 0. 0.</origine> | ||
<nsd>2 2 1</nsd> | ||
<lx nx="10">1.</lx> | ||
<ly ny="10">1.</ly> | ||
<lz nz="1">1.</lz> | ||
</cartesian> | ||
</meshgenerator> | ||
</mesh> | ||
|
||
|
||
<alien-bench> | ||
<!-- big diagonal-coefficient keep diagonal dominant matrix --> | ||
<redistribution>false</redistribution> | ||
<homogeneous>true</homogeneous> | ||
<diagonal-coefficient>10.</diagonal-coefficient> | ||
<lambdax>0.125</lambdax> | ||
<lambday>0.25</lambday> | ||
<alpha>10.</alpha> | ||
<sigma>1000000.</sigma> | ||
<epsilon>0.01</epsilon> | ||
|
||
<linear-solver name="ComposyxSolver"> | ||
<solver>gmres</solver> | ||
<preconditioner>as</preconditioner> | ||
<max-iteration-num>1000</max-iteration-num> | ||
<stop-criteria-value>1e-8</stop-criteria-value> | ||
<gmres-restart>2</gmres-restart> | ||
<gmres-zeta>-1</gmres-zeta> | ||
<gmres-ortho>CGS</gmres-ortho> | ||
<output-level>1</output-level> | ||
</linear-solver> | ||
|
||
|
||
</alien-bench> | ||
</case> |
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
Oops, something went wrong.