]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Get rid of template args of Polynomials::Legendre and Polynomials::Hierarchical.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 May 2003 22:02:56 +0000 (22:02 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 May 2003 22:02:56 +0000 (22:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@7641 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/anisotropic_1.cc
tests/base/anisotropic_2.cc
tests/base/hierarchical.cc
tests/base/polynomial1d.cc
tests/base/polynomial_test.cc

index 24371badf5d2ce368023ce5a661aa8a81a5bca81..7c9cdb8e8822929274bb8db5ed53fa27309a829d 100644 (file)
@@ -157,7 +157,7 @@ int main()
   
   p.clear ();
   for (unsigned int i=0;i<3;++i)
-    p.push_back (Legendre<double>(i));
+    p.push_back (Legendre(i));
 
   check_dimensions(p);
 
@@ -166,7 +166,7 @@ int main()
 
   p.clear ();
   for (unsigned int i=0;i<3;++i)
-    p.push_back (Hierarchical<double>(i));
+    p.push_back (Hierarchical(i));
 
   check_dimensions(p);
 
index dba4346432fca984354dc2c2e02f6fe5445fe4a6..19088d38515cf99188a4d821dd5b645cdee20863 100644 (file)
@@ -157,10 +157,10 @@ int main()
 //   deallog.pop();
 
 //   deallog.push("Legendre");
-//   check<Legendre<double> > ();
+//   check<Legendre> ();
 //   deallog.pop();
 
   deallog.push("Hierarchical");
-  check<Hierarchical<double> > ();
+  check<Hierarchical> ();
   deallog.pop();
 }
index fdab9246ebeb8c442de203d6205c8d675d0efb36..a88a319a973fcb58d6d43a8770243edbe5b67c0f 100644 (file)
@@ -33,7 +33,7 @@ int main ()
   deallog.depth_console(0);
 
   const std::vector<Polynomial<double> >
-    p = Hierarchical<double>::generate_complete_basis (10);
+    p = Hierarchical::generate_complete_basis (10);
 
   const unsigned int div=30;
   for (unsigned int i=0; i<=div; ++i)
index a57b84306e60d5e89fa3434304f989f5a1eaff45..3e482385351c0b9776b660136946385d299ab0d3 100644 (file)
@@ -58,7 +58,7 @@ int main ()
   
   for (unsigned int i=0;i<12;++i)
     {
-      p.push_back (Legendre<double>(i));
+      p.push_back (Legendre(i));
     }
   
   
@@ -119,7 +119,7 @@ int main ()
   p.clear ();
   for (unsigned int i=0;i<12;++i)
     {
-      p.push_back (Hierarchical<double>(i));
+      p.push_back (Hierarchical(i));
     }
 
   for (unsigned int i=0;i<p.size();++i)
index 7ea1e2a70f8e367dc042a6ee657ca94a42c35aaa..1e264e25c4abd22c258d0134c4cf7923981dc1cc 100644 (file)
@@ -155,7 +155,7 @@ int main()
   
   p.clear ();
   for (unsigned int i=0;i<3;++i)
-    p.push_back (Legendre<double>(i));
+    p.push_back (Legendre(i));
 
   check_dimensions(p);
 
@@ -164,7 +164,7 @@ int main()
 
   p.clear ();
   for (unsigned int i=0;i<3;++i)
-    p.push_back (Hierarchical<double>(i));
+    p.push_back (Hierarchical(i));
 
   check_dimensions(p);
 

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.