aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules/embedded_boundary_python_API/analysis.py
diff options
context:
space:
mode:
authorGravatar Lorenzo Giacomel <47607756+lgiacome@users.noreply.github.com> 2021-12-14 08:52:09 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-13 23:52:09 -0800
commit6c00c243f986467f3a80ab6a1a5177e7577e7680 (patch)
treeacbe063b4cc4d7a98a185e1a953298af037fab4c /Examples/Modules/embedded_boundary_python_API/analysis.py
parent6844ef6ad95ce748f9e7f69144fec4e3e4041e72 (diff)
downloadWarpX-6c00c243f986467f3a80ab6a1a5177e7577e7680.tar.gz
WarpX-6c00c243f986467f3a80ab6a1a5177e7577e7680.tar.zst
WarpX-6c00c243f986467f3a80ab6a1a5177e7577e7680.zip
Adding EB multifabs to the Python interface (#2647)
* Adding edge_lengths and face_areas to the Python interface * Added wrappers for the two new arrays of data * Adding a CI test * Fixed test name * Added customRunCmd * Added mpi in test
Diffstat (limited to 'Examples/Modules/embedded_boundary_python_API/analysis.py')
-rw-r--r--Examples/Modules/embedded_boundary_python_API/analysis.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/Modules/embedded_boundary_python_API/analysis.py b/Examples/Modules/embedded_boundary_python_API/analysis.py
new file mode 100644
index 000000000..b6b2955cf
--- /dev/null
+++ b/Examples/Modules/embedded_boundary_python_API/analysis.py
@@ -0,0 +1,10 @@
+#! /usr/bin/env python
+
+# This script just checks that the PICMI file executed successfully.
+# If it did there will be a plotfile for the final step.
+
+import sys
+
+step = int(sys.argv[1][-5:])
+
+assert step == 2