From 8e960db7c3a325760744295fb7acab2e0c240ebf Mon Sep 17 00:00:00 2001 From: peterrum Date: Sun, 4 Aug 2019 16:19:41 +0200 Subject: [PATCH] Instantiate for all dimensions GridOut::write_svg --- source/grid/grid_out.inst.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/grid/grid_out.inst.in b/source/grid/grid_out.inst.in index 56226d1130..7af8cf2311 100644 --- a/source/grid/grid_out.inst.in +++ b/source/grid/grid_out.inst.in @@ -24,6 +24,11 @@ for (deal_II_dimension : DIMENSIONS) const Triangulation &, std::ostream &) const; #endif +#if deal_II_dimension != 2 + template void GridOut::write_svg(const Triangulation &, + std::ostream &) const; +#endif + template void GridOut::write_msh(const Triangulation &, std::ostream &) const; @@ -68,6 +73,13 @@ for (deal_II_dimension : 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 + template void GridOut::write_svg( + const Triangulation &, + std::ostream &) const; +# endif + template void GridOut::write_msh( const Triangulation &, std::ostream &) const; -- 2.39.5