From 74ddecdcc9fb47ea8c1abfdef9fa2d0ad65b8663 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 21 Jul 2017 12:42:49 -0600 Subject: [PATCH] Standardize on 'template '. --- include/deal.II/dofs/dof_handler_policy.h | 6 +-- source/dofs/dof_handler_policy.cc | 46 +++++++++++------------ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/include/deal.II/dofs/dof_handler_policy.h b/include/deal.II/dofs/dof_handler_policy.h index 03cf46e0b3..15acc466cc 100644 --- a/include/deal.II/dofs/dof_handler_policy.h +++ b/include/deal.II/dofs/dof_handler_policy.h @@ -110,7 +110,7 @@ namespace internal * This class implements the default policy for sequential operations, * i.e. for the case where all cells get degrees of freedom. */ - template + template class Sequential : public PolicyBase { public: @@ -155,7 +155,7 @@ namespace internal * This class implements the policy for operations when we use a * parallel::shared::Triangulation object. */ - template + template class ParallelShared : public PolicyBase { public: @@ -216,7 +216,7 @@ namespace internal * This class implements the policy for operations when we use a * parallel::distributed::Triangulation object. */ - template + template class ParallelDistributed : public PolicyBase { public: diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 0b1e5a3c5d..d0bc815498 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -67,7 +67,7 @@ namespace internal * Update the cache used for cell dof indices on all (non-artificial) * active cells of the given DoFHandler. */ - template + template void update_all_active_cell_dof_indices_caches (const DoFHandlerType &dof_handler) { @@ -104,7 +104,7 @@ namespace internal * Update the cache used for cell dof indices on all (non-artificial) * level (multigrid) cells of the given DoFHandler. */ - template + template void update_all_level_cell_dof_indices_caches (const DoFHandlerType &dof_handler) { @@ -1117,7 +1117,7 @@ namespace internal * numbers::invalid_subdomain_id. Return the total number of dofs * distributed. */ - template + template static types::global_dof_index distribute_dofs (const types::subdomain_id subdomain_id, @@ -1367,7 +1367,7 @@ namespace internal - template + template static types::global_dof_index distribute_dofs_on_level (const types::subdomain_id level_subdomain_id, @@ -1808,7 +1808,7 @@ namespace internal * (The IndexSet argument is not used in 1d because we only need * it for parallel meshes and 1d doesn't support that right now.) */ - template + template static void renumber_dofs (const std::vector &new_numbers, @@ -2125,7 +2125,7 @@ namespace internal - template + template Sequential:: Sequential (DoFHandlerType &dof_handler) : @@ -2134,7 +2134,7 @@ namespace internal - template + template NumberCache Sequential:: distribute_dofs () const @@ -2149,7 +2149,7 @@ namespace internal - template + template std::vector Sequential:: distribute_mg_dofs () const @@ -2181,7 +2181,7 @@ namespace internal - template + template NumberCache Sequential:: renumber_dofs (const std::vector &new_numbers) const @@ -2203,7 +2203,7 @@ namespace internal - template + template NumberCache Sequential:: renumber_mg_dofs (const unsigned int level, @@ -2220,7 +2220,7 @@ namespace internal /* --------------------- class ParallelShared ---------------- */ - template + template ParallelShared:: ParallelShared (DoFHandlerType &dof_handler) : @@ -2239,7 +2239,7 @@ namespace internal * consequently, be called at a point when we are still distributing degrees * of freedom. */ - template + template std::vector get_dof_subdomain_association (const DoFHandlerType &dof_handler, const types::global_dof_index n_dofs, @@ -2303,7 +2303,7 @@ namespace internal - template + template NumberCache ParallelShared:: distribute_dofs () const @@ -2461,7 +2461,7 @@ namespace internal - template + template std::vector ParallelShared:: distribute_mg_dofs () const @@ -2478,7 +2478,7 @@ namespace internal - template + template NumberCache ParallelShared:: renumber_dofs (const std::vector &new_numbers) const @@ -2619,7 +2619,7 @@ namespace internal - template + template NumberCache ParallelShared:: renumber_mg_dofs (const unsigned int /*level*/, @@ -3004,7 +3004,7 @@ namespace internal - template + template void communicate_mg_ghost_cells(const typename parallel::distributed::Triangulation &tria, DoFHandlerType &dof_handler, @@ -3278,7 +3278,7 @@ namespace internal - template + template void communicate_dof_indices_on_marked_cells (const DoFHandlerType &dof_handler, @@ -3482,7 +3482,7 @@ namespace internal - template + template ParallelDistributed:: ParallelDistributed (DoFHandlerType &dof_handler) : @@ -3494,7 +3494,7 @@ namespace internal - template + template NumberCache ParallelDistributed:: distribute_dofs () const @@ -3711,7 +3711,7 @@ namespace internal - template + template std::vector ParallelDistributed:: distribute_mg_dofs () const @@ -3967,7 +3967,7 @@ namespace internal } - template + template NumberCache ParallelDistributed:: renumber_dofs (const std::vector &new_numbers) const @@ -4171,7 +4171,7 @@ namespace internal - template + template NumberCache ParallelDistributed:: renumber_mg_dofs (const unsigned int /*level*/, -- 2.39.5