Commit 46dd30c5 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Removed error checking from ProcessVorticity since error is checked in OuputFld

parent 7685fc06
......@@ -178,22 +178,6 @@ namespace Nektar
m_f->m_data = FieldData;
// output error for regression checking.
if (vm.count("error"))
{
int rank = m_f->m_session->GetComm()->GetRank();
for (j = 0; j < nfields + addfields; ++j)
{
NekDouble l2err = m_f->m_exp[j]->L2(m_f->m_exp[j]->GetPhys());
NekDouble linferr = m_f->m_exp[j]->Linf(m_f->m_exp[j]->GetPhys());
if(rank == 0)
{
cout << "L 2 error (variable "<< FieldDef[0]->m_fields[j] << ") : " << l2err << endl;
cout << "L inf error (variable "<< FieldDef[0]->m_fields[j] << ") : " << linferr << endl;
}
}
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment