]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Final fixes.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Jul 1999 11:19:32 +0000 (11:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Jul 1999 11:19:32 +0000 (11:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@1537 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/grid/grid_test.cc
deal.II/deal.II/Attic/examples/poisson/Makefile
deal.II/deal.II/Attic/examples/poisson/equation.cc
deal.II/deal.II/Attic/examples/poisson/poisson.cc
tests/big-tests/grid/grid_test.cc
tests/big-tests/poisson/Makefile
tests/big-tests/poisson/equation.cc
tests/big-tests/poisson/poisson.cc

index 9056be748ce955a803bbcc11e647270dc0ae2124..5dbd31adfb5f88f9951569a175d0ce2ce5489610 100644 (file)
@@ -24,7 +24,6 @@
 
 
 
-
 template <int dim>
 class Ball :
   public StraightBoundary<dim> {
@@ -294,7 +293,12 @@ void test (const int test_case) {
   filename += ('0'+test_case);
   
   ofstream out(filename.c_str());
-  GridOut::write_gnuplot (tria, out);
+  GridOut grid_out;
+  GridOut::EpsFlags<3> eps_flags;
+  eps_flags.azimut_angle += 20;
+  eps_flags.turn_angle += 20;
+  grid_out.set_flags (eps_flags);
+  grid_out.write_eps (tria, out);
     
   cout << "     Total number of cells        = " << tria.n_cells() << endl
        << "     Total number of active cells = " << tria.n_active_cells() << endl;
index 5751836cc658de2ef35784943195bb7e27409023..48c180729235b6da59bbe73dedecf6f08ec57fb3 100644 (file)
@@ -51,8 +51,8 @@ h-files     = $(wildcard *.h)
 lib-h-files = $(wildcard ../../include/*/*.h)
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d   -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs     = ./Obj.a   -ldeal_II_3d   -llac -lbase
+libs.g   = ./Obj.g.a -ldeal_II_3d.g -llac.g -lbase.g
 
 
 # check whether we use debug mode or not
index 043f3da5dcfe46fe341b1a5744a40691b4d3a017..17dc3ead17ad1f47e2f6b2b771f1960d563b4759 100644 (file)
@@ -83,4 +83,4 @@ void PoissonEquation<dim>::assemble (Vector<double>      &,
 
 
 
-template class PoissonEquation<2>;
+template class PoissonEquation<3>;
index bbfa7841ea5a113a31b3de40091c3c2d13b16045..94411a0a334a08dda84c98fa7107567e3b765ca5 100644 (file)
@@ -18,7 +18,7 @@ int main (int argc, char **argv) {
                                   // no additional output to console
   deallog.depth_console (0);
 
-  PoissonProblem<2> poisson;
+  PoissonProblem<3> poisson;
   MultipleParameterLoop input_data;
 
   poisson.declare_parameters(input_data);
index 9056be748ce955a803bbcc11e647270dc0ae2124..5dbd31adfb5f88f9951569a175d0ce2ce5489610 100644 (file)
@@ -24,7 +24,6 @@
 
 
 
-
 template <int dim>
 class Ball :
   public StraightBoundary<dim> {
@@ -294,7 +293,12 @@ void test (const int test_case) {
   filename += ('0'+test_case);
   
   ofstream out(filename.c_str());
-  GridOut::write_gnuplot (tria, out);
+  GridOut grid_out;
+  GridOut::EpsFlags<3> eps_flags;
+  eps_flags.azimut_angle += 20;
+  eps_flags.turn_angle += 20;
+  grid_out.set_flags (eps_flags);
+  grid_out.write_eps (tria, out);
     
   cout << "     Total number of cells        = " << tria.n_cells() << endl
        << "     Total number of active cells = " << tria.n_active_cells() << endl;
index 5751836cc658de2ef35784943195bb7e27409023..48c180729235b6da59bbe73dedecf6f08ec57fb3 100644 (file)
@@ -51,8 +51,8 @@ h-files     = $(wildcard *.h)
 lib-h-files = $(wildcard ../../include/*/*.h)
 
 # list of libraries needed to link with
-libs     = ./Obj.a   -ldeal_II_2d   -llac -lbase
-libs.g   = ./Obj.g.a -ldeal_II_2d.g -llac.g -lbase.g
+libs     = ./Obj.a   -ldeal_II_3d   -llac -lbase
+libs.g   = ./Obj.g.a -ldeal_II_3d.g -llac.g -lbase.g
 
 
 # check whether we use debug mode or not
index 043f3da5dcfe46fe341b1a5744a40691b4d3a017..17dc3ead17ad1f47e2f6b2b771f1960d563b4759 100644 (file)
@@ -83,4 +83,4 @@ void PoissonEquation<dim>::assemble (Vector<double>      &,
 
 
 
-template class PoissonEquation<2>;
+template class PoissonEquation<3>;
index bbfa7841ea5a113a31b3de40091c3c2d13b16045..94411a0a334a08dda84c98fa7107567e3b765ca5 100644 (file)
@@ -18,7 +18,7 @@ int main (int argc, char **argv) {
                                   // no additional output to console
   deallog.depth_console (0);
 
-  PoissonProblem<2> poisson;
+  PoissonProblem<3> poisson;
   MultipleParameterLoop input_data;
 
   poisson.declare_parameters(input_data);

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.