Commit 668446b9 authored by Douglas Serson's avatar Douglas Serson

Fix bug that affects using the range option with variableP

parent 7aab8413
......@@ -2159,6 +2159,7 @@ namespace Nektar
if (elmtToExpId.count(elmtId) == 0)
{
offset += datalen;
modes_offset += (*m_exp)[0]->GetNumBases();
continue;
}
......
......@@ -772,6 +772,8 @@ namespace Nektar
{
// increase offset for correct FieldData access
offset += datalen*nzmodes;
modes_offset += (*m_exp)[0]->GetNumBases() +
fielddef->m_numHomogeneousDir;
continue;
}
......
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