*/
template <int dim>
static
- void partition_triangulation (Triangulation<dim> &triangulation,
- const unsigned int n_partitions);
+ void partition_triangulation (const unsigned int n_partitions,
+ Triangulation<dim> &triangulation);
+
/**
* Exception
*/
template <int dim>
void
GridTools::
-partition_triangulation (Triangulation<dim> &triangulation,
- const unsigned int n_partitions)
+partition_triangulation (const unsigned int n_partitions,
+ Triangulation<dim> &triangulation)
{
Assert (n_partitions > 0, ExcInvalidNumberOfPartitions(n_partitions));
template
void
-GridTools::partition_triangulation (Triangulation<deal_II_dimension> &,
- const unsigned int);
+GridTools::partition_triangulation (const unsigned int,
+ Triangulation<deal_II_dimension> &);
// subdivide into 5 subdomains
deallog << "RECURSIVE" << std::endl;
- GridTools::partition_triangulation (triangulation, 5);
+ GridTools::partition_triangulation (5, triangulation);
for (typename Triangulation<dim>::active_cell_iterator
cell = triangulation.begin_active();
cell != triangulation.end(); ++cell)
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams