From 400e930c95dc56438e13d3bd560882ea3df55bb0 Mon Sep 17 00:00:00 2001 From: guido Date: Sat, 18 Dec 2004 15:51:58 +0000 Subject: [PATCH] testing for normal information git-svn-id: https://svn.dealii.org/trunk@9818 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/geometry_info_1.cc | 19 +- .../bits/geometry_info_1.output | 939 ++---------------- 2 files changed, 128 insertions(+), 830 deletions(-) diff --git a/tests/bits/geometry_info_1.cc b/tests/bits/geometry_info_1.cc index 4ea35be112..ff7df31a28 100644 --- a/tests/bits/geometry_info_1.cc +++ b/tests/bits/geometry_info_1.cc @@ -30,13 +30,30 @@ double rand_2 () template void test () { + // Output normal directions for each face + for (unsigned int f=0;f::faces_per_cell;++f) + { + deallog << "Face " << f << ": n = ( "; + for (unsigned int d=0;d::unit_normal_direction[f]) + deallog << GeometryInfo::unit_normal_orientation[f]; + else + deallog << '0'; + } + deallog << " )" << std::endl; + } + + Point p; // generate N random points in // [-2:2]^d, and transform them // back and forth between mother // and child cell - const unsigned int N = 50; + const unsigned int N = 7; for (unsigned int i=0; i