From b9498873a84575b782199bcae025e028fd0f48a6 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 1 Mar 2004 16:00:05 +0000 Subject: [PATCH] Remove an unused variable. git-svn-id: https://svn.dealii.org/trunk@8625 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_reordering.cc | 17 +---------------- deal.II/lac/include/lac/eigen.h | 4 +--- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/deal.II/deal.II/source/grid/grid_reordering.cc b/deal.II/deal.II/source/grid/grid_reordering.cc index 7d57f5d415..0f4fc21dcc 100644 --- a/deal.II/deal.II/source/grid/grid_reordering.cc +++ b/deal.II/deal.II/source/grid/grid_reordering.cc @@ -2,7 +2,7 @@ // grid_reordering.cc,v 1.27 2002/05/28 07:43:22 wolf Exp // Version: // -// Copyright (C) 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -652,21 +652,6 @@ namespace internal {2,6}, {3,7} }; - - - // Starting at emination node - // (for edges) and chosing - // clockwise order -// TODO: HERE - static const unsigned int nodes_on_face[6][4] = - { - {0,1,2,3}, - {0,4,5,1}, - {1,5,6,2}, - {3,2,6,7}, - {0,3,7,4}, - {4,7,6,5} - }; } diff --git a/deal.II/lac/include/lac/eigen.h b/deal.II/lac/include/lac/eigen.h index a8e9c75b58..692aaca05b 100644 --- a/deal.II/lac/include/lac/eigen.h +++ b/deal.II/lac/include/lac/eigen.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -352,7 +352,6 @@ EigenInverse::solve (double &value, VECTOR* Vr = this->memory.alloc (); VECTOR& r = *Vr; r.reinit (x); double length = x.l2_norm (); - double old_length = 0.; double old_value = value; x.scale(1./length); @@ -363,7 +362,6 @@ EigenInverse::solve (double &value, solver.solve (A_s, y, x, prec); // Compute absolute value of eigenvalue - old_length = length; length = y.l2_norm (); // do a little trick to compute the sign -- 2.39.5