Commit b4a87f97 authored by rink's avatar rink
Browse files

support writing tracer locations at each time step to serialized VisAD object

parent f892cb9c
......@@ -1500,5 +1500,18 @@ System.out.println("Texture.BASE_LEVEL_LINEAR = " + Texture.BASE_LEVEL_LINEAR);
listener.unlock();
}
}
if (trajParams.getSaveTracerLocations()) {
try {
java.io.FileOutputStream fos = new java.io.FileOutputStream("/Users/rink/TracerLocations.ser");
java.io.ObjectOutputStream oos = new java.io.ObjectOutputStream(fos);
oos.writeObject(trajMan.tracerLocations);
fos.close();
}
catch (Exception e) {
e.printStackTrace();
}
}
}
}
}
\ No newline at end of file
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