]> https://gitweb.dealii.org/ - dealii.git/commitdiff
error in counting degree removed
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 19 Jan 2004 11:11:47 +0000 (11:11 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 19 Jan 2004 11:11:47 +0000 (11:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@8323 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/polynomials_bdm.cc

index 8c5639df815628b6f38f7d8756050b4de7553853..02862b749005f0e24d2679a6c795ba24e5623df4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    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
@@ -69,7 +69,7 @@ PolynomialsBDM<dim>::compute (const Point<dim>            &unit_point,
       for (unsigned int j=0;j<dim;++j)
        {
          values[i+j*n_sub][j] = p_values[i];
-         std::cerr << i+j*n_sub << ' ' << j << ' ' << p_values[i] << std::endl;
+//       std::cerr << i+j*n_sub << ' ' << j << ' ' << p_values[i] << std::endl;
        }
       
     }
@@ -147,7 +147,7 @@ PolynomialsBDM<dim>::compute_node_matrix (Table<2,double>& A) const
              p(1) = x;
              break;          
          }
-       std::cerr << p << std::endl;
+//     std::cerr << p << std::endl;
        
        compute (p, values, grads, grad_grads);
        for (unsigned int i=0;i<n();++i)
@@ -157,7 +157,9 @@ PolynomialsBDM<dim>::compute_node_matrix (Table<2,double>& A) const
          }
       }
                                   // Volume integrals are missing
-  Assert (polynomial_space.degree() < 2,
+                                  //
+                                  // This degree is one larger
+  Assert (polynomial_space.degree() <= 2,
          ExcNotImplemented());
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.