]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Update for newer deal.II version, class GridGenerator,FEQ1
authorschrage <schrage@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jun 1999 14:15:12 +0000 (14:15 +0000)
committerschrage <schrage@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jun 1999 14:15:12 +0000 (14:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@1377 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/tutorial/chapter-1.elements/dofs.html

index f11c483f50884d754b072a438a35b7faf6e05a5c..40c5393954cf3cc0db1198900450cf5fdd8a569b 100644 (file)
@@ -70,13 +70,14 @@ The finite elements used are bilinear.
 <code>
 #include &lt;grid/tria.h&gt;
 #include &lt;grid/dof.h&gt;
+#include &lt;grid/grid_generator.h&gt;
 #include &lt;fe/fe_lib.lagrange.h&gt;
 
 Triangulation&lt;dim&gt; tr;
 DoFHandler&lt;dim&gt; dof;
-FELinear&lt;dim&gt; fe;
+FEQ1&lt;dim&gt; fe;
 
-tr.create_hypercube(-1,1);
+GridGenerator&lt;dim&gt;::hyper_cube(tr,-1,1);
 dof.distribute_dofs(fe);
 </code>
 </pre>

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.