]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add one comment.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Feb 2013 04:00:16 +0000 (04:00 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Feb 2013 04:00:16 +0000 (04:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@28594 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-49/step-49.cc

index a79b4031e719badb9b2dc3f0f475b6bb055c80c0..26fb6103655317b6704c88f6ddb559189baa8cbb 100644 (file)
@@ -197,6 +197,21 @@ void grid_3 ()
   triangulation.set_boundary (1);
 }
 
+// There is one snag to doing things as shown above: If one moves the nodes on
+// the boundary as shown here, one often ends up with cells in the interior
+// that are badly distorted since the interior nodes were not moved around. This
+// is not that much of a problem in the current case since the mesh did not
+// contain any internal nodes when the nodes were moved -- it was the coarse
+// mesh and it so happened that all vertices are at the boundary. It's also
+// the case that the movement we had here was, compared to the average cell
+// size not overly dramatic. Nevertheless, sometimes one does want to move
+// vertices by a significant distance, and in that case one needs to move
+// internal nodes as well. One way to do that automatically is to call the
+// function GridGenerator::laplace_transformation that takes a set of
+// transformed nodes and moves all of the other nodes in such a way that the
+// resulting mesh has, in some sense, a small distortion.
+
+
 
 // @sect4{grid_4: Demonstrating extrude_triangulation}
 

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.