cad-to-dagmc 0.9.6__tar.gz → 0.9.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/.github/workflows/ci_with_pip_install.yml +12 -9
  2. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/PKG-INFO +4 -4
  3. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/README.md +3 -3
  4. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/_version.py +3 -3
  5. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc/core.py +17 -4
  6. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc/direct_mesh_plugin.py +2 -0
  7. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc.egg-info/PKG-INFO +4 -4
  8. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_file_creation.py +3 -1
  9. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_get_volumes.py +20 -4
  10. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_h5m_in_transport.py +3 -1
  11. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_kwarg_args.py +3 -1
  12. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_python_api.py +3 -1
  13. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/.github/workflows/black.yml +0 -0
  14. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/.github/workflows/ci_with_benchmarks.yml +0 -0
  15. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/.github/workflows/ci_with_conda_install.yml +0 -0
  16. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/.github/workflows/python-publish.yml +0 -0
  17. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/.gitignore +0 -0
  18. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/CITATION.cff +0 -0
  19. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/LICENSE +0 -0
  20. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_and_unstructured_mesh/unstructured_mesh_with_conformal_surface_mesh.py +0 -0
  21. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/cadquery_assembly.py +0 -0
  22. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/cadquery_assembly_with_scaled_geometry.py +0 -0
  23. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/cadquery_compound.py +0 -0
  24. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/cadquery_object_and_stp_file.py +0 -0
  25. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/cadquery_text.py +0 -0
  26. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/curved_cadquery_object_to_dagmc_surface_mesh.py +0 -0
  27. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/different_resolution_meshes.py +0 -0
  28. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/from_gmsh_mesh_file.py +0 -0
  29. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/from_gmsh_mesh_file_with_tags.py +0 -0
  30. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/from_gmsh_object_with_tag.py +0 -0
  31. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/multiple_cadquery_objects.py +0 -0
  32. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/multiple_stp_files.py +0 -0
  33. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/single_cadquery_object.py +0 -0
  34. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/single_stp_file.py +0 -0
  35. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/single_stp_file_multiple_volumes.py +0 -0
  36. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/surface_mesh/tagged_mesh.msh +0 -0
  37. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/unstrucutred_volume_mesh/curved_cadquery_object_to_dagmc_volume_mesh.py +0 -0
  38. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/unstrucutred_volume_mesh/different_resolution_meshes.py +0 -0
  39. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/examples/unstrucutred_volume_mesh/simulate_unstrucutred_volume_mesh_with_openmc.py +0 -0
  40. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/pyproject.toml +0 -0
  41. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/setup.cfg +0 -0
  42. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc/__init__.py +0 -0
  43. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc.egg-info/SOURCES.txt +0 -0
  44. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc.egg-info/dependency_links.txt +0 -0
  45. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc.egg-info/requires.txt +0 -0
  46. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/src/cad_to_dagmc.egg-info/top_level.txt +0 -0
  47. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/ENDFB-7.1-NNDC_H1.h5 +0 -0
  48. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/ball_reactor.brep +0 -0
  49. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/curved_extrude.stp +0 -0
  50. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/extrude_rectangle.stp +0 -0
  51. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/multi_volume_cylinders.stp +0 -0
  52. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/one_cube.brep +0 -0
  53. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/single_cube.stp +0 -0
  54. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/single_volume_thin.stp +0 -0
  55. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/single_volume_thin.vtk +0 -0
  56. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/tagged_mesh.msh +0 -0
  57. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_brep_file.brep +0 -0
  58. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_loading_from_file_vs_shape_object.py +0 -0
  59. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_mesh_to_dagmc.py +0 -0
  60. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_two_joined_cubes.brep +0 -0
  61. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_two_sep_cubes.brep +0 -0
  62. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/test_version.py +0 -0
  63. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/two_connected_cubes.stp +0 -0
  64. {cad_to_dagmc-0.9.6 → cad_to_dagmc-0.9.8}/tests/two_disconnected_cubes.stp +0 -0
@@ -21,22 +21,25 @@ on:
21
21
  jobs:
22
22
  testing:
23
23
  runs-on: ubuntu-latest
24
- container:
25
- image: openmc/openmc:develop-dagmc
24
+ strategy:
25
+ matrix:
26
+ python-version: [3.12]
26
27
  steps:
28
+ - name: Set up Python ${{ matrix.python-version }}
29
+ uses: actions/setup-python@v5
30
+ with:
31
+ python-version: ${{ matrix.python-version }}
27
32
  - name: Checkout repository
28
33
  uses: actions/checkout@v4
29
34
 
30
35
  - name: install non pypi dependencies
31
36
  shell: bash
32
37
  run: |
