Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
c4e453f9
Commit
c4e453f9
authored
Oct 22, 2009
by
Thomas Witkowski
Browse files
Added UMFPACK 5.4
parent
8c3aebe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/UmfPackSolver.h
View file @
c4e453f9
...
...
@@ -88,9 +88,11 @@ namespace AMDiS {
else
solver
->
update
();
// std::cout << "UmfPackSolver: A = \n" << A << "\n";
int
code
=
(
*
solver
)(
x
,
b
);
print
(
x
);
std
::
cout
<<
std
::
endl
;
mtl
::
dense_vector
<
value_type
>
r
(
b
);
r
-=
A
*
x
;
residual
=
two_norm
(
r
);
// std::cout.precision(5);
std
::
cout
<<
"UmfPackSolver: ||b-Ax|| = "
<<
residual
<<
"
\n
"
;
return
code
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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