Commit 9e4e2161 authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fixed output in filters.

parent 2c8cd5aa
......@@ -129,12 +129,7 @@ int main(int argc, char *argv[])
//-----------------------------------------------
// Write solution to file
//string out = vSession->GetSessionName();
//if (vComm->GetSize() > 1)
//{
// out += "_P" + boost::lexical_cast<string>(vComm->GetRank());
//}
//out += ".fld";
//string out = vSession->GetSessionName() + ".fld";
//std::vector<LibUtilities::FieldDefinitionsSharedPtr> FieldDef
// = Exp->GetFieldDefinitions();
//std::vector<std::vector<NekDouble> > FieldData(FieldDef.size());
......
......@@ -129,12 +129,7 @@ int main(int argc, char *argv[])
//-----------------------------------------------
// Write solution to file
//string out = vSession->GetSessionName();
//if (vComm->GetSize() > 1)
//{
// out += "_P" + boost::lexical_cast<string>(vComm->GetRank());
//}
//out += ".fld";
//string out = vSession->GetSessionName() + ".fld";
//std::vector<LibUtilities::FieldDefinitionsSharedPtr> FieldDef
// = Exp->GetFieldDefinitions();
//std::vector<std::vector<NekDouble> > FieldData(FieldDef.size());
......
......@@ -85,13 +85,7 @@ namespace Nektar
}
std::stringstream vOutputFilename;
vOutputFilename << m_outputFile << "_" << m_outputIndex;
if (m_session->GetComm()->GetSize() > 1)
{
vOutputFilename << "_P" << m_session->GetComm()->GetRank();
}
vOutputFilename << ".chk";
vOutputFilename << m_outputFile << "_" << m_outputIndex << ".chk";
std::vector<LibUtilities::FieldDefinitionsSharedPtr> FieldDef
= pFields[0]->GetFieldDefinitions();
......
......@@ -86,12 +86,7 @@ namespace Nektar
void FilterThresholdMax::v_Finalise(const Array<OneD, const MultiRegions::ExpListSharedPtr> &pFields, const NekDouble &time)
{
std::stringstream vOutputFilename;
vOutputFilename << m_outputFile;
if (m_session->GetComm()->GetSize() > 1)
{
vOutputFilename << "_P" << m_session->GetComm()->GetRank();
}
vOutputFilename << ".fld";
vOutputFilename << m_outputFile << ".fld";
std::vector<LibUtilities::FieldDefinitionsSharedPtr> FieldDef
= pFields[0]->GetFieldDefinitions();
......
......@@ -87,13 +87,7 @@ namespace Nektar
}
std::stringstream vOutputFilename;
vOutputFilename << m_outputFile << "_" << m_outputIndex;
if (m_session->GetComm()->GetSize() > 1)
{
vOutputFilename << "_P" << m_session->GetComm()->GetRank();
}
vOutputFilename << ".chk";
vOutputFilename << m_outputFile << "_" << m_outputIndex << ".chk";
SpatialDomains::MeshGraphSharedPtr vGraph = pFields[0]->GetGraph();
......
Supports Markdown
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