File: fix_demo_half_loaded_waveguide.patch

package info (click to toggle)
fenics-dolfinx 1%3A0.10.0.post4-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,028 kB
  • sloc: cpp: 36,535; python: 25,391; makefile: 226; sh: 171; xml: 55
file content (13 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: fenics-dolfinx/python/demo/demo_half_loaded_waveguide.py
===================================================================
--- fenics-dolfinx.orig/python/demo/demo_half_loaded_waveguide.py	2025-11-26 12:52:10.543328627 +0100
+++ fenics-dolfinx/python/demo/demo_half_loaded_waveguide.py	2025-11-26 12:52:10.540834884 +0100
@@ -466,7 +466,7 @@
 
         if has_vtx:
             # Save solutions
-            with VTXWriter(msh.comm, out_folder / f"/Et_{i}.bp", Et_dg) as f:
+            with VTXWriter(msh.comm, out_folder / f"Et_{i}.bp", Et_dg) as f:
                 f.write(0.0)
 
             with VTXWriter(msh.comm, out_folder / f"sols/Ez_{i}.bp", ezh) as f: