From 70423049fb512c438956eed884e0b8dca90084cd Mon Sep 17 00:00:00 2001 From: Nils Schween Date: Tue, 14 Mar 2023 11:27:30 +0100 Subject: [PATCH] instantiate collect_periodic_faces for parallel::shared::Triangulation<1,1> --- source/grid/grid_tools_dof_handlers.inst.in | 76 ++++++++++----------- 1 file changed, 36 insertions(+), 40 deletions(-) diff --git a/source/grid/grid_tools_dof_handlers.inst.in b/source/grid/grid_tools_dof_handlers.inst.in index d26891561e..e307d272e7 100644 --- a/source/grid/grid_tools_dof_handlers.inst.in +++ b/source/grid/grid_tools_dof_handlers.inst.in @@ -370,45 +370,41 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) { #if deal_II_dimension <= deal_II_space_dimension -# if deal_II_dimension >= 2 - - namespace GridTools - \{ - template void - collect_periodic_faces< - parallel::shared::Triangulation>( - const parallel::shared::Triangulation &, - const types::boundary_id, - const types::boundary_id, - const unsigned int, - std::vector::cell_iterator>> &, - const Tensor<1, - parallel::shared::Triangulation< - deal_II_dimension, - deal_II_space_dimension>::space_dimension> &, - const FullMatrix &); - - template void - collect_periodic_faces< - parallel::shared::Triangulation>( - const parallel::shared::Triangulation &, - const types::boundary_id, - const unsigned int, - std::vector::cell_iterator>> &, - const Tensor<1, - parallel::shared::Triangulation< - deal_II_dimension, - deal_II_space_dimension>::space_dimension> &, - const FullMatrix &); - \} -# endif + namespace GridTools + \{ + template void + collect_periodic_faces< + parallel::shared::Triangulation>( + const parallel::shared::Triangulation &, + const types::boundary_id, + const types::boundary_id, + const unsigned int, + std::vector::cell_iterator>> &, + const Tensor<1, + parallel::shared::Triangulation< + deal_II_dimension, + deal_II_space_dimension>::space_dimension> &, + const FullMatrix &); + template void + collect_periodic_faces< + parallel::shared::Triangulation>( + const parallel::shared::Triangulation &, + const types::boundary_id, + const unsigned int, + std::vector::cell_iterator>> &, + const Tensor<1, + parallel::shared::Triangulation< + deal_II_dimension, + deal_II_space_dimension>::space_dimension> &, + const FullMatrix &); + \} #endif } -- 2.39.5