From: hartmann Date: Fri, 23 Apr 2004 07:47:19 +0000 (+0000) Subject: Standardize notation: move reference & to the right. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6810525652a3340d8662e597efe6edda1f38ebd6;p=dealii-svn.git Standardize notation: move reference & to the right. git-svn-id: https://svn.dealii.org/trunk@9096 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/multigrid/mg_dof_tools.h b/deal.II/deal.II/include/multigrid/mg_dof_tools.h index 0cbb82b462..fd12cf46e4 100644 --- a/deal.II/deal.II/include/multigrid/mg_dof_tools.h +++ b/deal.II/deal.II/include/multigrid/mg_dof_tools.h @@ -111,8 +111,8 @@ class MGTools make_flux_sparsity_pattern (const MGDoFHandler &dof, SparsityPattern &sparsity, const unsigned int level, - const FullMatrix& int_mask, - const FullMatrix& flux_mask); + const FullMatrix &int_mask, + const FullMatrix &flux_mask); /** * Count the dofs component-wise @@ -125,8 +125,8 @@ class MGTools * result[level][component]). */ template - static void count_dofs_per_component (const MGDoFHandler& mg_dof, - std::vector >& result, + static void count_dofs_per_component (const MGDoFHandler &mg_dof, + std::vector > &result, std::vector target_component = std::vector()); @@ -141,8 +141,8 @@ class MGTools */ template static void - reinit_vector (const MGDoFHandler& mg_dof, - MGLevelObject >& vector); + reinit_vector (const MGDoFHandler &mg_dof, + MGLevelObject > &vector); /** * Adjust block-vectors on all @@ -213,10 +213,10 @@ class MGTools */ template static void - reinit_vector (const MGDoFHandler& mg_dof, - MGLevelObject >& v, - const std::vector& selected, - const std::vector& target_component); + reinit_vector (const MGDoFHandler &mg_dof, + MGLevelObject > &v, + const std::vector &selected, + const std::vector &target_component); }; diff --git a/deal.II/deal.II/source/multigrid/mg_dof_tools.cc b/deal.II/deal.II/source/multigrid/mg_dof_tools.cc index 53d52c834e..efffe1984c 100644 --- a/deal.II/deal.II/source/multigrid/mg_dof_tools.cc +++ b/deal.II/deal.II/source/multigrid/mg_dof_tools.cc @@ -187,8 +187,8 @@ MGTools::make_flux_sparsity_pattern ( const MGDoFHandler &dof, SparsityPattern &sparsity, const unsigned int level, - const FullMatrix& int_mask, - const FullMatrix& flux_mask) + const FullMatrix &int_mask, + const FullMatrix &flux_mask) { const unsigned int n_dofs = dof.n_dofs(level); const unsigned int n_comp = dof.get_fe().n_components(); @@ -296,8 +296,8 @@ MGTools::make_flux_sparsity_pattern ( template void MGTools::count_dofs_per_component ( - const MGDoFHandler& dof_handler, - std::vector >& result, + const MGDoFHandler &dof_handler, + std::vector > &result, std::vector target_component) { const unsigned int nlevels = dof_handler.get_tria().n_levels(); @@ -375,8 +375,8 @@ MGTools::count_dofs_per_component ( template void -MGTools::reinit_vector (const MGDoFHandler& mg_dof, - MGLevelObject >& v) +MGTools::reinit_vector (const MGDoFHandler &mg_dof, + MGLevelObject > &v) { for (unsigned int level=v.get_minlevel(); level<=v.get_maxlevel();++level) @@ -390,8 +390,8 @@ MGTools::reinit_vector (const MGDoFHandler& mg_dof, template void -MGTools::reinit_vector (const MGDoFHandler& mg_dof, - MGLevelObject >& v, +MGTools::reinit_vector (const MGDoFHandler &mg_dof, + MGLevelObject > &v, const std::vector &sel, const std::vector &target_comp) {