Commit c44aede8 authored by Junmin Gu's avatar Junmin Gu

bug fix

parent f4220604
......@@ -251,13 +251,16 @@ int readMe(TimedAdaptorWrap* daWrap, MPI_Comm& comm)
bds->GetCellData()->GetArray(mmd->ArrayName[j].c_str());
}
if (check_array(array))
{
std::cerr << "Test failed on array " << j
<< " name=" << array->GetName() << std::endl;
retval = -1;
break;
}
if (mmd->ArrayName[j].find("BlockOwner") == std::string::npos)
{
if (check_array(array))
{
std::cerr << "Test failed on array " << j
<< " name=" << array->GetName() << std::endl;
retval = -1;
break;
}
}
}
#endif
it->GoToNextItem();
......@@ -715,7 +718,6 @@ int main(int argc, char** argv)
AAWrap* aw = GetWriteAdaptor(file_name, method, rank);
writeMe(aw->GetAA(), n_its, comm);
return 0;
}
else
{
......@@ -736,5 +738,6 @@ int main(int argc, char** argv)
delete result;
}
MPI_Finalize();
return 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