Commit 3a6e7547 authored by Spencer Sherwin's avatar Spencer Sherwin

Fixed silly error of not referencing the composite id correctly

parent ad74e3d6
......@@ -374,11 +374,11 @@ void MeshPartition::ReadExpansions()
{
for (int j = 0; j < fieldName.size(); j++)
{
for (int k = 0; k < compMap[i]->m_geomVec.size(); k++)
for (int k = 0; k < compMap[composite[i]]->m_geomVec.size(); k++)
{
int elid = compMap[i]->m_geomVec[k]->GetGlobalID();
int elid = compMap[composite[i]]->m_geomVec[k]->GetGlobalID();
m_expansions[elid][fieldName[j]] = nummodes;
m_shape[elid] = compMap[i]->m_geomVec[k]->GetShapeType();
m_shape[elid] = compMap[composite[i]]->m_geomVec[k]->GetShapeType();
}
}
}
......
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