Commit 263cc6d7 authored by Spencer Sherwin's avatar Spencer Sherwin

Small mods for clarify and reduce baseline storage

parent eda07918
......@@ -531,17 +531,15 @@ vector<IsoSharedPtr> ProcessIsoContour::ExtractContour(
}
}
if(n == 0)
if(n)
{
continue;
}
iso->SetNTris(n);
iso->SetNTris(n);
// condense the information in this elemental extraction.
iso->Condense();
// condense the information in this elemental extraction.
iso->Condense();
returnval.push_back(iso);
returnval.push_back(iso);
}
}
return returnval;
......
......@@ -160,13 +160,13 @@ class Iso
m_condensed = false;
m_nvert = 0;
m_fields.resize(nfields);
// set up initial vectors to be 10000 long
m_x.resize(10000);
m_y.resize(10000);
m_z.resize(10000);
// set up initial vectors to be 1000 long
m_x.resize(1000);
m_y.resize(1000);
m_z.resize(1000);
for(int i = 0; i < m_fields.size(); ++i)
{
m_fields[i].resize(10000);
m_fields[i].resize(1000);
}
};
......
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