template <int dim>
void
subdivided_parallelepiped (Triangulation<dim> &tria,
- const unsigned int (n_subdivisions) [dim],
+#ifndef _MSC_VER
+ const unsigned int(&n_subdivisions)[dim],
+#else
+ const unsigned int *n_subdivisions,
+#endif
const Point<dim> (&corners) [dim],
const bool colorize = false);
const Point<dim> (&corners) [dim],
const bool colorize)
{
- // Equalise number of subdivisions in each dim-direction, heir
+ // Equalise number of subdivisions in each dim-direction, their
// validity will be checked later
- unsigned int (n_subdivisions_) [dim];
+ unsigned int n_subdivisions_ [dim];
for (unsigned int i=0; i<dim; ++i)
n_subdivisions_[i] = n_subdivisions;
template<int dim>
void
subdivided_parallelepiped (Triangulation<dim> &tria,
- const unsigned int ( n_subdivisions) [dim],
+#ifndef _MSC_VER
+ const unsigned int(&n_subdivisions)[dim],
+#else
+ const unsigned int *n_subdivisions,
+#endif
const Point<dim> (&corners) [dim],
const bool colorize)
{
// ---------------------------------------------------------------------
//
-// Copyright (C) 1999 - 2013 by the deal.II authors
+// Copyright (C) 1999 - 2014 by the deal.II authors
//
// This file is part of the deal.II library.
//
const Point<deal_II_dimension> (&) [deal_II_dimension],
const bool);
+ #ifndef _MSC_VER
template void
subdivided_parallelepiped<deal_II_dimension> (
Triangulation<deal_II_dimension>&,
- const unsigned int [deal_II_dimension],
+ const unsigned int (&) [deal_II_dimension],
const Point<deal_II_dimension> (&) [deal_II_dimension],
- const bool);
+ const bool);
+ #else
+ template void
+ subdivided_parallelepiped<deal_II_dimension> (
+ Triangulation<deal_II_dimension>&,
+ const unsigned int*,
+ const Point<deal_II_dimension> (&) [deal_II_dimension],
+ const bool);
+ #endif
#if deal_II_dimension > 1
template void