From 6d2d572eac2f9c3340be5ddf80fc9c97b750c7cc Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 14 Mar 2005 22:50:32 +0000 Subject: [PATCH] GridGenerator checked all grids in 2D, including color git-svn-id: https://svn.dealii.org/trunk@10136 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/Makefile | 10 +- tests/bits/grid_generator_01.cc | 163 +++ .../bits/grid_generator_01.output | 949 ++++++++++++++++++ .../lac/tridiagonal_matrix.output | 5 + 4 files changed, 1122 insertions(+), 5 deletions(-) create mode 100644 tests/bits/grid_generator_01.cc create mode 100644 tests/results/i686-pc-linux-gnu+gcc3.2/bits/grid_generator_01.output create mode 100644 tests/results/i686-pc-linux-gnu+gcc3.2/lac/tridiagonal_matrix.output diff --git a/tests/bits/Makefile b/tests/bits/Makefile index ba02314110..a83fc1d571 100644 --- a/tests/bits/Makefile +++ b/tests/bits/Makefile @@ -1,4 +1,3 @@ -# Generated automatically from Makefile.in by configure. ############################################################ # Makefile,v 1.15 2002/06/13 12:51:13 hartmann Exp # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors @@ -22,9 +21,9 @@ default: run-tests ############################################################ -tests_x = anna_? \ - gerold_1 \ - geometry_info_1 \ +tests_x = geometry_info_1 \ + grid_generator_?? \ + grid_in_* \ point_inside_? \ full_matrix_1 \ block_matrix_array_* \ @@ -34,6 +33,8 @@ tests_x = anna_? \ data_out_stack_0* \ dof_tools_[0-9]* \ fe_tools_[0-9]* \ + anna_? \ + gerold_1 \ roy_1 \ denis_1 \ unit_support_points \ @@ -61,7 +62,6 @@ tests_x = anna_? \ apply_boundary_values_* \ error_estimator_* \ cylinder_shell_* \ - grid_in_* \ compressed_sparsity_pattern_* \ point_difference_* \ umfpack_* \ diff --git a/tests/bits/grid_generator_01.cc b/tests/bits/grid_generator_01.cc new file mode 100644 index 0000000000..b7a812b6b5 --- /dev/null +++ b/tests/bits/grid_generator_01.cc @@ -0,0 +1,163 @@ +//--------------------------------------------------------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2005 by the deal.II authors +// +// This file is subject to QPL and may not be distributed +// without copyright and license information. Please refer +// to the file deal.II/doc/license.html for the text and +// further information on this license. +// +//--------------------------------------------------------------------------- + + +// Test the various functions in grid generator. + +#include +#include +#include +#include +#include + +#include +#include + + +template +void test(std::ostream& out) +{ + Point p1; + p1[0] = 2.; + if (dim>1) p1[1] = -1.; + if (dim>2) p1[2] = 0.; + Point p2; + p2[0] = 3.; + if (dim>1) p2[1] = 2.; + if (dim>2) p2[2] = 4.; + Point p3; + p3[0] = 2.; + if (dim>1) p3[1] = 1.; + if (dim>2) p3[2] = 4.; + + GridOut go; + GridOutFlags::XFig xfig_flags; + xfig_flags.level_color = false; + xfig_flags.fill_style = 25; + + go.set_flags(xfig_flags); + + GridOut::OutputFormat format = (dim==2) ? GridOut::xfig : GridOut::dx; + + if (true) + { + deallog << "hyper_cube" << std::endl; + Triangulation tr; + GridGenerator::hyper_cube(tr, 3., 7.); + go.write(tr, out, format); + } + if (true) + { + deallog << "subdivided_hyper_cube" << std::endl; + Triangulation tr; + GridGenerator::subdivided_hyper_cube(tr, 3, 1., 7.); + go.write(tr, out, format); + } + if (true) + { + deallog << "hyper_rectangle" << std::endl; + Triangulation tr; + GridGenerator::hyper_rectangle(tr, p1, p2, true); + go.write(tr, out, format); + } + if (true) + { + deallog << "subdivided_hyper_rectangle" << std::endl; + Triangulation tr; + std::vector sub(dim); + sub[0] = 2; + if (dim>1) sub[1] = 3; + if (dim>2) sub[2] = 4; + GridGenerator::subdivided_hyper_rectangle(tr, sub, p1, p2, true); + go.write(tr, out, format); + } + if (dim == 2) + { + deallog << "parallelogram" << std::endl; + Triangulation tr; + Tensor corners; + corners[0] = p1; + if (dim>1) corners[1] = p2; + if (dim>2) corners[2] = p3; + GridGenerator::parallelogram(tr, corners, true); + go.write(tr, out, format); + } + if (dim>1) + { + deallog << "enclosed_hyper_cube" << std::endl; + Triangulation tr; + GridGenerator::enclosed_hyper_cube(tr, 3., 7., 1., true); + go.write(tr, out, format); + } + if (true) + { + deallog << "hyper_ball" << std::endl; + Triangulation tr; + GridGenerator::hyper_ball(tr, p1, 3.); + go.write(tr, out, format); + } + if (true) + { + deallog << "cylinder" << std::endl; + Triangulation tr; + GridGenerator::cylinder(tr, 1., 3.); + go.write(tr, out, format); + } + if (true) + { + deallog << "hyper_L" << std::endl; + Triangulation tr; + GridGenerator::hyper_L(tr, -1., 1.); + go.write(tr, out, format); + } + if (true) + { + deallog << "hyper_cube_slit" << std::endl; + Triangulation tr; + GridGenerator::hyper_cube_slit(tr, -2., 2., true); + go.write(tr, out, format); + } + if (true) + { + deallog << "hyper_shell" << std::endl; + Triangulation tr; + GridGenerator::hyper_shell(tr, p1, 4., 6.); + go.write(tr, out, format); + } + if (true) + { + deallog << "half_hyper_ball" << std::endl; + Triangulation tr; + GridGenerator::half_hyper_ball(tr, p1, 3.); + go.write(tr, out, format); + } + if (true) + { + deallog << "half_hyper_shell" << std::endl; + Triangulation tr; + GridGenerator::half_hyper_shell(tr, p1, 4., 6.); + go.write(tr, out, format); + } +} + + +int main() +{ + std::ofstream logfile("grid_generator_01.output"); + deallog.attach(logfile); + deallog.depth_console(0); + + deallog.push("2d-GridTest"); + test<2>(logfile); + deallog.pop(); +} diff --git a/tests/results/i686-pc-linux-gnu+gcc3.2/bits/grid_generator_01.output b/tests/results/i686-pc-linux-gnu+gcc3.2/bits/grid_generator_01.output new file mode 100644 index 0000000000..75c862f5c7 --- /dev/null +++ b/tests/results/i686-pc-linux-gnu+gcc3.2/bits/grid_generator_01.output @@ -0,0 +1,949 @@ + +DEAL:2d-GridTest::hyper_cube +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3600 3600 + 8400 3600 + 8400 8400 + 3600 8400 + 3600 3600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 3600 + 8400 3600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 8400 3600 + 8400 8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 8400 + 8400 8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 3600 + 3600 8400 +DEAL:2d-GridTest::subdivided_hyper_cube +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 1200 1200 + 3600 1200 + 3600 3600 + 1200 3600 + 1200 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1200 1200 + 3600 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1200 1200 + 1200 3600 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3600 1200 + 6000 1200 + 6000 3600 + 3600 3600 + 3600 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 1200 + 6000 1200 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 6000 1200 + 8400 1200 + 8400 3600 + 6000 3600 + 6000 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 6000 1200 + 8400 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 8400 1200 + 8400 3600 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 1200 3600 + 3600 3600 + 3600 6000 + 1200 6000 + 1200 3600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1200 3600 + 1200 6000 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3600 3600 + 6000 3600 + 6000 6000 + 3600 6000 + 3600 3600 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 6000 3600 + 8400 3600 + 8400 6000 + 6000 6000 + 6000 3600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 8400 3600 + 8400 6000 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 1200 6000 + 3600 6000 + 3600 8400 + 1200 8400 + 1200 6000 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1200 8400 + 3600 8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1200 6000 + 1200 8400 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3600 6000 + 6000 6000 + 6000 8400 + 3600 8400 + 3600 6000 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 8400 + 6000 8400 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 6000 6000 + 8400 6000 + 8400 8400 + 6000 8400 + 6000 6000 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 8400 6000 + 8400 8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 6000 8400 + 8400 8400 +DEAL:2d-GridTest::hyper_rectangle +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 -1200 + 3600 -1200 + 3600 2400 + 2400 2400 + 2400 -1200 +2 1 0 3 3 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -1200 + 3600 -1200 +2 1 0 3 2 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 -1200 + 3600 2400 +2 1 0 3 4 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 2400 + 3600 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -1200 + 2400 2400 +DEAL:2d-GridTest::subdivided_hyper_rectangle +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 -1200 + 3000 -1200 + 3000 0 + 2400 0 + 2400 -1200 +2 1 0 3 3 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -1200 + 3000 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -1200 + 2400 0 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3000 -1200 + 3600 -1200 + 3600 0 + 3000 0 + 3000 -1200 +2 1 0 3 3 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3000 -1200 + 3600 -1200 +2 1 0 3 2 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 -1200 + 3600 0 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 0 + 3000 0 + 3000 1200 + 2400 1200 + 2400 0 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 0 + 2400 1200 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3000 0 + 3600 0 + 3600 1200 + 3000 1200 + 3000 0 +2 1 0 3 2 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 0 + 3600 1200 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 1200 + 3000 1200 + 3000 2400 + 2400 2400 + 2400 1200 +2 1 0 3 4 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 2400 + 3000 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 1200 + 2400 2400 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3000 1200 + 3600 1200 + 3600 2400 + 3000 2400 + 3000 1200 +2 1 0 3 2 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 1200 + 3600 2400 +2 1 0 3 4 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3000 2400 + 3600 2400 +DEAL:2d-GridTest::parallelogram +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 0 0 + 2400 -1200 + 6000 1200 + 3600 2400 + 0 0 +2 1 0 3 3 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 0 + 2400 -1200 +2 1 0 3 2 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -1200 + 6000 1200 +2 1 0 3 4 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 2400 + 6000 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 0 + 3600 2400 +DEAL:2d-GridTest::enclosed_hyper_cube +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 6 900 0 25 0.0 0 0 -1 0 0 5 + 2400 2400 + 3600 2400 + 3600 3600 + 2400 3600 + 2400 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 2400 + 3600 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 2400 + 2400 3600 +2 3 0 1 0 5 900 0 25 0.0 0 0 -1 0 0 5 + 3600 2400 + 8400 2400 + 8400 3600 + 3600 3600 + 3600 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 2400 + 8400 2400 +2 3 0 1 0 7 900 0 25 0.0 0 0 -1 0 0 5 + 8400 2400 + 9600 2400 + 9600 3600 + 8400 3600 + 8400 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 8400 2400 + 9600 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9600 2400 + 9600 3600 +2 3 0 1 0 2 900 0 25 0.0 0 0 -1 0 0 5 + 2400 3600 + 3600 3600 + 3600 8400 + 2400 8400 + 2400 3600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 3600 + 2400 8400 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 3600 3600 + 8400 3600 + 8400 8400 + 3600 8400 + 3600 3600 +2 3 0 1 0 3 900 0 25 0.0 0 0 -1 0 0 5 + 8400 3600 + 9600 3600 + 9600 8400 + 8400 8400 + 8400 3600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9600 3600 + 9600 8400 +2 3 0 1 0 10 900 0 25 0.0 0 0 -1 0 0 5 + 2400 8400 + 3600 8400 + 3600 9600 + 2400 9600 + 2400 8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 9600 + 3600 9600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 8400 + 2400 9600 +2 3 0 1 0 9 900 0 25 0.0 0 0 -1 0 0 5 + 3600 8400 + 8400 8400 + 8400 9600 + 3600 9600 + 3600 8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 9600 + 8400 9600 +2 3 0 1 0 11 900 0 25 0.0 0 0 -1 0 0 5 + 8400 8400 + 9600 8400 + 9600 9600 + 8400 9600 + 8400 8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9600 8400 + 9600 9600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 8400 9600 + 9600 9600 +DEAL:2d-GridTest::hyper_ball +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -145 -3745 + 4945 -3745 + 3454 -2254 + 1345 -2254 + -145 -3745 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -145 -3745 + 4945 -3745 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -145 -3745 + 1345 -2254 + 1345 -145 + -145 1345 + -145 -3745 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -145 -3745 + -145 1345 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 1345 -2254 + 3454 -2254 + 3454 -145 + 1345 -145 + 1345 -2254 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 4945 -3745 + 4945 1345 + 3454 -145 + 3454 -2254 + 4945 -3745 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 4945 -3745 + 4945 1345 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -145 1345 + 1345 -145 + 3454 -145 + 4945 1345 + -145 1345 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -145 1345 + 4945 1345 +DEAL:2d-GridTest::cylinder +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -3600 -1200 + 3600 -1200 + 3600 1200 + -3600 1200 + -3600 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -3600 -1200 + 3600 -1200 +2 1 0 3 3 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 3600 -1200 + 3600 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -3600 1200 + 3600 1200 +2 1 0 3 2 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -3600 -1200 + -3600 1200 +DEAL:2d-GridTest::hyper_L +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -1200 -1200 + 0 -1200 + 0 0 + -1200 0 + -1200 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -1200 -1200 + 0 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -1200 -1200 + -1200 0 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 0 -1200 + 1200 -1200 + 1200 0 + 0 0 + 0 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 -1200 + 1200 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 1200 -1200 + 1200 0 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 0 + 1200 0 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -1200 0 + 0 0 + 0 1200 + -1200 1200 + -1200 0 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 0 + 0 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -1200 1200 + 0 1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -1200 0 + -1200 1200 +DEAL:2d-GridTest::hyper_cube_slit +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -2400 -2400 + 0 -2400 + 0 0 + -2400 0 + -2400 -2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2400 -2400 + 0 -2400 +2 1 0 3 2 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 -2400 + 0 0 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2400 -2400 + -2400 0 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 0 -2400 + 2400 -2400 + 2400 0 + 0 0 + 0 -2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 -2400 + 2400 -2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -2400 + 2400 0 +2 1 0 3 3 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 -2400 + 0 0 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -2400 0 + 0 0 + 0 2400 + -2400 2400 + -2400 0 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2400 2400 + 0 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2400 0 + -2400 2400 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 0 0 + 2400 0 + 2400 2400 + 0 2400 + 0 0 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 0 + 2400 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 0 2400 + 2400 2400 +DEAL:2d-GridTest::hyper_shell +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 9600 -1200 + 9051 1555 + 6834 636 + 7200 -1200 + 9600 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9600 -1200 + 9051 1555 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 7200 -1200 + 6834 636 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 9051 1555 + 7491 3891 + 5794 2194 + 6834 636 + 9051 1555 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9051 1555 + 7491 3891 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 6834 636 + 5794 2194 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 7491 3891 + 5155 5451 + 4236 3234 + 5794 2194 + 7491 3891 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 7491 3891 + 5155 5451 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5794 2194 + 4236 3234 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 5155 5451 + 2400 6000 + 2400 3600 + 4236 3234 + 5155 5451 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5155 5451 + 2400 6000 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 4236 3234 + 2400 3600 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 6000 + -355 5451 + 563 3234 + 2400 3600 + 2400 6000 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 6000 + -355 5451 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 3600 + 563 3234 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -355 5451 + -2691 3891 + -994 2194 + 563 3234 + -355 5451 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -355 5451 + -2691 3891 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 563 3234 + -994 2194 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -2691 3891 + -4251 1555 + -2034 636 + -994 2194 + -2691 3891 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2691 3891 + -4251 1555 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -994 2194 + -2034 636 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -4251 1555 + -4800 -1199 + -2400 -1199 + -2034 636 + -4251 1555 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -4251 1555 + -4800 -1199 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2034 636 + -2400 -1199 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -4800 -1199 + -4251 -3955 + -2034 -3036 + -2400 -1199 + -4800 -1199 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -4800 -1199 + -4251 -3955 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2400 -1199 + -2034 -3036 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -4251 -3955 + -2691 -6291 + -994 -4594 + -2034 -3036 + -4251 -3955 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -4251 -3955 + -2691 -6291 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2034 -3036 + -994 -4594 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -2691 -6291 + -355 -7851 + 563 -5634 + -994 -4594 + -2691 -6291 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -2691 -6291 + -355 -7851 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -994 -4594 + 563 -5634 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + -355 -7851 + 2399 -8400 + 2399 -6000 + 563 -5634 + -355 -7851 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + -355 -7851 + 2399 -8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 563 -5634 + 2399 -6000 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2399 -8400 + 5155 -7851 + 4236 -5634 + 2399 -6000 + 2399 -8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2399 -8400 + 5155 -7851 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2399 -6000 + 4236 -5634 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 5155 -7851 + 7491 -6291 + 5794 -4594 + 4236 -5634 + 5155 -7851 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5155 -7851 + 7491 -6291 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 4236 -5634 + 5794 -4594 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 7491 -6291 + 9051 -3955 + 6834 -3036 + 5794 -4594 + 7491 -6291 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 7491 -6291 + 9051 -3955 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5794 -4594 + 6834 -3036 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 9051 -3955 + 9600 -1200 + 7200 -1200 + 6834 -3036 + 9051 -3955 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9051 -3955 + 9600 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 6834 -3036 + 7200 -1200 +DEAL:2d-GridTest::half_hyper_ball +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 -4800 + 4945 -3745 + 3454 -2254 + 2400 -2254 + 2400 -4800 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -4800 + 4945 -3745 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -4800 + 2400 -2254 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 -2254 + 3454 -2254 + 3454 -145 + 2400 -145 + 2400 -2254 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -2254 + 2400 -145 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 4945 -3745 + 4945 1345 + 3454 -145 + 3454 -2254 + 4945 -3745 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 4945 -3745 + 4945 1345 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 2400 + 2400 -145 + 3454 -145 + 4945 1345 + 2400 2400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 2400 + 2400 -145 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 2400 + 4945 1345 +DEAL:2d-GridTest::half_hyper_shell +#FIG 3.2 +Landscape +Center +Inches +A4 +100.00 +Single +-3 +# generated by deal.II GridOut class +# reduce first number to scale up image +1200 2 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 2400 -8400 + 5155 -7851 + 4236 -5634 + 2400 -6000 + 2400 -8400 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -8400 + 5155 -7851 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -6000 + 4236 -5634 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 -8400 + 2400 -6000 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 5155 -7851 + 7491 -6291 + 5794 -4594 + 4236 -5634 + 5155 -7851 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5155 -7851 + 7491 -6291 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 4236 -5634 + 5794 -4594 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 7491 -6291 + 9051 -3955 + 6834 -3036 + 5794 -4594 + 7491 -6291 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 7491 -6291 + 9051 -3955 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5794 -4594 + 6834 -3036 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 9051 -3955 + 9600 -1200 + 7200 -1200 + 6834 -3036 + 9051 -3955 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9051 -3955 + 9600 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 6834 -3036 + 7200 -1200 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 9600 -1200 + 9051 1555 + 6834 636 + 7200 -1200 + 9600 -1200 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9600 -1200 + 9051 1555 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 7200 -1200 + 6834 636 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 9051 1555 + 7491 3891 + 5794 2194 + 6834 636 + 9051 1555 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 9051 1555 + 7491 3891 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 6834 636 + 5794 2194 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 7491 3891 + 5155 5451 + 4236 3234 + 5794 2194 + 7491 3891 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 7491 3891 + 5155 5451 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5794 2194 + 4236 3234 +2 3 0 1 0 1 900 0 25 0.0 0 0 -1 0 0 5 + 5155 5451 + 2400 6000 + 2400 3600 + 4236 3234 + 5155 5451 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 5155 5451 + 2400 6000 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 2400 6000 + 2400 3600 +2 1 0 3 1 -1 800 0 -1 0.0 0 0 -1 0 0 2 + 4236 3234 + 2400 3600 diff --git a/tests/results/i686-pc-linux-gnu+gcc3.2/lac/tridiagonal_matrix.output b/tests/results/i686-pc-linux-gnu+gcc3.2/lac/tridiagonal_matrix.output new file mode 100644 index 0000000000..deceb283db --- /dev/null +++ b/tests/results/i686-pc-linux-gnu+gcc3.2/lac/tridiagonal_matrix.output @@ -0,0 +1,5 @@ + +DEAL:: 9. 12. 13. 7. +DEAL:: 18. 24. 26. 14. +DEAL:: -1. 2. 3. 22. +DEAL:: -2. 4. 6. 44. -- 2.39.5