Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Praetorius, Simon
dune-amdis
Commits
8cf1e778
Commit
8cf1e778
authored
Nov 16, 2018
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue/eigen_solver_creator' into 'develop'
type in eigen solver creator corrected See merge request
!57
parents
760b05b8
4fc836ba
Pipeline
#1437
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/amdis/linear_algebra/eigen/SolverCreator.hpp
src/amdis/linear_algebra/eigen/SolverCreator.hpp
+2
-2
No files found.
src/amdis/linear_algebra/eigen/SolverCreator.hpp
View file @
8cf1e778
...
...
@@ -30,7 +30,7 @@ namespace AMDiS
using
SolverBase
=
LinearSolverInterface
<
Matrix
,
VectorX
,
VectorB
>
;
using
Scalar
=
typename
Matrix
::
Scalar
;
virtual
std
::
unique_ptr
<
SolverBase
>
create
(
std
::
string
const
&
prefix
)
override
virtual
std
::
unique_ptr
<
SolverBase
>
create
(
std
::
string
prefix
)
override
{
// get creator string for preconditioner
std
::
string
precon
=
"no"
;
...
...
@@ -62,7 +62,7 @@ namespace AMDiS
using
IncompleteCholesky
=
SolverCreator
<
Eigen
::
IncompleteCholesky
<
Scalar
,
Eigen
::
Lower
|
Eigen
::
Upper
,
Ordering
>>
;
std
::
un
q
iue_ptr
<
SolverBase
>
createIncompleteCholesky
(
std
::
string
const
&
prefix
)
const
std
::
uni
q
ue_ptr
<
SolverBase
>
createIncompleteCholesky
(
std
::
string
const
&
prefix
)
const
{
std
::
string
ordering
=
"amd"
;
Parameters
::
get
(
prefix
+
"->precon->ordering"
,
ordering
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment