Commit dbd1fb98 authored by Spencer Sherwin's avatar Spencer Sherwin

Put in return if pts field is empty which could happen in isocontour routine

parent 0ca40a66
......@@ -137,6 +137,13 @@ template<typename T> void WriteStream(std::ostream &outfile,
void OutputTecplot::OutputFromPts(po::variables_map &vm)
{
LibUtilities::PtsFieldSharedPtr fPts = m_f->m_fieldPts;
// do not output if zone is empty
if (fPts->GetNpoints() == 0)
{
return;
}
int rank = m_f->m_comm->GetRank();
m_numBlocks = 0;
......
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