From: bangerth Date: Wed, 3 Sep 2008 12:54:25 +0000 (+0000) Subject: Undo accidental last checkin. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa8c2a1b0d7ab16b2f1b3bc6bced83d65331a26;p=dealii-svn.git Undo accidental last checkin. git-svn-id: https://svn.dealii.org/trunk@16728 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-22/Makefile b/deal.II/examples/step-22/Makefile index dbee705c63..a4436031f6 100644 --- a/deal.II/examples/step-22/Makefile +++ b/deal.II/examples/step-22/Makefile @@ -14,7 +14,7 @@ target = $(basename $(shell echo step-*.cc)) # run-time checking of parameters and internal states is performed, so # you should set this value to `on' while you develop your program, # and to `off' when running production computations. -debug-mode = off +debug-mode = on # As third field, we need to give the path to the top-level deal.II diff --git a/deal.II/examples/step-22/step-22.cc b/deal.II/examples/step-22/step-22.cc index e65e55cfbb..d95e491974 100644 --- a/deal.II/examples/step-22/step-22.cc +++ b/deal.II/examples/step-22/step-22.cc @@ -221,10 +221,7 @@ BoundaryValues::value (const Point &p, ExcIndexRange (component, 0, this->n_components)); if (component == 0) - if (p[1] < 0) - return (p[0] < -0.5 ? -1 : (p[0] > -0.5 ? 1 : 0)); - else - return (p[0] < 0.5 ? -1 : (p[0] > 0.5 ? 1 : 0)); + return (p[0] < 0 ? -1 : (p[0] > 0 ? 1 : 0)); return 0; } @@ -1204,7 +1201,7 @@ StokesProblem::output_results (const unsigned int refinement_cycle) const << ".vtk"; std::ofstream output (filename.str().c_str()); - data_out.write_gmv (output); + data_out.write_vtk (output); } @@ -1275,14 +1272,13 @@ void StokesProblem::run () { std::vector subdivisions (dim, 1); subdivisions[0] = 4; - subdivisions[1] = 4; const Point bottom_left = (dim == 2 ? Point(-2,-1) : - Point(-2,-2,-1)); + Point(-2,0,-1)); const Point top_right = (dim == 2 ? Point(2,0) : - Point(2,2,0)); + Point(2,1,0)); GridGenerator::subdivided_hyper_rectangle (triangulation, subdivisions, diff --git a/deal.II/examples/step-4/Makefile b/deal.II/examples/step-4/Makefile index f315b1daa1..c277ba5a3a 100644 --- a/deal.II/examples/step-4/Makefile +++ b/deal.II/examples/step-4/Makefile @@ -14,7 +14,7 @@ target = $(basename $(shell echo step-*.cc)) # run-time checking of parameters and internal states is performed, so # you should set this value to `on' while you develop your program, # and to `off' when running production computations. -debug-mode = off +debug-mode = on # As third field, we need to give the path to the top-level deal.II