From: Benjamin Brands Date: Thu, 18 Apr 2019 20:25:21 +0000 (+0200) Subject: add explicit instantiations for shared::Triangulation X-Git-Tag: v9.1.0-rc1~192^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a7b598b7a80955c120b51a696367fbb2c9c3dbf;p=dealii.git add explicit instantiations for shared::Triangulation --- diff --git a/source/grid/grid_tools_dof_handlers.inst.in b/source/grid/grid_tools_dof_handlers.inst.in index 9ef81e67af..39c7284ad5 100644 --- a/source/grid/grid_tools_dof_handlers.inst.in +++ b/source/grid/grid_tools_dof_handlers.inst.in @@ -337,3 +337,51 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) # endif #endif } + +// TODO the text above the last instantiation block implies that this should not +// be necessary... is it? +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 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 int, + std::vector::cell_iterator>> &, + const Tensor<1, + parallel::shared::Triangulation< + deal_II_dimension, + deal_II_space_dimension>::space_dimension> &, + const FullMatrix &); + \} +# endif +#endif + }