]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove assert in distributed Tria for dim==1 3050/head
authorDenis Davydov <davydden@gmail.com>
Thu, 1 Sep 2016 15:47:13 +0000 (17:47 +0200)
committerDenis Davydov <davydden@gmail.com>
Thu, 1 Sep 2016 15:47:13 +0000 (17:47 +0200)
the assert was copy-pasted from p::d::Tria::locally_owned_subdomain()
to the based class p::Tria. Not sure why it was there for distributed
case, but for shared tria + metis, everything should work ok.

source/distributed/tria_base.cc

index e898831469dc057985aa8a95bb45ac4b3b97c3e6..4c3ec5bd1666224d9159b26ebd327036941a0ce0 100644 (file)
@@ -217,7 +217,6 @@ namespace parallel
   types::subdomain_id
   Triangulation<dim,spacedim>::locally_owned_subdomain () const
   {
-    Assert (dim > 1, ExcNotImplemented());
     return my_subdomain;
   }
 

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.