]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add something to the documentation.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Jun 2014 05:20:11 +0000 (05:20 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Jun 2014 05:20:11 +0000 (05:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@33037 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/grid_generator.h

index efdd65a8ae0f30dca5916286948c7724b3366659..27b5dfee0bc8267f4fd0617be17b54a9b6afc6a7 100644 (file)
@@ -335,7 +335,7 @@ namespace GridGenerator
                         const double        radius = 1.);
 
   /**
-   * Create a cylinder around the x-axis.  The cylinder extends from
+   * Create a cylinder around the $x$-axis.  The cylinder extends from
    * <tt>x=-half_length</tt> to <tt>x=+half_length</tt> and its projection
    * into the @p yz-plane is a circle of radius @p radius.
    *
@@ -347,6 +347,11 @@ namespace GridGenerator
    * hull of the cylinder, 1 for the left hand face and 2 for the right hand
    * face.
    *
+   * If you want the cylinder to revolve around a different axis than the
+   * $x$-axis, then simply rotate the mesh generated by this function using
+   * the GridTools::transform() function using a rotation operator as
+   * argument.
+   *
    * @note The triangulation needs to be void upon calling this function.
    */
   template <int dim>

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.