From ded2b06217a297734afdb872aeecf35aca048c54 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 25 Aug 2011 02:06:47 +0000 Subject: [PATCH] Rename test. git-svn-id: https://svn.dealii.org/trunk@24192 0785d39b-7218-0410-832d-ea1e28bc413d --- ..._vertices.cc => normals_at_vertices_01.cc} | 24 ++++++++++++------- .../cmp/generic | 0 2 files changed, 16 insertions(+), 8 deletions(-) rename tests/deal.II/{normals_at_vertices.cc => normals_at_vertices_01.cc} (74%) rename tests/deal.II/{normals_at_vertices => normals_at_vertices_01}/cmp/generic (100%) 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 -- 2.39.5