fixed: restore some norm names lost in refactor

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1159 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
akva 2011-09-20 15:48:46 +00:00 committed by Knut Morten Okstad
parent 96e292493f
commit a01a158dd5

View File

@ -235,7 +235,11 @@ ElmNorm& NormBase::getElmNormBuffer (LocalIntegral*& elmInt, const size_t nn)
const char* NormBase::getName(size_t i, const char* prefix)
{
static const char* s[3] = { "a(u^h,u^h)^0.5","a(u,u)^0.5","a(e,e)^0.5, e=u-u^h" };
static const char* s[9] = { "a(u^h,u^h)^0.5", "a(u,u)^0.5",
"a(e,e)^0.5, e=u-u^h", "a(u^r,u^r)^0.5",
"a(e,e)^0.5, e=u^r-u^h", "a(e,e)^0.5, e=u-u^r",
"a(u^rr,u^rr)^0.5", "a(e,e)^0.5, e=u^rr-u^h",
"a(e,e)^0.5, e=u-u^rr"};
if (!prefix) return s[i];
std::cout << i << std::endl;