Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
56cf2746
Commit
56cf2746
authored
Jun 03, 2009
by
Peter Gottschling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setzt AMDiS den x-Wert vor dem Loesen???
parent
51eecacb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
AMDiS/src/ITL_OEMSolver.h
AMDiS/src/ITL_OEMSolver.h
+10
-0
No files found.
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
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