return ccoord;
}
-
- template Point<2> from_spherical<2>(const std::array<double,2> &);
- template Point<3> from_spherical<3>(const std::array<double,3> &);
- template std::array<double,2> to_spherical<2>(const Point<2> &);
- template std::array<double,3> to_spherical<3>(const Point<3> &);
+ // explicit instantiations
+#include "geometric_utilities.inst"
}
}
--- /dev/null
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2015 - 2017 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE at
+// the top level of the deal.II distribution.
+//
+// ---------------------------------------------------------------------
+
+
+for (dim : SPACE_DIMENSIONS)
+{
+ template Point<dim> from_spherical<dim>(const std::array<double,dim> &);
+ template std::array<double,dim> to_spherical<dim>(const Point<dim> &);
+}