Commit 707c0c6b authored by allens's avatar allens

added code to include the proc when needed

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@26792 18c085ea-50e0-402c-830e-de6fd14e8384
parent c473b326
......@@ -75,6 +75,8 @@
#include <InvalidVariableException.h>
#include <DebugStream.h>
#include <avtParallel.h>
//#include <vtkNektar++.h>
#include <MultiRegions/ExpList.h>
......@@ -393,15 +395,19 @@ avtNektarPPFileFormat::Initialize()
reader->SetInputString(xmlstr);
#else
std::string filename("/tmp/visit_tmp.vtu");
std::ostringstream outfilename;
filename = m_fieldFile + ".vtu";
ofstream outstream(filename.c_str());
std::string filename("/tmp/visit_tmp");
// std::string filename(m_fieldFile);
outfilename << filename << "_" << PAR_Rank() << ".vtu";
ofstream outstream(outfilename.str().c_str());
outstream << xmlstr;
outstream.close();
reader->SetFileName(filename.c_str());
reader->SetFileName(outfilename.str().c_str());
#endif
reader->Update();
......
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