Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gregor.olenik
OGL
Commits
53a9eecd
Commit
53a9eecd
authored
Apr 14, 2021
by
Gregor Olenik
Browse files
re-enable exporting the system matrix, rhs and initial guess
parent
9c29b393
Changes
1
Hide whitespace changes
Inline
Side-by-side
lduMatrix/GKOlduBase/GKOlduBase.H
View file @
53a9eecd
...
...
@@ -307,11 +307,6 @@ public:
// from this factory.
solver_gen
->
add_logger
(
logger
);
// TODO refactor this to separate function
// if (get_export())
// export_system(gko::lend(gkomatrix), gko::lend(x),
// gko::lend(b));
auto
b_clone
=
gko
::
clone
(
b
);
std
::
shared_ptr
<
mtx
>
gkomatrix
{};
if
(
gkomatrix_ptr
==
NULL
)
{
...
...
@@ -327,6 +322,11 @@ public:
gkomatrix
=
gkomatrix_ptr
->
get_ptr
();
}
if
(
get_export
())
export_system
(
fieldName
(),
gko
::
lend
(
gkomatrix
),
gko
::
lend
(
x
),
gko
::
lend
(
b
));
solverPerf
.
initialResidual
()
=
compute_residual
(
gko
::
lend
(
gkomatrix
),
gko
::
lend
(
x
),
gko
::
lend
(
b_clone
));
...
...
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