//---------------------------- cylindrical_manifold_01.cc ---------------------------
-// Copyright (C) 2011, 2013 by the mathLab team.
+// Copyright (C) 2011, 2013, 2014 by the mathLab team.
//
// This file is subject to LGPL and may not be distributed
// without copyright and license information. Please refer
Triangulation<dim,spacedim> tria;
GridGenerator::cylinder_shell (tria, .5, .1, .25);
- for(auto cell = tria.begin_active(); cell != tria.end(); ++cell) {
+ for(typename Triangulation<dim,spacedim>::active_cell_iterator cell = tria.begin_active(); cell != tria.end(); ++cell) {
cell->set_all_manifold_ids(1);
}
//---------------------------- function_manifold_chart ---------------------------
-// Copyright (C) 2011, 2013 by the mathLab team.
+// Copyright (C) 2011, 2013, 2014 by the mathLab team.
//
// This file is subject to LGPL and may not be distributed
// without copyright and license information. Please refer
Triangulation<dim,spacedim> tria;
GridGenerator::hyper_cube (tria, 0, 1);
- for(auto cell = tria.begin_active(); cell != tria.end(); ++cell) {
+ for(typename Triangulation<dim,spacedim>::active_cell_iterator cell = tria.begin_active(); cell != tria.end(); ++cell) {
cell->set_all_manifold_ids(1);
}