]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reduce range of shift test.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Jul 2011 09:24:47 +0000 (09:24 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Jul 2011 09:24:47 +0000 (09:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@23970 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/polynomial_lagrange_ops.cc
tests/base/polynomial_lagrange_ops/cmp/generic

index 0494cddb232da83d1073a6437d56e0a820d5e465..1846d63524045cab3491acf386a8c83279ba4ee3 100644 (file)
@@ -50,6 +50,10 @@ void check_scale (const std::vector<Polynomial<double> > &p)
 
 void check_shift (const std::vector<Polynomial<double> > &p)
 {
+                               // shift does not work for too high orders
+  if (p.size() > 30)
+    return;
+
   deallog << "Shift operation";
   for (unsigned int i=0; i<p.size(); ++i)
     {
index d3b0a5b51778ab600a216ffaf71382d0d6ea029b..e1dd658d94832a66f4472c1aaca46bf947200b0e 100644 (file)
@@ -105,19 +105,16 @@ DEAL:GaussLobatto::Multiply by polynomial.............................
 DEAL:GaussLobatto::
 DEAL:GaussLobatto::Points: 32
 DEAL:GaussLobatto::Scale operation................................
-DEAL:GaussLobatto::Shift operation................................
 DEAL:GaussLobatto::Multiply by scalar................................
 DEAL:GaussLobatto::Multiply by polynomial................................
 DEAL:GaussLobatto::
 DEAL:GaussLobatto::Points: 35
 DEAL:GaussLobatto::Scale operation...................................
-DEAL:GaussLobatto::Shift operation...................................
 DEAL:GaussLobatto::Multiply by scalar...................................
 DEAL:GaussLobatto::Multiply by polynomial...................................
 DEAL:GaussLobatto::
 DEAL:GaussLobatto::Points: 38
 DEAL:GaussLobatto::Scale operation......................................
-DEAL:GaussLobatto::Shift operation......................................
 DEAL:GaussLobatto::Multiply by scalar......................................
 DEAL:GaussLobatto::Multiply by polynomial......................................
 DEAL:GaussLobatto::

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.