From: heister Date: Thu, 13 Jun 2013 01:02:48 +0000 (+0000) Subject: improve test X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9afa20bc1a5f324b3f9e3741394aaa254316fb29;p=dealii-svn.git improve test git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29815 0785d39b-7218-0410-832d-ea1e28bc413d --- 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};