From: Wolfgang Bangerth Date: Mon, 14 Jul 2014 22:55:53 +0000 (+0000) Subject: Tests for the previous commit. X-Git-Tag: v8.2.0-rc1~297 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cddf8cd873874e95f3e595a5418d80b619a9593f;p=dealii.git Tests for the previous commit. git-svn-id: https://svn.dealii.org/trunk@33175 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/grid_out_07.cc b/tests/deal.II/grid_out_07.cc new file mode 100644 index 0000000000..4dbe77536f --- /dev/null +++ b/tests/deal.II/grid_out_07.cc @@ -0,0 +1,65 @@ +// --------------------------------------------------------------------- +// $Id$ +// +// Copyright (C) 2002 - 2014 by the deal.II authors +// +// This file is part of the deal.II library. +// +// The deal.II library is free software; you can use it, redistribute +// it, and/or modify it under the terms of the GNU Lesser General +// Public License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// The full text of the license can be found in the file LICENSE at +// the top level of the deal.II distribution. +// +// --------------------------------------------------------------------- + + +// test GridOut::write_vtu + +#include "../tests.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + + +std::ofstream logfile("output"); + + +template +void test () +{ + Triangulation tria; + GridGenerator::hyper_cube (tria); + tria.refine_global (1); + + GridOut grid_out; + grid_out.write_vtu (tria, logfile); +} + + +int main () +{ + deallog << std::setprecision (2); + logfile << std::setprecision (2); + deallog.attach(logfile); + deallog.depth_console(0); + deallog.threshold_double(1.e-10); + + test<1,1> (); + test<1,2> (); + test<2,2> (); + test<2,3> (); + test<3,3> (); +} + diff --git a/tests/deal.II/grid_out_07.output b/tests/deal.II/grid_out_07.output new file mode 100644 index 0000000000..75378b48ba --- /dev/null +++ b/tests/deal.II/grid_out_07.output @@ -0,0 +1,151 @@ + + + + + + + + +AQAAAGAAAABgAAAAEwAAAA==eNpjYMAHHtiTJv4BQxwAjgUDbg== + + + + + +AQAAABAAAAAQAAAAEwAAAA==eNpjYGBgYARiJiBmBmIAADgABw== + + +AQAAAAgAAAAIAAAADgAAAA==eNpjYmBgYAFiAAAoAAc= + + +AQAAAAIAAAACAAAACgAAAA==eNpjZgYAAAsABw== + + + + + + + + + + + + + + +AQAAAGAAAABgAAAAEwAAAA==eNpjYMAHHtiTJv4BQxwAjgUDbg== + + + + + +AQAAABAAAAAQAAAAEwAAAA==eNpjYGBgYARiJiBmBmIAADgABw== + + +AQAAAAgAAAAIAAAADgAAAA==eNpjYmBgYAFiAAAoAAc= + + +AQAAAAIAAAACAAAACgAAAA==eNpjZgYAAAsABw== + + + + + + + + + + + + + + +AQAAAIABAACAAQAAMwAAAA==eNpjYMAHHtgzkCQP4+MSRwcf7PGbi67vgz1+84h1Dy77Yeo+2FPmHlzmfMAQBwBtNxtp + + + + + +AQAAAEAAAABAAAAAKAAAAA==eNoNwwkSwBAQALB1VIvi/7+VzCQiIlnMVh9fm5/d6fB3edxeCvAAeQ== + + +AQAAABAAAAAQAAAAEwAAAA==eNpjYWBg4ABiHiAWAGIAAVAAKQ== + + +AQAAAAQAAAAEAAAADAAAAA==eNrj5OTkBAAAXgAl + + + + + + + + + + + + + + +AQAAAIABAACAAQAAMwAAAA==eNpjYMAHHtgzkCQP4+MSRwcf7PGbi67vgz1+84h1Dy77Yeo+2FPmHlzmfMAQBwBtNxtp + + + + + +AQAAAEAAAABAAAAAKAAAAA==eNoNwwkSwBAQALB1VIvi/7+VzCQiIlnMVh9fm5/d6fB3edxeCvAAeQ== + + +AQAAABAAAAAQAAAAEwAAAA==eNpjYWBg4ABiHiAWAGIAAVAAKQ== + + +AQAAAAQAAAAEAAAADAAAAA==eNrj5OTkBAAAXgAl + + + + + + + + + + + + + + +AQAAAAAGAAAABgAAeAAAAA==eNq1ksENwDAIA9PJ2H8LRvAIffXT9CBWRT4oAoR9sFb1MpaVf/6nfdRPdRnXK9bzFN58mbqEer91Kv757/yRLpcn8eh8uDwF9bsvjyflFbWuqfukvREv4tT5m7rPPNxTp5P2MX2fLk/yyX5m79PlSXV7vAFGfKSB + + + + + +AQAAAAABAAAAAQAAaQAAAA==eNoNwwVSAkAAAMADpaQ7pEGluyT//yt2ZzaEECJ+GPXTmAnjJk2Z9suMWfPmLFi0bMmKVevWbNj025ZtO/bs2nfgyKFjf/zz14lT585cuHTtyo1b9+48ePTsyYv/3rx69+HLp2+r3gfh + + +AQAAACAAAAAgAAAAHQAAAA==eNrjYGBgEABiCSBWAGINIDYAYgsgdgBiAA8gASE= + + +AQAAAAgAAAAIAAAACwAAAA==eNrj4YEAAAG4AGE= + + + + + + +