Commit ff152b07 authored by Spencer Sherwin's avatar Spencer Sherwin

Updated to handle .xml.gz file for Boundary extract and updated _bx output...

Updated to handle .xml.gz file for Boundary extract and updated _bx output which was consecutive to where x is the boundary region id
parent 3c927ddf
......@@ -107,7 +107,7 @@ namespace Nektar
for(int i = 0; i < m_f->m_bndRegionsToWrite.size(); ++i)
{
string outname = name + "_b" +
boost::lexical_cast<string>(i) + "." + ext;
boost::lexical_cast<string>(m_f->m_bndRegionsToWrite[i]) + "." + ext;
std::vector<LibUtilities::FieldDefinitionsSharedPtr>
FieldDef = BndExp[0][m_f->m_bndRegionsToWrite[i]]->GetFieldDefinitions();
......
......@@ -62,9 +62,9 @@ namespace Nektar
f->m_declareExpansionAsContField = true;
// check for correct input files
if(f->m_inputfiles.count("xml") == 0)
if((f->m_inputfiles.count("xml") == 0)&&(f->m_inputfiles.count("xml.gz") == 0))
{
cout << "An xml input file must be specified for the boundary extraction module" << endl;
cout << "An xml or xml.gz input file must be specified for the boundary extraction module" << endl;
exit(3);
}
......
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