]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add comments to GridIn::read_ucd
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 7 Aug 2018 07:20:11 +0000 (09:20 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 7 Aug 2018 07:20:11 +0000 (09:20 +0200)
source/grid/grid_in.cc

index c6f3d5ecfa32efe06cda187444967439eb5ec350..fbc76f574526b3e2db5a90e4a7906db56d4ae139 100644 (file)
@@ -795,6 +795,10 @@ GridIn<dim, spacedim>::read_ucd(std::istream &in,
                                0,
                                numbers::internal_face_boundary_id));
 
+          // Make sure to set both manifold id and boundary id appropriately in
+          // both cases:
+          // numbers::internal_face_boundary_id and numbers::flat_manifold_id
+          // are ignored in Triangulation::create_triangulation.
           if (apply_all_indicators_to_manifolds)
             {
               subcelldata.boundary_lines.back().boundary_id =
@@ -851,6 +855,10 @@ GridIn<dim, spacedim>::read_ucd(std::istream &in,
                                0,
                                numbers::internal_face_boundary_id));
 
+          // Make sure to set both manifold id and boundary id appropriately in
+          // both cases:
+          // numbers::internal_face_boundary_id and numbers::flat_manifold_id
+          // are ignored in Triangulation::create_triangulation.
           if (apply_all_indicators_to_manifolds)
             {
               subcelldata.boundary_quads.back().boundary_id =

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.