Skip to content

Commit

Permalink
Merge pull request #38 from fusion-energy/update_for_new_cad_to_dagmc
Browse files Browse the repository at this point in the history
moved material_tag arg
  • Loading branch information
shimwell committed Apr 13, 2024
2 parents 7705a09 + 2e4b3c0 commit e1ff1be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/model_benchmark_zoo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ def export_h5m_file_with_cad_to_dagmc(

ctd = CadToDagmc()

ctd.add_cadquery_object(self.cadquery_assembly())
ctd.export_dagmc_h5m_file(
ctd.add_cadquery_object(
cadquery_object=self.cadquery_assembly(),
material_tags=material_tags,
)
ctd.export_dagmc_h5m_file(
filename=h5m_filename,
min_mesh_size=min_mesh_size,
max_mesh_size=max_mesh_size,
Expand Down

0 comments on commit e1ff1be

Please sign in to comment.