Commit f16a9d90 authored by Dmitry Bagaev's avatar Dmitry Bagaev
Browse files

Prec time k3 fix

parent dbbef615
.svn .svn
Tests/solver_test001/matrices Tests/solver_test001/matrices
SyncToy* SyncToy*
build*/ *build*/
*.iml *.iml
......
...@@ -60,7 +60,6 @@ namespace INMOST { ...@@ -60,7 +60,6 @@ namespace INMOST {
} }
void SolverK3BIILU2::SetMatrix(Sparse::Matrix &A, bool ModifiedPattern, bool OldPreconditioner) { void SolverK3BIILU2::SetMatrix(Sparse::Matrix &A, bool ModifiedPattern, bool OldPreconditioner) {
double time_start = Timer();
bool modified_pattern = ModifiedPattern; bool modified_pattern = ModifiedPattern;
//~ if( A.comm != comm ) throw DifferentCommunicatorInSolver; //~ if( A.comm != comm ) throw DifferentCommunicatorInSolver;
if (matrix_data == NULL) { if (matrix_data == NULL) {
...@@ -127,7 +126,7 @@ namespace INMOST { ...@@ -127,7 +126,7 @@ namespace INMOST {
} }
MatrixFinalizeK3biilu2(matrix_data); MatrixFinalizeK3biilu2(matrix_data);
SolverSetMatrixK3biilu2(solver_data, matrix_data, modified_pattern, OldPreconditioner); SolverSetMatrixK3biilu2(solver_data, matrix_data, modified_pattern, OldPreconditioner);
time_prec = Timer() - time_start; time_prec = solver_data->dstat[7];
} }
bool SolverK3BIILU2::Solve(INMOST::Sparse::Vector &RHS, INMOST::Sparse::Vector &SOL) { bool SolverK3BIILU2::Solve(INMOST::Sparse::Vector &RHS, INMOST::Sparse::Vector &SOL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment