Minor changes to plot.f90 and plot.py.

This commit is contained in:
Paul Romano 2011-10-18 11:06:44 -04:00
parent 742537af92
commit a8efc294cd
2 changed files with 6 additions and 1 deletions

View file

@ -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()

View file

@ -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()