From: Wolfgang Bangerth Date: Thu, 25 Aug 2011 02:06:47 +0000 (+0000) Subject: Rename test. X-Git-Tag: v8.0.0~3576 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=410f5c9f5e80f4a0c7e7302b8ca466e4f32e7300;p=dealii.git Rename test. git-svn-id: https://svn.dealii.org/trunk@24192 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/normals_at_vertices.cc b/tests/deal.II/normals_at_vertices_01.cc similarity index 74% rename from tests/deal.II/normals_at_vertices.cc rename to tests/deal.II/normals_at_vertices_01.cc index 4152885d7d..2276c7488a 100644 --- a/tests/deal.II/normals_at_vertices.cc +++ b/tests/deal.II/normals_at_vertices_01.cc @@ -1,15 +1,15 @@ -//---------------------------- normals_at_vertices.cc --------------------------- +//---------------------------- normals_at_vertices_01.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2005, 2008 by the deal.II authors +// Copyright (C) 2005, 2008, 2011 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. // -//---------------------------- normals_at_vertices.cc --------------------------- +//---------------------------- normals_at_vertices_01.cc --------------------------- /* Author: Ralf Hartmann, 2005 */ @@ -56,9 +56,9 @@ void create_triangulation(const unsigned int case_no, int main () { - std::ofstream logfile ("normals_at_vertices/output"); + std::ofstream logfile ("normals_at_vertices_01/output"); deallog << std::setprecision (3); - deallog << std::fixed; + deallog << std::fixed; deallog.attach(logfile); deallog.depth_console (0); @@ -77,8 +77,16 @@ int main () face=cell->face(face_no); boundary.get_normals_at_vertices(face, normals); for (unsigned int v=0; v::vertices_per_face; ++v) - deallog << " vertex=" << face->vertex(v) - << ", normal=" << normals[v] << std::endl; + { + deallog << " vertex=" << face->vertex(v) + << ", normal=" << normals[v] << std::endl; + + // note that we can't check + // here that the normal vector + // is, in fact, normalized, + // since the function does not + // actually guarantee that + } } tria.clear(); } diff --git a/tests/deal.II/normals_at_vertices/cmp/generic b/tests/deal.II/normals_at_vertices_01/cmp/generic similarity index 100% rename from tests/deal.II/normals_at_vertices/cmp/generic rename to tests/deal.II/normals_at_vertices_01/cmp/generic