prepend string to timestamp files for compatibility with newer paraviews
authorAaron Becker <akbecker@gmail.com>
Mon, 23 Aug 2010 20:34:42 +0000 (15:34 -0500)
committerAaron Becker <akbecker@gmail.com>
Mon, 23 Aug 2010 20:37:34 +0000 (15:37 -0500)
src/libs/ck-libs/netfem/ParaviewConverter/NetFEM_To_Paraview.cpp

index 69ef5f1461102765f31c8439b0830ca3f37f1242..77010b2f18be0ffeba01b7de181db4fffa348ee5 100644 (file)
@@ -95,7 +95,7 @@ int main(char **argv, int argc){
                  
          // Create the index file which references 
          // all the chunks from this timestep
-         sprintf(tfile, "ParaViewData/timesteps/%010d.pvtu", timestep);   // save index to here
+         sprintf(tfile, "ParaViewData/timesteps/step_%010d.pvtu", timestep);   // save index to here
          sprintf(infile, "NetFEM/%d/0.dat", timestep); // the chunk file from which attributes will be extracted
          save_index(tfile, infile, timestep, total_chunks);