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
Aland, Sebastian
amdis
Commits
3e4a0cc6
Commit
3e4a0cc6
authored
May 23, 2008
by
Thomas Witkowski
Browse files
* Removed debug information output
parent
e551c4a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/CGSolver.hh
View file @
3e4a0cc6
...
...
@@ -108,15 +108,13 @@ namespace AMDiS {
// Check if x is a solution of the linear system.
if
(
SOLVE_INFO
(
iter
,
sqrt
(
alpha1
),
&
old_res
))
{
*
p
=
*
x
;
*
p
*=
-
1.0
;
// r = b - Ax
matVec
->
matVec
(
NoTranspose
,
*
p
,
*
r
);
*
r
+=
*
b
;
::
std
::
cout
<<
"Final res: "
<<
norm
(
r
)
<<
::
std
::
endl
;
*
p
=
*
x
;
*
p
*=
-
1.0
;
// r = b - Ax
matVec
->
matVec
(
NoTranspose
,
*
p
,
*
r
);
*
r
+=
*
b
;
return
(
iter
);
}
...
...
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