Commit f6eb3cdc authored by frey_m's avatar frey_m
Browse files

AMR test case: Plotting tools.

- slice plot of potential (normal to y)
- slice plot of potential (normal to x)

modified:   ippl/test/AMR/amr_plot_tools/visualize.py
parent 76783172
......@@ -18,7 +18,7 @@ from tools import doSlicePlot, doProjectionPlot
try:
opal = os.environ['OPAL_BUILD']
ds = yt.load(opal + "ippl/test/AMR/plt0000")
ds = yt.load(opal + "ippl/test/AMR/plt0000", dataset_type='opal')
ds.print_stats()
......@@ -45,6 +45,10 @@ try:
doSlicePlot(ds, 'x', 'Ez', 'V/m')
doSlicePlot(ds, 'z', 'potential', 'V')
doSlicePlot(ds, 'y', 'potential', 'V')
doSlicePlot(ds, 'x', 'potential', 'V')
ad = ds.all_data()
......
Markdown is supported
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