From 0cc25be5655bdba8a0ce75de36860777cdef7b09 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 29 Nov 2010 21:34:27 +0000 Subject: [PATCH] Really only instantiate functions that aren't explicitly specialized. git-svn-id: https://svn.dealii.org/trunk@22884 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/grid/grid_generator.inst.in | 76 ++++------------------ 1 file changed, 11 insertions(+), 65 deletions(-) diff --git a/deal.II/source/grid/grid_generator.inst.in b/deal.II/source/grid/grid_generator.inst.in index 59815baebf..7f21f42ffb 100644 --- a/deal.II/source/grid/grid_generator.inst.in +++ b/deal.II/source/grid/grid_generator.inst.in @@ -14,6 +14,16 @@ for (deal_II_dimension : DIMENSIONS) { + template void + GridGenerator::hyper_rectangle ( + Triangulation &, + const Point&, const Point&, + const bool); + + template void + GridGenerator::colorize_hyper_rectangle ( + Triangulation &); + template void GridGenerator::hyper_cube ( Triangulation &, const double, const double); @@ -23,78 +33,15 @@ for (deal_II_dimension : DIMENSIONS) Triangulation &, const unsigned int, const double, const double); - template void - GridGenerator::hyper_rectangle ( - Triangulation &, - const Point&, const Point&, - const bool); - template void GridGenerator::subdivided_hyper_rectangle (Triangulation &, const std::vector&, const Point&, - const Point&, bool); - - template void - GridGenerator::subdivided_hyper_rectangle - (Triangulation &, - const std::vector >&, const Point&, - const Point&, bool); + bool); #if deal_II_dimension > 1 - template void - GridGenerator::enclosed_hyper_cube ( - Triangulation&, double, double, double, bool); - - template void - GridGenerator::hyper_ball ( - Triangulation&, - const Point&, double); - - template void - GridGenerator::cylinder ( - Triangulation&, double, double); - - template void - GridGenerator::truncated_cone ( - Triangulation&, double, double, double); - - template void - GridGenerator::hyper_L ( - Triangulation&, double, double); - - template void - GridGenerator::hyper_cube_slit ( - Triangulation&, double, double, bool); - - template void - GridGenerator::hyper_shell ( - Triangulation&, - const Point&, double, double, unsigned int, bool); - - - template void - GridGenerator::cylinder_shell ( - Triangulation&, - double, double, double, unsigned int, unsigned int); - - template void - GridGenerator::half_hyper_ball ( - Triangulation&, const Point&, double); - - template void - GridGenerator::half_hyper_shell ( - Triangulation&, - const Point&, double, double, unsigned int); - - - template void - GridGenerator::hyper_cube_with_cylindrical_hole ( - Triangulation &, - const double, const double, const double, const unsigned int, bool); - template void GridGenerator:: laplace_transformation (Triangulation &, @@ -102,7 +49,6 @@ for (deal_II_dimension : DIMENSIONS) #endif #if deal_II_dimension != 3 - template void GridGenerator::hyper_cube ( Triangulation &, const double, const double); -- 2.39.5