-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LeastSquareCG-Solver from Eigen See merge request ogs/ogs!5150
- Loading branch information
Showing
13 changed files
with
195 additions
and
10 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
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
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
15 changes: 15 additions & 0 deletions
15
Tests/Data/Parabolic/T/3D_BHE_Sandwich/sandwich_algebraicBC_LSCG.xml
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,15 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<OpenGeoSysProjectDiff base_file="sandwich.prj"> | ||
<add sel="/*/processes/process"> | ||
<use_algebraic_bc>true</use_algebraic_bc> | ||
</add> | ||
<add sel="/*/processes/process"> | ||
<weighting_factor>100</weighting_factor> | ||
</add> | ||
<add sel="/*/processes/process"> | ||
<linear>true</linear> | ||
</add> | ||
<replace sel="/*/time_loop/output/prefix/text()">sandwich_algebraic_bc_LSCG</replace> | ||
<replace sel="/*/linear_solvers/linear_solver/eigen/solver_type/text()">LeastSquareCG</replace> | ||
<replace sel="/*/linear_solvers/linear_solver/eigen/precon_type/text()">LeastSquareDIAGONAL</replace> | ||
</OpenGeoSysProjectDiff> |
15 changes: 15 additions & 0 deletions
15
Tests/Data/Parabolic/T/3D_BHE_Sandwich/sandwich_fixed_power_algebraicBC_LSCG.xml
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,15 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<OpenGeoSysProjectDiff base_file="sandwich_fixed_power.prj"> | ||
<add sel="/*/processes/process"> | ||
<use_algebraic_bc>true</use_algebraic_bc> | ||
</add> | ||
<add sel="/*/processes/process"> | ||
<weighting_factor>100</weighting_factor> | ||
</add> | ||
<add sel="/*/processes/process"> | ||
<linear>true</linear> | ||
</add> | ||
<replace sel="/*/time_loop/output/prefix/text()">sandwich_fixed_power_algebraic_bc_LSCG</replace> | ||
<replace sel="/*/linear_solvers/linear_solver/eigen/solver_type/text()">LeastSquareCG</replace> | ||
<replace sel="/*/linear_solvers/linear_solver/eigen/precon_type/text()">LeastSquareDIAGONAL</replace> | ||
</OpenGeoSysProjectDiff> |
15 changes: 15 additions & 0 deletions
15
Tests/Data/Parabolic/T/3D_Beier_sandbox/beier_sandbox_algebraicBC_LSCG.xml
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,15 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<OpenGeoSysProjectDiff base_file="beier_sandbox.prj"> | ||
<add sel="/*/processes/process"> | ||
<use_algebraic_bc>true</use_algebraic_bc> | ||
</add> | ||
<add sel="/*/processes/process"> | ||
<weighting_factor>100</weighting_factor> | ||
</add> | ||
<add sel="/*/processes/process"> | ||
<linear>true</linear> | ||
</add> | ||
<replace sel="/*/time_loop/output/prefix/text()">beier_sandbox_algebraic_bc_LSCG</replace> | ||
<replace sel="/*/linear_solvers/linear_solver/eigen/solver_type/text()">LeastSquareCG</replace> | ||
<replace sel="/*/linear_solvers/linear_solver/eigen/precon_type/text()">LeastSquareDIAGONAL</replace> | ||
</OpenGeoSysProjectDiff> |
Oops, something went wrong.