Change timestep filename format to work with paraview 3.x
authorAaron Becker <akbecker@gmail.com>
Thu, 22 Jul 2010 21:21:15 +0000 (16:21 -0500)
committerAaron Becker <akbecker@gmail.com>
Thu, 22 Jul 2010 21:21:15 +0000 (16:21 -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);