From a8efc294cd2b71e0c8315791de41e345e7563706 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 18 Oct 2011 11:06:44 -0400 Subject: [PATCH] Minor changes to plot.f90 and plot.py. --- src/plot.f90 | 1 - src/utils/plot.py | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plot.f90 b/src/plot.f90 index d247f7536c..b8cd12baeb 100644 --- a/src/plot.f90 +++ b/src/plot.f90 @@ -28,7 +28,6 @@ contains real(8) :: distance ! distance particle travels logical :: found_cell ! found cell which particle is in? logical :: in_lattice ! is surface crossing in lattice? - character(MAX_LINE_LEN) :: msg ! output/error message character(MAX_LINE_LEN) :: path_plot ! unit for binary plot file type(Cell), pointer :: c => null() type(Universe), pointer :: univ => null() diff --git a/src/utils/plot.py b/src/utils/plot.py index 79fa0959e1..91e9d24c95 100755 --- a/src/utils/plot.py +++ b/src/utils/plot.py @@ -195,5 +195,11 @@ if __name__ == '__main__': filename = sys.argv[1] p = Plot() + + # Load binary plot.out file + print("Loading plotting file...") p.load_file(filename) + + # Display plot + print("Generating plot...") p.plot()