]> https://gitweb.dealii.org/ - dealii.git/commitdiff
improve test
authorTimo Heister <timo.heister@gmail.com>
Thu, 13 Jun 2013 01:02:48 +0000 (01:02 +0000)
committerTimo Heister <timo.heister@gmail.com>
Thu, 13 Jun 2013 01:02:48 +0000 (01:02 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29815 0785d39b-7218-0410-832d-ea1e28bc413d

tests/gla/mat_03.cc

index 1c06cfae349f7233d51a3002dae32fc32e50ac03..ac1d9aca33292aaf9fcc159a13a8fe2dbf9dbe78 100644 (file)
@@ -83,24 +83,8 @@ void test ()
   sp.compress();
   matrix.reinit (owned, owned, sp, MPI_COMM_WORLD);
 
-  FullMatrix<double> local_mat(9,9);
-  for (unsigned int i=0;i<9;++i)
-    for (unsigned int j=0;j<9;++j)
-      local_mat(i,j)=1 + i + 100*j;
-  std::vector<unsigned int> local_dofs;
-
-  if (myid==0)
+  if (myid!=0)
     {
-//      unsigned int v[]={0, 1, 2, 3, 4, 5, 6, 7, 8};
-//      local_dofs.assign(v,v+9);
-      //cm.distribute_local_to_global (local_mat, local_dofs, matrix);
-    }
-  else
-    {
-      //unsigned int v[]={21, 39, 22, 40, 23, 41, 42, 43, 44};
-      //local_dofs.assign(v,v+9);
-      //cm.distribute_local_to_global (local_mat, local_dofs, matrix);
-
       types::global_dof_index row = 21;
       unsigned int n_values = 4;
       types::global_dof_index cols[] = {21, 22, 23, 39};

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


Typeset in Trocchi and Trocchi Bold Sans Serif.