From 8fdde8569c2ab64e7a998d40a9be6856449175fc Mon Sep 17 00:00:00 2001 From: nivesh Date: Tue, 29 May 2018 14:43:10 +0200 Subject: [PATCH] indent fe_enriched inst file --- source/fe/fe_enriched.inst.in | 103 +++++++++++++++++++--------------- 1 file changed, 59 insertions(+), 44 deletions(-) diff --git a/source/fe/fe_enriched.inst.in b/source/fe/fe_enriched.inst.in index 41f5a67429..9371ca024b 100644 --- a/source/fe/fe_enriched.inst.in +++ b/source/fe/fe_enriched.inst.in @@ -19,58 +19,73 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) #if deal_II_dimension <= deal_II_space_dimension template class FE_Enriched; - namespace ColorEnriched \{ - namespace internal \{ - template - bool find_connection_between_subdomains - (const hp::DoFHandler &dof_handler, - const predicate_function &predicate_1, - const predicate_function &predicate_2); + namespace ColorEnriched + \{ + namespace internal + \{ + template bool + find_connection_between_subdomains( + const hp::DoFHandler + &dof_handler, + const predicate_function + &predicate_1, + const predicate_function + &predicate_2); - template - unsigned int color_predicates - (const hp::DoFHandler &dof_handler, - const std::vector> &, - std::vector &); + template unsigned int + color_predicates( + const hp::DoFHandler + &dof_handler, + const std::vector< + predicate_function> &, + std::vector &); - template - void set_cellwise_color_set_and_fe_index - (hp::DoFHandler &dof_handler, - const std::vector> - &predicates, - const std::vector &predicate_colors, - std::map > - &cellwise_color_predicate_map, - std::vector > &fe_sets); + template void + set_cellwise_color_set_and_fe_index( + hp::DoFHandler + &dof_handler, + const std::vector< + predicate_function> + & predicates, + const std::vector &predicate_colors, + std::map> + & cellwise_color_predicate_map, + std::vector> &fe_sets); - template - void make_colorwise_enrichment_functions - (const unsigned int &num_colors, - const std::vector< std::shared_ptr > > - &enrichments, - const std::map > - &cellwise_color_predicate_map, - std::vector* - (const typename Triangulation::cell_iterator &)>> - &color_enrichments); + template void + make_colorwise_enrichment_functions( + const unsigned int &num_colors, + const std::vector>> + &enrichments, + const std::map> + & cellwise_color_predicate_map, + std::vector *( + const typename Triangulation::cell_iterator + &)>> &color_enrichments); - template - void make_fe_collection_from_colored_enrichments - (const unsigned int &num_colors, - const std::vector > &fe_sets, - const std::vector* - (const typename Triangulation::cell_iterator &)>> - &color_enrichments, - const FE_Q &fe_base, - const FE_Q &fe_enriched, - const FE_Nothing &fe_nothing, - hp::FECollection &fe_collection); - \} - template struct Helper; + template void + make_fe_collection_from_colored_enrichments( + const unsigned int & num_colors, + const std::vector> &fe_sets, + const std::vector< + std::function *( + const typename Triangulation< + deal_II_dimension, + deal_II_space_dimension>::cell_iterator &)>> &color_enrichments, + const FE_Q &fe_base, + const FE_Q &fe_enriched, + const FE_Nothing + &fe_nothing, + hp::FECollection + &fe_collection); + \} + template struct Helper; \} #endif -- 2.39.5