[cig-commits] commit 1934 by heister to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Wed Oct 2 18:17:55 PDT 2013


Revision 1934

remove periodicity for now to be able to compile with latest deal.II

U   trunk/aspect/source/geometry_model/box.cc


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=1934&peg=1934

Diff:
Modified: trunk/aspect/source/geometry_model/box.cc
===================================================================
--- trunk/aspect/source/geometry_model/box.cc	2013-10-02 17:19:33 UTC (rev 1933)
+++ trunk/aspect/source/geometry_model/box.cc	2013-10-03 01:17:20 UTC (rev 1934)
@@ -44,7 +44,8 @@
         coarse_grid.begin_active()->face(f)->set_boundary_indicator(f);
 
       //Tell p4est about the periodicity of the mesh.
-#if (DEAL_II_MAJOR*100 + DEAL_II_MINOR) >= 801
+				       //TODO: fix
+/*#if (DEAL_II_MAJOR*100 + DEAL_II_MINOR) >= 801
       std::vector<std_cxx1x::tuple< typename parallel::distributed::Triangulation<dim>::cell_iterator, unsigned int,
                                     typename parallel::distributed::Triangulation<dim>::cell_iterator, unsigned int> >
                                    periodicity_vector;
@@ -54,11 +55,11 @@
 
       if (periodicity_vector.size() > 0)
         coarse_grid.add_periodicity (periodicity_vector);
-#else
+	#else*/
       for( unsigned int i=0; i<dim; ++i)
         AssertThrow(!periodic[i],
                     ExcMessage("Please update deal.II to the latest version to get support for periodic domains."));
-#endif
+//#endif
     }
 
 


More information about the CIG-COMMITS mailing list