From 9afa20bc1a5f324b3f9e3741394aaa254316fb29 Mon Sep 17 00:00:00 2001 From: heister Date: Thu, 13 Jun 2013 01:02:48 +0000 Subject: [PATCH] improve test git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29815 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/gla/mat_03.cc | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/tests/gla/mat_03.cc b/tests/gla/mat_03.cc index 1c06cfae34..ac1d9aca33 100644 --- a/tests/gla/mat_03.cc +++ b/tests/gla/mat_03.cc @@ -83,24 +83,8 @@ void test () sp.compress(); matrix.reinit (owned, owned, sp, MPI_COMM_WORLD); - FullMatrix 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 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}; -- 2.39.5