]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add another note.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 18 Nov 2010 15:54:19 +0000 (15:54 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 18 Nov 2010 15:54:19 +0000 (15:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@22803 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/grid_tools.h

index 459d10f5cf25e30329fd2f87e4f37e78a1800351..77d682ded0faf8cec6f6f59211852c6e9aca6e03 100644 (file)
@@ -857,14 +857,33 @@ class GridTools
                                      * distribute degrees of freedom
                                      * on this newly created surface
                                      * mesh.
+                                     *
+                                     * @note The algorithm outlined
+                                     * above assumes that all faces
+                                     * on higher refinement levels
+                                     * always have exactly the same
+                                     * boundary indicator as their
+                                     * parent face. Consequently, we
+                                     * can start with coarse level
+                                     * faces and build the surface
+                                     * mesh based on that. It would
+                                     * not be very difficult to
+                                     * extend the function to also
+                                     * copy boundary indicators from
+                                     * finer level faces to their
+                                     * corresponding surface mesh
+                                     * cells, for example to
+                                     * accomodate different geometry
+                                     * descriptions in the case of
+                                     * curved boundaries.
                                      */
     template <template <int,int> class Container, int dim, int spacedim>
     static void
     extract_boundary_mesh (const Container<dim,spacedim> &volume_mesh,
                           Container<dim-1,spacedim>     &surface_mesh,
                           std::map<typename Container<dim-1,spacedim>::cell_iterator,
-                          typename Container<dim,spacedim>::face_iterator>
-    &surface_to_volume_mapping,
+                                   typename Container<dim,spacedim>::face_iterator>
+                          &surface_to_volume_mapping,
                           const std::set<unsigned char> &boundary_ids
                           = std::set<unsigned char>());
 

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.