]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add 1D problem
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jul 2006 09:07:47 +0000 (09:07 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jul 2006 09:07:47 +0000 (09:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@13325 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-4/Makefile
deal.II/examples/step-4/step-4.cc

index 3a6a3a4af6e07ea869456639474573459bc0bc1e..366b8c588d31939549016ff5f6a9dcf19f7c97d9 100644 (file)
@@ -57,11 +57,13 @@ include $D/common/Make.global_options
 #
 # You may need to augment the lists of libraries when compiling your
 # program for other dimensions, or when using third party libraries
-libs.g   = $(lib-deal2-2d.g) \
+libs.g   = $(lib-deal2-1d.g) \
+          $(lib-deal2-2d.g) \
           $(lib-deal2-3d.g) \
           $(lib-lac.g)      \
            $(lib-base.g)
-libs.o   = $(lib-deal2-2d.o) \
+libs.o   = $(lib-deal2-1d.o) \
+          $(lib-deal2-2d.o) \
           $(lib-deal2-3d.o) \
           $(lib-lac.o)      \
            $(lib-base.o)
index d6ff4ec32a652a889f1aa36b8622249ef2de2974..ed4161fa22aee09a21f55f6fc63e8e34b5676ab1 100644 (file)
@@ -724,6 +724,11 @@ void LaplaceProblem<dim>::run ()
 int main () 
 {
   deallog.depth_console (0);
+  {
+    LaplaceProblem<1> laplace_problem_1d;
+    laplace_problem_1d.run ();
+  }
+  
   {
     LaplaceProblem<2> laplace_problem_2d;
     laplace_problem_2d.run ();

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.