33
- apt-get --allow-releaseinfo-change update
34
- apt-get update -y
35
- apt-get upgrade -y
36
- apt-get install -y libblas-dev liblapack-dev libgl1 libglx-mesa0 libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 libxcursor-dev libxft2 libxinerama-dev make cmake libeigen3-dev
37
- apt install python3
38
- apt install python3-pip
39
- python -m pip install --extra-index-url https://shimwell.github.io/wheels moab
38
+ sudo apt-get update -y
39
+ sudo apt-get upgrade -y
40
+ sudo apt-get install -y libblas-dev liblapack-dev libgl1 libglx-mesa0 libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 libxcursor-dev libxft2 libxinerama-dev make cmake libeigen3-dev
41
+ # Python3 and pip are pre-installed on GitHub Actions runners
42
+ python -m pip install --extra-index-url https://shimwell.github.io/wheels moab openmc
40
43
  python -c "import pymoab"
41
44
  python -m pip install .[tests]
42
45
  python -m pip install git+https://github.com/svalinn/pydagmc
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cad_to_dagmc
3
- Version: 0.9.6
3
+ Version: 0.9.8
4
4
  Summary: Converts CAD files to a DAGMC h5m file
5
5
  Author-email: Jonathan Shimwell <mail@jshimwell.com>
6
6
  Project-URL: Homepage, https://github.com/fusion-energy/cad_to_dagmc
@@ -73,7 +73,7 @@ Cad-to-dagmc offers a wide range of features including.
73
73
 
74
74
  - Install using Mamba
75
75
  - Install using Conda
76
- - Install using pip and source compilations
76
+ - Install using pip
77
77
 
78
78
  ## Install using Mamba
79
79
 
@@ -151,10 +151,10 @@ You may also want to install OpenMC with DAGMC to make use of the h5m geometry f
151
151
 
152
152
  To install OpenMC you can run ```mamba install -c conda-forge openmc``` however this more specific command makes sure the latest version of OpenMC which contains DAGMC is chosen by conda / mamba
153
153
  ```bash
154
- mamba install -c conda-forge -y "openmc=0.15.0=dagmc*nompi*"
154
+ mamba install -c conda-forge -y "openmc=0.15.2=dagmc*nompi*"
155
155
  ```
156
156
 
157
- It might not be possible to install OpenMC and cad-to-dagmc in the same conda/mamba python environment so you may have to create a new conda/mamba environment and install OpenMC there.
157
+ You could also install using this [wheel repo](https://github.com/shimwell/wheels)
158
158
 
159
159
  Another option would be to [install OpenMC from source](https://docs.openmc.org/en/stable/quickinstall.html) which would also need compiling with MOAB and DAGMC options.
160
160
 
@@ -48,7 +48,7 @@ Cad-to-dagmc offers a wide range of features including.
48
48
 
49
49
  - Install using Mamba
50
50
  - Install using Conda
51
- - Install using pip and source compilations
51
+ - Install using pip
52
52
 
53
53
  ## Install using Mamba
54
54
 
@@ -126,10 +126,10 @@ You may also want to install OpenMC with DAGMC to make use of the h5m geometry f
126
126
 
127
127
  To install OpenMC you can run ```mamba install -c conda-forge openmc``` however this more specific command makes sure the latest version of OpenMC which contains DAGMC is chosen by conda / mamba
128
128
  ```bash
129
- mamba install -c conda-forge -y "openmc=0.15.0=dagmc*nompi*"
129
+ mamba install -c conda-forge -y "openmc=0.15.2=dagmc*nompi*"
130
130
  ```
131
131
 
132
- It might not be possible to install OpenMC and cad-to-dagmc in the same conda/mamba python environment so you may have to create a new conda/mamba environment and install OpenMC there.
132
+ You could also install using this [wheel repo](https://github.com/shimwell/wheels)
133
133
 
134
134
  Another option would be to [install OpenMC from source](https://docs.openmc.org/en/stable/quickinstall.html) which would also need compiling with MOAB and DAGMC options.
135
135
 
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.9.6'
32
- __version_tuple__ = version_tuple = (0, 9, 6)
31
+ __version__ = version = '0.9.8'
32
+ __version_tuple__ = version_tuple = (0, 9, 8)
33
33
 
34
- __commit_id__ = commit_id = 'gc9bf24ac7'
34
+ __commit_id__ = commit_id = 'g00e5e76df'
@@ -106,6 +106,9 @@ def vertices_to_h5m(
106
106
 
107
107
  moab_core, tags = define_moab_core_and_tags()
108
108
 
109
+ # Add the vertices once at the start
110
+ all_moab_verts = moab_core.create_vertices(vertices)
111
+
109
112
  volume_sets_by_solid_id = {}
110
113
  for material_tag, (solid_id, triangles_on_each_face) in zip(
111
114
  material_tags, triangles_by_solid_by_face.items()
@@ -145,14 +148,21 @@ def vertices_to_h5m(
145
148
 
146
149
  moab_core.tag_set_data(tags["surf_sense"], face_set, sense_data)
147
150
 
148
- moab_verts = moab_core.create_vertices(vertices)
151
+ # Collect only the vertices that lie on triangles on this face
152
+ face_vertices_set = set()
153
+ for triangle in triangles_on_face:
154
+ face_vertices_set.update(triangle)
155
+ face_vertices_list = sorted(face_vertices_set)
156
+
157
+ # Only add these to the MOAB face
158
+ moab_verts = [all_moab_verts[ii] for ii in face_vertices_list]
149
159
  moab_core.add_entity(face_set, moab_verts)
150
160
 
151
161
  for triangle in triangles_on_face:
152
162
  tri = (
153
- moab_verts[int(triangle[0])],
154
- moab_verts[int(triangle[1])],
155
- moab_verts[int(triangle[2])],
163
+ all_moab_verts[int(triangle[0])],
164
+ all_moab_verts[int(triangle[1])],
165
+ all_moab_verts[int(triangle[2])],
156
166
  )
157
167
 
158
168
  moab_triangle = moab_core.create_element(types.MBTRI, tri)
@@ -687,6 +697,7 @@ class CadToDagmc:
687
697
  assembly.add(part)
688
698
 
689
699
  if imprint:
700
+ print("Imprinting assembly for unstructured mesh generation")
690
701
  imprinted_assembly, _ = cq.occ_impl.assembly.imprint(assembly)
691
702
  else:
692
703
  imprinted_assembly = assembly
@@ -777,6 +788,7 @@ class CadToDagmc:
777
788
  assembly.add(part)
778
789
 
779
790
  if imprint:
791
+ print("Imprinting assembly for mesh generation")
780
792
  imprinted_assembly, _ = cq.occ_impl.assembly.imprint(assembly)
781
793
  else:
782
794
  imprinted_assembly = assembly
@@ -1013,6 +1025,7 @@ class CadToDagmc:
1013
1025
  elif meshing_backend == "gmsh":
1014
1026
  # If assembly is not to be imprinted, pass through the assembly as-is
1015
1027
  if imprint:
1028
+ print("Imprinting assembly for mesh generation")
1016
1029
  imprinted_assembly, imprinted_solids_with_org_id = cq.occ_impl.assembly.imprint(
1017
1030
  assembly
1018
1031
  )
@@ -291,6 +291,7 @@ def to_mesh(
291
291
  # Imprinted assemblies end up being compounds, whereas you have to step through each of the
292
292
  # parts in an assembly and extract the solids.
293
293
  if imprint:
294
+ print("Imprinting assembly for mesh generation")
294
295
  # Imprint the assembly and process it as a compound
295
296
  (
296
297
  imprinted_assembly,
@@ -329,6 +330,7 @@ def to_mesh(
329
330
 
330
331
  # Step through all of the collected solids and their respective faces to get the vertices
331
332
  for solid in solids:
333
+ print(f"Meshing solid {solid_idx} of {len(solids)}")
332
334
  # Reset this each time so that we get the correct number of faces per solid
333
335
  face_triangles = {}
334
336
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cad_to_dagmc
3
- Version: 0.9.6
3
+ Version: 0.9.8
4
4
  Summary: Converts CAD files to a DAGMC h5m file
5
5
  Author-email: Jonathan Shimwell <mail@jshimwell.com>
6
6
  Project-URL: Homepage, https://github.com/fusion-energy/cad_to_dagmc
@@ -73,7 +73,7 @@ Cad-to-dagmc offers a wide range of features including.
73
73
 
74
74
  - Install using Mamba
75
75
  - Install using Conda
76
- - Install using pip and source compilations
76
+ - Install using pip
77
77
 
78
78
  ## Install using Mamba
79
79
 
@@ -151,10 +151,10 @@ You may also want to install OpenMC with DAGMC to make use of the h5m geometry f
151
151
 
152
152
  To install OpenMC you can run ```mamba install -c conda-forge openmc``` however this more specific command makes sure the latest version of OpenMC which contains DAGMC is chosen by conda / mamba
153
153
  ```bash
154
- mamba install -c conda-forge -y "openmc=0.15.0=dagmc*nompi*"
154
+ mamba install -c conda-forge -y "openmc=0.15.2=dagmc*nompi*"
155
155
  ```
156
156
 
157
- It might not be possible to install OpenMC and cad-to-dagmc in the same conda/mamba python environment so you may have to create a new conda/mamba environment and install OpenMC there.
157
+ You could also install using this [wheel repo](https://github.com/shimwell/wheels)
158
158
 
159
159
  Another option would be to [install OpenMC from source](https://docs.openmc.org/en/stable/quickinstall.html) which would also need compiling with MOAB and DAGMC options.
160
160
 
@@ -133,7 +133,9 @@ def test_h5m_with_multi_volume_touching(meshing_backend):
133
133
  assert get_volumes_and_materials_from_h5m(h5m_file) == tags_dict
134
134
 
135
135
  cad_to_dagmc.export_gmsh_file_to_dagmc_h5m_file(
136
- dagmc_filename=h5m_file, material_tags=mat_tags, gmsh_filename=h5m_file + ".msh"
136
+ dagmc_filename=h5m_file,
137
+ material_tags=mat_tags,
138
+ gmsh_filename=h5m_file + ".msh",
137
139
  )
138
140
  assert get_volumes_and_materials_from_h5m(h5m_file) == tags_dict
139
141
 
@@ -9,8 +9,14 @@ import cad_to_dagmc
9
9
  "scale_factor, expected_bbox",
10
10
  [
11
11
  (1.0, (-5.0000001, -5.0000001, -5.0000001, 5.0000001, 5.0000001, 5.0000001)),
12
- (2.0, (-10.0000001, -10.0000001, -10.0000001, 10.0000001, 10.0000001, 10.0000001)),
13
- (10.0, (-50.0000001, -50.0000001, -50.0000001, 50.0000001, 50.0000001, 50.0000001)),
12
+ (
13
+ 2.0,
14
+ (-10.0000001, -10.0000001, -10.0000001, 10.0000001, 10.0000001, 10.0000001),
15
+ ),
16
+ (
17
+ 10.0,
18
+ (-50.0000001, -50.0000001, -50.0000001, 50.0000001, 50.0000001, 50.0000001),
19
+ ),
14
20
  ],
15
21
  )
16
22
  def test_get_volumes(scale_factor, expected_bbox):
@@ -35,8 +41,18 @@ def test_get_volumes(scale_factor, expected_bbox):
35
41
  @pytest.mark.parametrize(
36
42
  "scale_factor, expected_bbox_lower_left, expected_bbox_upper_right, meshing_backend",
37
43
  [
38
- (1.0, (-5.0000001, -5.0000001, -5.0000001), (5.0000001, 5.0000001, 5.0000001), "cadquery"),
39
- (1.0, (-5.0000001, -5.0000001, -5.0000001), (5.0000001, 5.0000001, 5.0000001), "gmsh"),
44
+ (
45
+ 1.0,
46
+ (-5.0000001, -5.0000001, -5.0000001),
47
+ (5.0000001, 5.0000001, 5.0000001),
48
+ "cadquery",
49
+ ),
50
+ (
51
+ 1.0,
52
+ (-5.0000001, -5.0000001, -5.0000001),
53
+ (5.0000001, 5.0000001, 5.0000001),
54
+ "gmsh",
55
+ ),
40
56
  (
41
57
  2.0,
42
58
  (-10.0000001, -10.0000001, -10.0000001),
@@ -288,7 +288,9 @@ def test_umesh_with_volumes(meshing_backend):
288
288
  model.add_cadquery_object(assembly, material_tags=mat_tags)
289
289
 
290
290
  h5m_file = model.export_dagmc_h5m_file(
291
- filename="dagmc.h5m", set_size={1: 0.9, 2: 0.1, 3: 0.9}, meshing_backend=meshing_backend
291
+ filename="dagmc.h5m",
292
+ set_size={1: 0.9, 2: 0.1, 3: 0.9},
293
+ meshing_backend=meshing_backend,
292
294
  )
293
295
 
294
296
  vtk_file = model.export_unstructured_mesh_file(
@@ -54,7 +54,9 @@ class TestKwargsExportDagmcH5mFile:
54
54
 
55
55
  with pytest.raises(ValueError, match="CadQuery backend cannot be used for volume meshing"):
56
56
  self.my_model.export_dagmc_h5m_file(
57
- filename=str(output_file), meshing_backend="cadquery", unstructured_volumes=[1]
57
+ filename=str(output_file),
58
+ meshing_backend="cadquery",
59
+ unstructured_volumes=[1],
58
60
  )
59
61
 
60
62
  def test_invalid_meshing_backend_raises_error(self, tmp_path):
@@ -400,7 +400,9 @@ def test_unstructured_mesh_with_volumes(meshing_backend):
400
400
  model.add_cadquery_object(assembly, material_tags=["mat1", "mat2", "mat3"])
401
401
 
402
402
  filename = model.export_dagmc_h5m_file(
403
- filename="dagmc.h5m", set_size={1: 0.9, 2: 0.1, 3: 0.9}, meshing_backend=meshing_backend
403
+ filename="dagmc.h5m",
404
+ set_size={1: 0.9, 2: 0.1, 3: 0.9},
405
+ meshing_backend=meshing_backend,
404
406
  )
405
407
  assert Path(filename).is_file()
406
408
 
File without changes
File without changes
File without changes
File without changes