git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29778
0785d39b-7218-0410-832d-
ea1e28bc413d
//---------------------------------------------------------------------------
-// LA::MPI::BlockSparseMatrix
+// test LA::MPI::BlockSparseMatrix
#include "../tests.h"
#include <deal.II/lac/generic_linear_algebra.h>
matrix.compress();
+ if (myid==0)
+ {
+ deallog << "(0,0) = " << matrix(0,0) << std::endl;
+ deallog << "(1,1) = " << matrix(1,1) << std::endl;
+ }
// done
if (myid==0)
DEAL:0:PETSc::numproc=10
-DEAL:0:PETSc::0: 0
-DEAL:0:PETSc::1: 1.000
-DEAL:0:PETSc::0,1 : 10.00
+DEAL:0:PETSc::(0,0) = 0.00000
+DEAL:0:PETSc::(1,1) = 13.0000
DEAL:0:PETSc::OK
DEAL:0:Trilinos::numproc=10
-DEAL:0:Trilinos::0: 0
-DEAL:0:Trilinos::1: 1.000
-DEAL:0:Trilinos::0,1 : 10.00
+DEAL:0:Trilinos::(0,0) = 0.00000
+DEAL:0:Trilinos::(1,1) = 13.0000
DEAL:0:Trilinos::OK
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
DEAL:0:PETSc::numproc=4
-DEAL:0:PETSc::0: 0
-DEAL:0:PETSc::1: 1.000
-DEAL:0:PETSc::0,1 : 4.000
+DEAL:0:PETSc::(0,0) = 0.00000
+DEAL:0:PETSc::(1,1) = 5.20000
DEAL:0:PETSc::OK
DEAL:0:Trilinos::numproc=4
-DEAL:0:Trilinos::0: 0
-DEAL:0:Trilinos::1: 1.000
-DEAL:0:Trilinos::0,1 : 4.000
+DEAL:0:Trilinos::(0,0) = 0.00000
+DEAL:0:Trilinos::(1,1) = 5.20000
DEAL:0:Trilinos::OK
+
+
+
+
+
+
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams