Commit 9999aee1 authored by David Moxey's avatar David Moxey
Browse files

Fixes for tutorials

parent 41fed8d4
......@@ -157,7 +157,11 @@ void ProcessVarOpti::Process()
}
ASSERTL0(fd, "failed to find order of mesh");
int intOrder = m_config["overint"].as<NekDouble>();
// Safety feature: limit over-integration order for high-order triangles
// over order 5.
int intOrder = m_config["overint"].as<int>();
intOrder = m_mesh->m_nummode + intOrder <= 11 ?
intOrder : 11 - m_mesh->m_nummode;
if (m_mesh->m_verbose)
{
......@@ -386,7 +390,7 @@ void ProcessVarOpti::Process()
t.Stop();
RemoveLinearCurvature();
//RemoveLinearCurvature();
if(m_mesh->m_verbose)
{
......
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