Commit 56cf2746 by Peter Gottschling

### Setzt AMDiS den x-Wert vor dem Loesen???

parent 51eecacb
 ... @@ -23,6 +23,7 @@ ... @@ -23,6 +23,7 @@ #ifndef AMDIS_ITL_OEM_SOLVER_H #ifndef AMDIS_ITL_OEM_SOLVER_H #define AMDIS_ITL_OEM_SOLVER_H #define AMDIS_ITL_OEM_SOLVER_H #include #include "OEMSolver.h" #include "OEMSolver.h" #include "ITL_Preconditioner.h" #include "ITL_Preconditioner.h" #include "SolverMatrix.h" #include "SolverMatrix.h" ... @@ -63,6 +64,15 @@ namespace AMDiS { ... @@ -63,6 +64,15 @@ namespace AMDiS { { { itl::cyclic_iteration iter(b, this->max_iter, this->relative, itl::cyclic_iteration iter(b, this->max_iter, this->relative, this->tolerance, this->print_cycle); 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); return ITLSolver()(A, x, b, *this->leftPrecon, *this->rightPrecon, iter); } } ... ...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!