From dac16819e87fee9b84586436531fa8208d2ce560 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Mon, 20 Jan 2014 12:03:00 +0000 Subject: [PATCH] Simplify exchange of data in Trilinos sparse matrix reinit: Can use the nonlocal_graph directly. Apparently, I would need another entry point into distribute_sparsity_pattern to fix the deal.II transfer. git-svn-id: https://svn.dealii.org/trunk@32263 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/multigrid/mg_transfer_prebuilt.cc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/deal.II/source/multigrid/mg_transfer_prebuilt.cc b/deal.II/source/multigrid/mg_transfer_prebuilt.cc index b1fb5910fc..00d449ad91 100644 --- a/deal.II/source/multigrid/mg_transfer_prebuilt.cc +++ b/deal.II/source/multigrid/mg_transfer_prebuilt.cc @@ -160,9 +160,7 @@ void MGTransferPrebuilt::build_matrices ( ExcNotImplemented()); for (unsigned int child=0; childn_children(); ++child) { - // set an alias to the - // prolongation matrix for - // this child + // set an alias to the prolongation matrix for this child const FullMatrix &prolongation = mg_dof.get_fe().get_prolongation_matrix (child, cell->refinement_case()); @@ -209,9 +207,7 @@ void MGTransferPrebuilt::build_matrices ( ExcNotImplemented()); for (unsigned int child=0; childn_children(); ++child) { - // set an alias to the - // prolongation matrix for - // this child + // set an alias to the prolongation matrix for this child prolongation = mg_dof.get_fe().get_prolongation_matrix (child, cell->refinement_case()); @@ -224,8 +220,7 @@ void MGTransferPrebuilt::build_matrices ( cell->child(child)->get_mg_dof_indices (dof_indices_child); - // now set the entries in the - // matrix + // now set the entries in the matrix for (unsigned int i=0; iset (dof_indices_child[i], dofs_per_cell, -- 2.39.5