]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add tooltips
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Sun, 20 Jun 2010 17:12:12 +0000 (17:12 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Sun, 20 Jun 2010 17:12:12 +0000 (17:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@21232 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/tutorial/make_toc.pl
deal.II/doc/doxygen/tutorial/toc.html.in
deal.II/examples/step-1/doc/tooltip [new file with mode: 0644]
deal.II/examples/step-12/doc/tooltip [new file with mode: 0644]
deal.II/examples/step-2/doc/tooltip [new file with mode: 0644]
deal.II/examples/step-3/doc/tooltip [new file with mode: 0644]
deal.II/examples/step-39/doc/tooltip [new file with mode: 0644]
deal.II/examples/step-4/doc/tooltip [new file with mode: 0644]
deal.II/examples/step-5/doc/tooltip [new file with mode: 0644]
deal.II/examples/step-6/doc/tooltip [new file with mode: 0644]

index 299da29717fcb09c817cfd1d7f72923e5d0bddfb..8a8a68381a31f2ab5ff17c693a91a06b91e39bb6 100644 (file)
@@ -4,14 +4,34 @@
 
 $/ = undef;
 
+# Read source for web page
 open TOC, "<toc.html.in";
 $toc = <TOC>;
 close TOC;
 
+# Read generated map file
 open MAP, "<steps.cmapx";
 $map = <MAP>;
 close MAP;
 
+# Insert contents of map file for @@MAP@@
 $toc =~ s/\@\@MAP\@\@/$map/;
 
+# Find tooltip files
+$list = `ls ../../../examples/step-*/doc/tooltip`;
+@list = split "\n", $list;
+
+foreach (@list)
+{
+    # Only the first line of the tooltip file is used
+    open TF, "<$_";
+    $tooltip = <TF>;
+    close TF;
+    chop $tooltip;
+    
+    m/step-(\d+)/;
+    $n = $1;
+    $toc =~ s/\@step$n\@/$tooltip/;
+}
+
 print $toc;
index f9f9a651a8174ce1f1ee682b0ae16c05574854db..ed8327161a85354e43cb745ebdf04de2c2af1287 100644 (file)
@@ -152,8 +152,7 @@ the <a href="../../doxygen/deal.II/group__geodynamics.html">geodynamics
 
   <tr valign="top">
       <td><a href="../../doxygen/deal.II/step_12.html">Step-12</a></td>
-      <td> General framework for
-      discontinuous Galerkin methods. Use of Timer class.
+      <td> Discontinuous Galerkin methods for linear advection problems.
       </td></tr>
 
   <tr valign="top">
diff --git a/deal.II/examples/step-1/doc/tooltip b/deal.II/examples/step-1/doc/tooltip
new file mode 100644 (file)
index 0000000..e95a3ac
--- /dev/null
@@ -0,0 +1 @@
+Create a grid. Refine it. Write it to a file
diff --git a/deal.II/examples/step-12/doc/tooltip b/deal.II/examples/step-12/doc/tooltip
new file mode 100644 (file)
index 0000000..273cc08
--- /dev/null
@@ -0,0 +1 @@
+Discontinuous Galerkin for linear advection.
diff --git a/deal.II/examples/step-2/doc/tooltip b/deal.II/examples/step-2/doc/tooltip
new file mode 100644 (file)
index 0000000..0a64bd8
--- /dev/null
@@ -0,0 +1 @@
+Assign degrees of freedom to a grid.
diff --git a/deal.II/examples/step-3/doc/tooltip b/deal.II/examples/step-3/doc/tooltip
new file mode 100644 (file)
index 0000000..608c905
--- /dev/null
@@ -0,0 +1 @@
+Solve Poisson's equation
diff --git a/deal.II/examples/step-39/doc/tooltip b/deal.II/examples/step-39/doc/tooltip
new file mode 100644 (file)
index 0000000..3287d43
--- /dev/null
@@ -0,0 +1 @@
+Interior Penalty for Laplacian. Adaptive refinement. Multigrid.
diff --git a/deal.II/examples/step-4/doc/tooltip b/deal.II/examples/step-4/doc/tooltip
new file mode 100644 (file)
index 0000000..1f94394
--- /dev/null
@@ -0,0 +1 @@
+Dimension independent programming. Boundary conditions.
diff --git a/deal.II/examples/step-5/doc/tooltip b/deal.II/examples/step-5/doc/tooltip
new file mode 100644 (file)
index 0000000..4f09ebd
--- /dev/null
@@ -0,0 +1 @@
+Reading a grid from disk. Computations on successively refined grids.
diff --git a/deal.II/examples/step-6/doc/tooltip b/deal.II/examples/step-6/doc/tooltip
new file mode 100644 (file)
index 0000000..00262bf
--- /dev/null
@@ -0,0 +1 @@
+Adaptive local refinement. Higher order elements.
\ No newline at end of file

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.