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
56cf2746
Commit
56cf2746
authored
Jun 03, 2009
by
Peter Gottschling
Browse files
Setzt AMDiS den x-Wert vor dem Loesen???
parent
51eecacb
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/ITL_OEMSolver.h
View file @
56cf2746
...
...
@@ -23,6 +23,7 @@
#ifndef AMDIS_ITL_OEM_SOLVER_H
#define AMDIS_ITL_OEM_SOLVER_H
#include
<iostream>
#include
"OEMSolver.h"
#include
"ITL_Preconditioner.h"
#include
"SolverMatrix.h"
...
...
@@ -63,6 +64,15 @@ namespace AMDiS {
{
itl
::
cyclic_iteration
<
value_type
>
iter
(
b
,
this
->
max_iter
,
this
->
relative
,
this
->
tolerance
,
this
->
print_cycle
);
#if 0
std::cout << "A is " << num_rows(A) << " x " << num_cols(A)
<< ", one_norm(A) = " << one_norm(A)
<< ", b is " << num_rows(b)
<< ", one_norm(b) = " << one_norm(b)
<< ", x is " << num_rows(x)
<< ", one_norm(x) = " << one_norm(x) << "\n";
x= 0.0;
#endif
return
ITLSolver
()(
A
,
x
,
b
,
*
this
->
leftPrecon
,
*
this
->
rightPrecon
,
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