From 1291c0ba2ae84dd4f179d7b31939afc6699d5982 Mon Sep 17 00:00:00 2001 From: kanschat Date: Mon, 27 May 2013 11:51:02 +0000 Subject: [PATCH] two new fields git-svn-id: https://svn.dealii.org/trunk@29637 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/deal.II/multigrid/mg_transfer.h | 43 +++++++++++++------ 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/deal.II/include/deal.II/multigrid/mg_transfer.h b/deal.II/include/deal.II/multigrid/mg_transfer.h index d938dab05a..43d586f667 100644 --- a/deal.II/include/deal.II/multigrid/mg_transfer.h +++ b/deal.II/include/deal.II/multigrid/mg_transfer.h @@ -244,30 +244,49 @@ private: std::vector sizes; /** - * Sparsity patterns for transfer - * matrices. + * Sparsity patterns for transfer matrices. */ std::vector::Sparsity> > prolongation_sparsities; /** - * The actual prolongation matrix. - * column indices belong to the - * dof indices of the mother cell, - * i.e. the coarse level. - * while row indices belong to the - * child cell, i.e. the fine level. + * The actual prolongation matrix. column indices belong to the dof + * indices of the mother cell, i.e. the coarse level. while row + * indices belong to the child cell, i.e. the fine level. */ std::vector::Matrix> > prolongation_matrices; /** - * Mapping for the - * copy_to/from_mg-functions. - * The data is first the global - * index, then the level index. + * Mapping for the copy_to_mg() and copy_from_mg() functions. Here only + * index pairs locally owned + * + * The data is organized as follows: one vector per level. Each + * element of these vectors contains first the global index, then + * the level index. */ std::vector > > copy_indices; + /** + * Additional degrees of freedom for the copy_to_mg() + * function. These are the ones where the global degree of freedom + * is locally owned and the level degree of freedom is not. + * + * Organization of the data is like for #copy_indices_mine. + */ + std::vector > > + copy_indices_to_me; + + /** + * Additional degrees of freedom for the copy_from_mg() + * function. These are the ones where the level degree of freedom + * is locally owned and the global degree of freedom is not. + * + * Organization of the data is like for #copy_indices_mine. + */ + std::vector > > + copy_indices_from_me; + + /** * The vector that stores what * has been given to the -- 2.39.5