Skip to content
Snippets Groups Projects
Commit 2be7f8d1 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

New points was not being updated in the correct place. Fixed by moving position of updating ppe map

parent 845d2f3d
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ void ProcessEquiSpacedOutput::SetupEquiSpacedField(void)
int nel = m_f->m_exp[0]->GetExpSize();
// set up the number of points in each element
int newpoints;
int newpoints = 0;
int newtotpoints = 0;
Array<OneD,int> conn;
......@@ -191,9 +191,6 @@ void ProcessEquiSpacedOutput::SetupEquiSpacedField(void)
}
}
ppe.push_back(newpoints);
newtotpoints += newpoints;
switch(e->DetShapeType())
{
case LibUtilities::eSegment:
......@@ -273,6 +270,10 @@ void ProcessEquiSpacedOutput::SetupEquiSpacedField(void)
}
}
ppe.push_back(newpoints);
newtotpoints += newpoints;
if(e->DetShapeType() == LibUtilities::ePrism)
{
bool standard = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment