summaryrefslogtreecommitdiff
path: root/dev-python/meshio/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/meshio/files
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/meshio/files')
-rw-r--r--dev-python/meshio/files/meshio-5.3.5-numpy-2.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-python/meshio/files/meshio-5.3.5-numpy-2.patch b/dev-python/meshio/files/meshio-5.3.5-numpy-2.patch
deleted file mode 100644
index dc7662c3042f..000000000000
--- a/dev-python/meshio/files/meshio-5.3.5-numpy-2.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff --git a/src/meshio/dolfin/_dolfin.py b/src/meshio/dolfin/_dolfin.py
-index e43dbd54..0a2c1eaa 100644
---- a/src/meshio/dolfin/_dolfin.py
-+++ b/src/meshio/dolfin/_dolfin.py
-@@ -207,7 +207,7 @@ def _write_cell_data(filename, dim, cell_data):
- )
-
- for k, value in enumerate(cell_data):
-- ET.SubElement(mesh_function, "entity", index=str(k), value=repr(value))
-+ ET.SubElement(mesh_function, "entity", index=str(k), value=str(value))
-
- tree = ET.ElementTree(dolfin)
- tree.write(filename)
-diff --git a/src/meshio/gmsh/common.py b/src/meshio/gmsh/common.py
-index 717e82ee..adcae241 100644
---- a/src/meshio/gmsh/common.py
-+++ b/src/meshio/gmsh/common.py
-@@ -273,7 +273,7 @@ def _write_data(fh, tag, name, data, binary):
- tmp.tofile(fh)
- fh.write(b"\n")
- else:
-- fmt = " ".join(["{}"] + ["{!r}"] * num_components) + "\n"
-+ fmt = " ".join(["{}"] * (num_components + 1)) + "\n"
- # TODO unify
- if num_components == 1:
- for k, x in enumerate(data):
-diff --git a/src/meshio/mdpa/_mdpa.py b/src/meshio/mdpa/_mdpa.py
-index afa39eca..e49358af 100644
---- a/src/meshio/mdpa/_mdpa.py
-+++ b/src/meshio/mdpa/_mdpa.py
-@@ -418,7 +418,7 @@ def _write_data(fh, tag, name, data, binary):
- data = data[:, 0]
-
- # Actually write the data
-- fmt = " ".join(["{}"] + ["{!r}"] * num_components) + "\n"
-+ fmt = " ".join(["{}"] * (num_components + 1)) + "\n"
- # TODO unify
- if num_components == 1:
- for k, x in enumerate(data):
-diff --git a/src/meshio/ugrid/_ugrid.py b/src/meshio/ugrid/_ugrid.py
-index 6fa57c09..f1d5818d 100644
---- a/src/meshio/ugrid/_ugrid.py
-+++ b/src/meshio/ugrid/_ugrid.py
-@@ -145,7 +145,7 @@ def read_buffer(f, file_type):
- def _write_section(f, file_type, array, dtype):
- if file_type["type"] == "ascii":
- ncols = array.shape[1]
-- fmt = " ".join(["%r"] * ncols)
-+ fmt = " ".join(["%s"] * ncols)
- np.savetxt(f, array, fmt=fmt)
- else:
- array.astype(dtype).tofile(f)