]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Added instantiation of TriaAccessor<3,3,3>::set_all_manifold_ids and fixed inheritanc...
authorheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Apr 2013 13:18:24 +0000 (13:18 +0000)
committerheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Apr 2013 13:18:24 +0000 (13:18 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_manifold_id@29374 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/tria_accessor.h
deal.II/source/grid/tria.cc

index d8bb9d2833a0e14e0bbab76caa23fa7c8430f9fe..a04630150779fe305589410ff831f9a65f1be168 100644 (file)
@@ -3246,6 +3246,8 @@ template <> bool CellAccessor<1,3>::point_inside (const Point<3> &) const;
 template <> bool CellAccessor<2,3>::point_inside (const Point<3> &) const;
 // -------------------------------------------------------------------
 
+template <> void TriaAccessor<3,3,3>::set_all_manifold_ids (const types::manifold_id) const;
+
 #endif // DOXYGEN
 
 DEAL_II_NAMESPACE_CLOSE
index 02d7e5d2bb54a969a1d8ed46a2498a8147ebd8db..99ff9be217cd3ad8391b628e0028880abd2e00e6 100644 (file)
@@ -6458,7 +6458,8 @@ namespace internal
                       new_lines[i]->clear_children();
                       // interior line
                       new_lines[i]->set_boundary_indicator(numbers::internal_face_boundary_id);
-                      new_lines[i]->set_manifold_id(numbers::flat_manifold_id);
+                      // they inherit geometry description of the hex they belong to
+                      new_lines[i]->set_manifold_id(hex->manifold_id());
                     }
 
                   // find some space for the newly to
@@ -6478,7 +6479,8 @@ namespace internal
                       new_quads[i]->clear_children();
                       // interior quad
                       new_quads[i]->set_boundary_indicator (numbers::internal_face_boundary_id);
-                     new_quads[i]->set_manifold_id (numbers::flat_manifold_id);
+                      // they inherit geometry description of the hex they belong to
+                     new_quads[i]->set_manifold_id (hex->manifold_id());
                       // set all line orientation
                       // flags to true by default,
                       // change this afterwards, if

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.