From: wolf Date: Thu, 7 Jul 2005 14:41:02 +0000 (+0000) Subject: New test. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66073be6892b0c487c58846bf529c2db82041363;p=dealii-svn.git New test. git-svn-id: https://svn.dealii.org/trunk@11093 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/Makefile b/tests/bits/Makefile index 889aba595a..a258b02eca 100644 --- a/tests/bits/Makefile +++ b/tests/bits/Makefile @@ -21,7 +21,7 @@ default: run-tests ############################################################ -tests_x = geometry_info_1 \ +tests_x = geometry_info_* \ grid_generator_?? \ grid_in_* \ point_inside_? \ diff --git a/tests/bits/geometry_info_2.cc b/tests/bits/geometry_info_2.cc new file mode 100644 index 0000000000..e00737ff25 --- /dev/null +++ b/tests/bits/geometry_info_2.cc @@ -0,0 +1,54 @@ +//---------------------------- geometry_info_2.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2003, 2004, 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. +// +//---------------------------- geometry_info_2.cc --------------------------- + + +// output most all static members of GeometryInfo + +#include "../tests.h" +#include +#include + +#include +#include + +template +void test () +{ + deallog << GeometryInfo::children_per_cell << std::endl; + deallog << GeometryInfo::faces_per_cell << std::endl; + deallog << GeometryInfo::subfaces_per_face << std::endl; + deallog << GeometryInfo::vertices_per_cell << std::endl; + + deallog << GeometryInfo::vertices_per_face << std::endl; + deallog << GeometryInfo::lines_per_face << std::endl; + deallog << GeometryInfo::quads_per_face << std::endl; + + deallog << GeometryInfo::lines_per_cell << std::endl; + deallog << GeometryInfo::quads_per_cell << std::endl; + deallog << GeometryInfo::hexes_per_cell << std::endl; +} + + +int main () +{ + std::ofstream logfile("geometry_info_2.output"); + deallog.attach(logfile); + deallog.depth_console(0); + deallog.threshold_double(1.e-10); + + test<1> (); + test<2> (); + test<3> (); + + return 0; +}