aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py
diff options
context:
space:
mode:
authorGravatar Lorenzo Giacomel <47607756+lgiacome@users.noreply.github.com> 2022-04-07 17:43:22 +0200
committerGravatar GitHub <noreply@github.com> 2022-04-07 08:43:22 -0700
commitd3a63bfa6035025cd3ea630af2e4c7017c9e3bff (patch)
treef53c21e108b5868afe2d61b0a92c0b048fbb587c /Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py
parent2c5a82dc221b32f23b60ee338a5cef09167fbe58 (diff)
downloadWarpX-d3a63bfa6035025cd3ea630af2e4c7017c9e3bff.tar.gz
WarpX-d3a63bfa6035025cd3ea630af2e4c7017c9e3bff.tar.zst
WarpX-d3a63bfa6035025cd3ea630af2e4c7017c9e3bff.zip
Implemented the BCK fallback for the ECT solver (#3016)
* Implemented the BCK fallback for the ECT solver * Ignored an unused variable * Bug fix * Fix issue with preprocessor directive * Added comments * Implemented suggestions from code review * Fixed tilebox * Improved warning * Using WarpX::RecordWarning instead of amrex::Print() * Ignoring RZ * Improving comment * Bug Fix * Lowered warning priority * Ignoring low priority warnings in ECT tests Co-authored-by: lgiacome <lorenzo.giacome@cern.ch>
Diffstat (limited to 'Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py')
-rwxr-xr-xExamples/Modules/embedded_boundary_rotated_cube/analysis_fields.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py b/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py
index 02f4c8012..1f7b60436 100755
--- a/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py
+++ b/Examples/Modules/embedded_boundary_rotated_cube/analysis_fields.py
@@ -34,11 +34,11 @@ lo = [-0.8, -0.8, -0.8]
m = 0
n = 1
p = 1
-Lx = 1.06
-Ly = 1.06
-Lz = 1.06
+Lx = 1
+Ly = 1
+Lz = 1
h_2 = (m * pi / Lx) ** 2 + (n * pi / Ly) ** 2 + (p * pi / Lz) ** 2
-theta = np.pi/8
+theta = np.pi/6
# Open the right plot file
filename = sys.argv[1]