]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added codim one in get name for FE_DGQArbitrarynodes
authorNicola Giuliani <ngiuliani@sissa.it>
Fri, 23 Oct 2015 13:15:50 +0000 (15:15 +0200)
committerNicola Giuliani <ngiuliani@sissa.it>
Fri, 23 Oct 2015 13:15:50 +0000 (15:15 +0200)
source/fe/fe_dgq.cc

index 7093b92d118a317cba828023d468f39f6841ad29..7fac222d666dd25798e3c1e50ca8cd09c588960d 100644 (file)
@@ -812,7 +812,7 @@ FE_DGQArbitraryNodes<dim,spacedim>::get_name () const
 
   if (equidistant == true)
     {
-      namebuf << "FE_DGQ<" << dim << ">(" << this->degree << ")";
+      namebuf << "FE_DGQ<" << Utilities::dim_string(dim,spacedim) << ">(" << this->degree << ")";
       return namebuf.str();
     }
 
@@ -828,7 +828,7 @@ FE_DGQArbitraryNodes<dim,spacedim>::get_name () const
 
   if (gauss_lobatto == true)
     {
-      namebuf << "FE_DGQArbitraryNodes<" << dim << ">(QGaussLobatto(" << this->degree+1 << "))";
+      namebuf << "FE_DGQArbitraryNodes<" << Utilities::dim_string(dim,spacedim) << ">(QGaussLobatto(" << this->degree+1 << "))";
       return namebuf.str();
     }
 
@@ -844,7 +844,7 @@ FE_DGQArbitraryNodes<dim,spacedim>::get_name () const
 
   if (gauss == true)
     {
-      namebuf << "FE_DGQArbitraryNodes<" << dim << ">(QGauss(" << this->degree+1 << "))";
+      namebuf << "FE_DGQArbitraryNodes<" << Utilities::dim_string(dim,spacedim) << ">(QGauss(" << this->degree+1 << "))";
       return namebuf.str();
     }
 
@@ -860,12 +860,12 @@ FE_DGQArbitraryNodes<dim,spacedim>::get_name () const
 
   if (gauss_log == true)
     {
-      namebuf << "FE_DGQArbitraryNodes<" << dim << ">(QGaussLog(" << this->degree+1 << "))";
+      namebuf << "FE_DGQArbitraryNodes<" << Utilities::dim_string(dim,spacedim) << ">(QGaussLog(" << this->degree+1 << "))";
       return namebuf.str();
     }
 
   // All guesses exhausted
-  namebuf << "FE_DGQArbitraryNodes<" << dim << ">(QUnknownNodes(" << this->degree+1 << "))";
+  namebuf << "FE_DGQArbitraryNodes<" << Utilities::dim_string(dim,spacedim) << ">(QUnknownNodes(" << this->degree+1 << "))";
   return namebuf.str();
 }
 

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.