Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ RUN if [ "$include_neutronics" = "true" ] ; \
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt


# @pullrequest reviewer, we would like to make the copy optional but don't know
# how. Then we can build a dependency image for use in circle ci.
# Copy over the source code, examples and tests
COPY run_tests.sh run_tests.sh
COPY paramak paramak/
Expand Down
6 changes: 3 additions & 3 deletions tests/test_parametric_neutronics/test_NeutronicModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_neutronics_component_simulation_with_openmc_mat(self):
def test_neutronics_component_simulation_with_nmm(self):
"""Makes a neutronics model and simulates with a cell tally"""

test_mat = nmm.Material('Li4SiO4')
test_mat = nmm.Material('Be')

# converts the geometry into a neutronics geometry
my_model = paramak.NeutronicsModel(
Expand Down Expand Up @@ -216,7 +216,7 @@ def test_neutronics_component_cell_simulation(self):
my_model = paramak.NeutronicsModel(
geometry=self.my_shape,
source=self.source,
materials={'center_column_shield_mat': 'eurofer'},
materials={'center_column_shield_mat': 'Be'},
cell_tallies=['heating'],
simulation_batches=2,
simulation_particles_per_batch=2
Expand All @@ -239,7 +239,7 @@ def test_neutronics_component_2d_mesh_simulation(self):
my_model = paramak.NeutronicsModel(
geometry=self.my_shape,
source=self.source,
materials={'center_column_shield_mat': 'eurofer'},
materials={'center_column_shield_mat': 'Be'},
mesh_tally_2D=['heating'],
simulation_batches=2,
simulation_particles_per_batch=2
Expand Down