Skip to content

Commit

Permalink
moved material arg
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Mar 17, 2024
1 parent aee24f5 commit b712d77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ runs:
sudo apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0
mamba activate
mamba install -y -c conda-forge moab gmsh python-gmsh "openmc=0.14.0=dagmc*nompi*"
pip install cadqery-ocp==7.7.2
pip install cadquery==2.4.0
pip install cad_to_dagmc openmc_data_downloader
pip install CAD_to_OpenMC
Expand Down
7 changes: 4 additions & 3 deletions src/model_benchmark_zoo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ def export_h5m_file_with_cad_to_dagmc(

ctd = CadToDagmc()

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

def export_h5m_file_with_cad_to_openmc(
Expand Down

0 comments on commit b712d77

Please sign in to comment.