Skip to content

Commit

Permalink
Merge pull request #217 from fusion-energy/develop
Browse files Browse the repository at this point in the history
Develop update adding CAPI weight window examples
  • Loading branch information
shimwell authored Jul 4, 2023
2 parents 7dbaa10 + 11f6717 commit f511677
Show file tree
Hide file tree
Showing 20 changed files with 2,185 additions and 1,185 deletions.
5 changes: 3 additions & 2 deletions .devcontainer/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ RUN apt-get install libxinerama-dev -y

# python packages from the neutronics workflow
RUN pip install neutronics_material_maker[density] \
stl_to_h5m \
remove_dagmc_tags \
openmc-plasma-source \
openmc-dagmc-wrapper \
Expand Down Expand Up @@ -247,12 +248,12 @@ RUN openmc_data_downloader -d nuclear_data -l ENDFB-8.0-NNDC TENDL-2019 -p neutr

RUN pip install openmc_data && \
mkdir -p /nuclear_data && \
download_nndc_chain -d nuclear_data -r b8.0
download_endf_chain -d nuclear_data -r b8.0

# install WMP nuclear data
RUN wget https://github.com/mit-crpg/WMP_Library/releases/download/v1.1/WMP_Library_v1.1.tar.gz && \
tar -xf WMP_Library_v1.1.tar.gz -C / && \
rm WMP_Library_v1.1.tar.gz

ENV OPENMC_CROSS_SECTIONS=/nuclear_data/cross_sections.xml
ENV OPENMC_CHAIN_FILE=/nuclear_data/chain-nndc-b8.0.xml
ENV OPENMC_CHAIN_FILE=/nuclear_data/chain-endf-b8.0.xml
25 changes: 11 additions & 14 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,18 @@ jobs:
run: |
pytest tests/test_task_12.py -v
# VR times out, reimplement onces cpp VR is ready
# - name: test task 13
# run: |
# pytest tests/test_task_13.py -v
- name: test task 13
run: |
pytest tests/test_task_13.py -v
- name: test task 14
run: |
pytest tests/test_task_14.py -v
# TODO include when these have been speed up
# - name: test task 15
# run: |
# pytest tests/test_task_15.py -v

# - name: test task 15
# run: |
# pytest tests/test_task_15.py -v

# TODO add task 15 and 16
- name: test task 17
run: |
pytest tests/test_task_14.py -v
- name: test task 18
run: |
pytest tests/test_task_14.py -v
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@
# final_step=False,
operator_kwargs={
"normalization_mode": "source-rate", # needed as this is a fixed source simulation
"dilute_initial": 0, # need to avoid adding small amounts of fissle material
"chain_file": chain_file
},
)
Expand Down
Loading

0 comments on commit f511677

Please sign in to comment.