From dc495cc4ad1ff75bf5a76e8f4973d95d4d8f8a43 Mon Sep 17 00:00:00 2001 From: Nicola Giuliani Date: Fri, 23 Oct 2015 15:15:50 +0200 Subject: [PATCH] added codim one in get name for FE_DGQArbitrarynodes --- source/fe/fe_dgq.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/fe/fe_dgq.cc b/source/fe/fe_dgq.cc index 7093b92d11..7fac222d66 100644 --- a/source/fe/fe_dgq.cc +++ b/source/fe/fe_dgq.cc @@ -812,7 +812,7 @@ FE_DGQArbitraryNodes::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::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::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::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(); } -- 2.39.5