]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Trivial modification in get_boundary_indicators for 1d grids
authorpauletti <pauletti@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Aug 2011 14:32:07 +0000 (14:32 +0000)
committerpauletti <pauletti@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Aug 2011 14:32:07 +0000 (14:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@24108 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/tria.cc

index 2ad8aa8c39806904841b835e16cd97dc84c84bbd..8306b42c4d42192eba59e4c283d25fc958148004 100644 (file)
@@ -9472,9 +9472,6 @@ template <int dim, int spacedim>
 std::vector<unsigned char>
 Triangulation<dim, spacedim>::get_boundary_indicators () const
 {
-                                  // in 1d, the situation is simpler:
-  if (dim == 1)
-    return std::vector<unsigned char> (0);;
 
   std::vector<bool> bi_exists(255, false);
   active_cell_iterator cell=begin_active();

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


Typeset in Trocchi and Trocchi Bold Sans Serif.