diff options
author | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-02-10 18:57:38 +0100 |
---|---|---|
committer | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2012-02-10 18:57:38 +0100 |
commit | 16da7299dd419d9ddaa19ddd9c8f5244ad52dfbc (patch) | |
tree | fd9eeb1802dadcf74e31fadd5baf73f3342b75ee /test/bicgstab.cpp | |
parent | edbebb14de25a61769da6c2b76e2eed18eae79d1 (diff) |
Add test in BiCGSTAB for ILUT
Diffstat (limited to 'test/bicgstab.cpp')
-rw-r--r-- | test/bicgstab.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bicgstab.cpp b/test/bicgstab.cpp index 222cd6cbd..bb9da898f 100644 --- a/test/bicgstab.cpp +++ b/test/bicgstab.cpp @@ -29,12 +29,12 @@ template<typename T> void test_bicgstab_T() { BiCGSTAB<SparseMatrix<T>, DiagonalPreconditioner<T> > bicgstab_colmajor_diag; BiCGSTAB<SparseMatrix<T>, IdentityPreconditioner > bicgstab_colmajor_I; - //BiCGSTAB<SparseMatrix<T>, IncompleteLU<T> > bicgstab_colmajor_ilu; + BiCGSTAB<SparseMatrix<T>, IncompleteLUT<T> > bicgstab_colmajor_ilut; //BiCGSTAB<SparseMatrix<T>, SSORPreconditioner<T> > bicgstab_colmajor_ssor; CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_diag) ); - CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_I) ); - //CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_ilu) ); +// CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_I) ); + CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_ilut) ); //CALL_SUBTEST( check_sparse_square_solving(bicgstab_colmajor_ssor) ); } @@ -42,6 +42,6 @@ void test_bicgstab() { for(int i = 0; i < g_repeat; i++) { CALL_SUBTEST_1(test_bicgstab_T<double>()); - //CALL_SUBTEST_2(test_bicgstab_T<std::complex<double> >()); + CALL_SUBTEST_2(test_bicgstab_T<std::complex<double> >()); } } |