Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
12a78329
Commit
12a78329
authored
Dec 29, 2020
by
Praetorius, Simon
Browse files
make the backend solver directly accessible in ProblemStat
parent
7c8f35cf
Changes
2
Show whitespace changes
Inline
Side-by-side
amdis/ProblemStat.hpp
View file @
12a78329
...
...
@@ -79,7 +79,7 @@ namespace AMDiS
using
PartitionSet
=
typename
LinAlgTraits
::
PartitionSet
;
public:
using
LinearSolver
=
LinearSolver
Interface
<
Mat
,
Vec
,
Vec
>
;
using
LinearSolver
=
AMDiS
::
LinearSolver
<
Mat
,
Vec
,
Vec
>
;
using
SystemMatrix
=
BiLinearForm
<
GlobalBasis
,
GlobalBasis
,
typename
Traits
::
CoefficientType
,
LinAlgTraits
>
;
using
SystemVector
=
LinearForm
<
GlobalBasis
,
typename
Traits
::
CoefficientType
,
LinAlgTraits
>
;
using
SolutionVector
=
DOFVector
<
GlobalBasis
,
typename
Traits
::
CoefficientType
,
LinAlgTraits
>
;
...
...
amdis/ProblemStat.inc.hpp
View file @
12a78329
...
...
@@ -228,8 +228,7 @@ void ProblemStat<Traits>::createSolver()
std
::
string
solverName
=
"default"
;
Parameters
::
get
(
name_
+
"->solver"
,
solverName
);
using
Solver
=
AMDiS
::
LinearSolver
<
Mat
,
Vec
,
Vec
>
;
linearSolver_
=
std
::
make_shared
<
Solver
>
(
solverName
,
name_
+
"->solver"
);
linearSolver_
=
std
::
make_shared
<
LinearSolver
>
(
solverName
,
name_
+
"->solver"
);
}
...
...
Write
Preview
Supports
Markdown
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