From: Maximilian Bergbauer Date: Thu, 12 Oct 2023 07:57:57 +0000 (+0200) Subject: Allow container in reinit_faces and reinit_surface X-Git-Tag: relicensing~353^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16196%2Fhead;p=dealii.git Allow container in reinit_faces and reinit_surface --- diff --git a/include/deal.II/non_matching/mapping_info.h b/include/deal.II/non_matching/mapping_info.h index 7b06e54343..cf77a3fa29 100644 --- a/include/deal.II/non_matching/mapping_info.h +++ b/include/deal.II/non_matching/mapping_info.h @@ -360,10 +360,10 @@ namespace NonMatching * Compute the mapping information for the incoming vector of cells and * corresponding vector of ImmersedSurfaceQuadrature. */ - template + template void reinit_surface( - const IteratorRange &cell_iterator_range, + const ContainerType &cell_iterator_range, const std::vector> &quadrature_vector, const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int); @@ -371,10 +371,10 @@ namespace NonMatching * Compute the mapping information for all faces of the incoming vector * of cells and corresponding vector of quadratures. */ - template + template void reinit_faces( - const IteratorRange &cell_iterator_range, + const ContainerType &cell_iterator_range, const std::vector>> &quadrature_vector, const unsigned int n_unfiltered_cells = numbers::invalid_unsigned_int); @@ -1164,10 +1164,10 @@ namespace NonMatching template - template + template void MappingInfo::reinit_surface( - const IteratorRange &cell_iterator_range, + const ContainerType &cell_iterator_range, const std::vector> &quadrature_vector, const unsigned int n_unfiltered_cells) { @@ -1195,7 +1195,7 @@ namespace NonMatching mapping_data); }; - do_reinit_cells, ImmersedSurfaceQuadrature>( + do_reinit_cells>( cell_iterator_range, quadrature_vector, n_unfiltered_cells, @@ -1205,10 +1205,10 @@ namespace NonMatching template - template + template void MappingInfo::reinit_faces( - const IteratorRange &cell_iterator_range, + const ContainerType &cell_iterator_range, const std::vector>> &quadrature_vector, const unsigned int n_unfiltered_cells) {