Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
7105950
start surface refactoring
ilhamv Sep 18, 2025
3cc5cc5
wip
ilhamv Sep 18, 2025
09cfeb8
Add AI-generated docstring
ilhamv Sep 22, 2025
b0fb97b
Add AI-generated docstring
ilhamv Sep 22, 2025
5d2adc3
Add AI-generated docstring
ilhamv Sep 22, 2025
29820c4
Add AI-generated docstring
ilhamv Sep 22, 2025
a0cf137
Add AI-generated docstring
ilhamv Sep 22, 2025
f956308
Add AI-generated docstring
ilhamv Sep 22, 2025
8c7fc61
Add AI-generated docstring
ilhamv Sep 22, 2025
d515592
wip
ilhamv Sep 22, 2025
fd33088
wip
ilhamv Sep 22, 2025
443e986
wip
ilhamv Sep 22, 2025
a3b7469
wip
ilhamv Sep 22, 2025
1fea423
wip
ilhamv Sep 22, 2025
8b5c731
wip
ilhamv Sep 22, 2025
8ae6555
wip
ilhamv Sep 22, 2025
db06f83
wip
ilhamv Sep 22, 2025
b2a1861
wip
ilhamv Sep 22, 2025
8f2ed67
wip
ilhamv Sep 22, 2025
608c5cf
wip
ilhamv Sep 22, 2025
e2d9eee
wip
ilhamv Sep 22, 2025
d42e4c0
wip
ilhamv Sep 23, 2025
f7a2335
wip
ilhamv Sep 23, 2025
d5d6773
wip
ilhamv Sep 23, 2025
fbf21aa
wip
ilhamv Sep 23, 2025
9ffd506
wip
ilhamv Sep 23, 2025
8e0135a
wip
ilhamv Sep 23, 2025
678c9a1
remove AI-generated docs
ilhamv Sep 23, 2025
b3243dd
wip
ilhamv Sep 29, 2025
8445e14
working kobayashi
ilhamv Sep 29, 2025
299e2b9
start proper type hinting
ilhamv Sep 29, 2025
884a64a
Improve typing and finalize cell!
ilhamv Sep 30, 2025
4dd877c
wip
ilhamv Sep 30, 2025
77e8e1b
wip
ilhamv Sep 30, 2025
28775e9
wip
ilhamv Sep 30, 2025
2fbdaac
wip
ilhamv Sep 30, 2025
2a540ea
complete typie-hinting
ilhamv Sep 30, 2025
94cda33
complete typie-hinting
ilhamv Oct 1, 2025
8e4ef33
wip
ilhamv Oct 1, 2025
4dc1f73
wip
ilhamv Oct 2, 2025
b5f3d04
use label existence to identify Numba class creation
ilhamv Oct 2, 2025
f9b9531
set structure and numba_fields
ilhamv Oct 6, 2025
25be6e9
set structure and numba_fields
ilhamv Oct 6, 2025
e21a811
get more adventurous on code factory
ilhamv Oct 8, 2025
8b48c6c
objectify source
ilhamv Oct 8, 2025
17a57c4
numbafy source
ilhamv Oct 8, 2025
5b0a823
normalize source probabilities
ilhamv Oct 8, 2025
52f6972
label particle classes
ilhamv Oct 8, 2025
acb7b99
update numba_types.py
ilhamv Oct 8, 2025
8e869cc
objectify and numbafy particle banks
ilhamv Oct 8, 2025
647e803
wip
ilhamv Oct 9, 2025
697d2b2
generate mcdc_get automatically
ilhamv Oct 10, 2025
b8848a9
the getters seem to work
ilhamv Oct 10, 2025
c5bbcf5
use annotation in setting records
ilhamv Oct 10, 2025
2153c59
running but not passing regtest
ilhamv Oct 13, 2025
e23ee59
debugging
ilhamv Oct 13, 2025
3a17560
debugging
ilhamv Oct 13, 2025
92f3fd4
fix rng use inconsistency in regtest answer
ilhamv Oct 13, 2025
65c104b
fix rng use inconsistency in regtest answer
ilhamv Oct 13, 2025
4ca5afa
fix rng use inconsistency in regtest answer
ilhamv Oct 13, 2025
8436359
manage distribution and source
ilhamv Oct 13, 2025
1068d25
make mesh spatial-only
ilhamv Oct 13, 2025
34a00a1
test on uniform mesh
ilhamv Oct 14, 2025
7ff601f
use N_tally rather than loop over all tallies
ilhamv Oct 14, 2025
4fc0956
update regtest
ilhamv Oct 14, 2025
8834226
update on census
ilhamv Oct 14, 2025
f3e0833
back in black
ilhamv Oct 14, 2025
30cbe1b
add technique
ilhamv Oct 14, 2025
f6ceff8
implement implicit capture
ilhamv Oct 14, 2025
d0a35ef
wip
ilhamv Oct 14, 2025
9c043c4
wip
ilhamv Oct 14, 2025
4d82e40
debugging
ilhamv Oct 14, 2025
c6c05b0
remove prints
ilhamv Oct 14, 2025
dd939b5
fix mesh tally score
ilhamv Oct 14, 2025
e40989b
update cooper2
ilhamv Oct 14, 2025
67c9b75
weight_roulette
ilhamv Oct 14, 2025
227dcfe
update regrtest
ilhamv Oct 14, 2025
02605a8
objectify population control
ilhamv Oct 14, 2025
77bc7d6
separate rng from kernel
ilhamv Oct 14, 2025
ccc4f73
improve tally scoring
ilhamv Oct 14, 2025
1511f00
simplif tally object
ilhamv Oct 15, 2025
4c33226
debug mesh tally
ilhamv Oct 15, 2025
d390597
update surface tally scoring
ilhamv Oct 15, 2025
ab2804d
add global tally
ilhamv Oct 15, 2025
a605ab1
debug moving surface
ilhamv Oct 15, 2025
934eeef
add fission score output to cell tally
ilhamv Oct 16, 2025
cfe3bab
fix source normalization and update regtest
ilhamv Oct 16, 2025
ea73f51
debug to fix regtest
ilhamv Oct 17, 2025
db35aff
update regtest
ilhamv Oct 17, 2025
dec3910
fix tally time filter
ilhamv Oct 17, 2025
bc6330b
update regtest
ilhamv Oct 17, 2025
f46c6cd
fix universe translation
ilhamv Oct 17, 2025
72f68cd
update regtest
ilhamv Oct 17, 2025
9d40c03
update regtest
ilhamv Oct 17, 2025
d20b27a
introfduce literal unroll for tally
ilhamv Oct 17, 2025
460f336
fix cell tally time marching
ilhamv Oct 17, 2025
8e74f4a
update output
ilhamv Oct 18, 2025
b530417
update output
ilhamv Oct 18, 2025
3dd33e5
back in black
ilhamv Oct 18, 2025
a5443fe
add visualize
ilhamv Oct 18, 2025
89bb983
update output and config
ilhamv Oct 18, 2025
2774e57
add a comment
ilhamv Oct 18, 2025
3a63ee3
fix tally recombination
ilhamv Oct 19, 2025
b82811b
update regtest
ilhamv Oct 19, 2025
5c2a837
update regtest
ilhamv Oct 19, 2025
0ed257a
work on eigenvalue
ilhamv Oct 19, 2025
1f727ee
reorder eigenvalue simulation
ilhamv Oct 19, 2025
59957d4
improve bank normalize
ilhamv Oct 19, 2025
aaf4f79
add weighted emission
ilhamv Oct 19, 2025
808fe4c
working kornreich
ilhamv Oct 19, 2025
d65986a
update regtest
ilhamv Oct 19, 2025
ab5d5c5
iron out non-black
ilhamv Oct 19, 2025
7c5591e
improve getter setter creations
ilhamv Oct 19, 2025
2373bb5
add comment on mcdc_get and mcdc_set
ilhamv Oct 20, 2025
636d1f3
working continuous energy fixed source
ilhamv Oct 21, 2025
06cae0b
running eigenvalue ce
ilhamv Oct 21, 2025
4badda4
back in black
ilhamv Oct 21, 2025
27a8d47
running lattice
ilhamv Oct 21, 2025
94ef990
use mcdc_set
ilhamv Oct 21, 2025
1430f1f
remove togo
ilhamv Oct 22, 2025
d540ec7
remove togo from adapt
ilhamv Oct 22, 2025
92ea5bc
improve for numba
ilhamv Oct 22, 2025
a173d07
wip for base polymorphic fields
ilhamv Oct 22, 2025
6f7e019
add polymorphic base fields
ilhamv Oct 22, 2025
66ebed5
get a running ce physics
ilhamv Oct 22, 2025
6609af7
print ID in reaction repr
ilhamv Oct 23, 2025
2ced824
working continuous energy physics
ilhamv Oct 23, 2025
cf92afd
fix BC to boundary_condition
ilhamv Oct 23, 2025
b0075aa
numba works on fixed-source
ilhamv Oct 23, 2025
bed97e2
working contin uous energy eigenvalue
ilhamv Oct 23, 2025
eb44e23
back in black
ilhamv Oct 23, 2025
0b1be57
update regtest gh workflow
ilhamv Oct 24, 2025
4721baa
update regtest gh workflow
ilhamv Oct 24, 2025
e4384a4
update regtest gh workflow
ilhamv Oct 24, 2025
3b39299
update regtest gh workflow
ilhamv Oct 24, 2025
c39ff1c
update regtest gh workflow
ilhamv Oct 24, 2025
ee890f3
update regtest gh workflow
ilhamv Oct 24, 2025
9899859
update regtest for mpi run
ilhamv Oct 24, 2025
f9572a1
only master rank generates files in code_factory
ilhamv Oct 24, 2025
3b2f34c
debug uniform mesh output
ilhamv Oct 25, 2025
7418025
fix recombine_tally
ilhamv Oct 25, 2025
78f4055
reset sun bins in census-based tally
ilhamv Oct 29, 2025
87b8771
update regtest
ilhamv Oct 30, 2025
8c9094e
cleanup examples
ilhamv Oct 30, 2025
9f29c3f
cleanup examples
ilhamv Oct 30, 2025
fd442bd
improve looping in tally accumulation
ilhamv Oct 30, 2025
5bd9f8a
update example
ilhamv Oct 31, 2025
38c5595
update example
ilhamv Oct 31, 2025
1ba8fb3
update examples
ilhamv Oct 31, 2025
595066a
update examples
ilhamv Oct 31, 2025
d8542ab
update examples
ilhamv Oct 31, 2025
c928562
check mesh crossing in tally scoring
ilhamv Oct 31, 2025
079a2dc
back in black
ilhamv Oct 31, 2025
cec2e3f
add N_batch to commandline option
ilhamv Nov 3, 2025
ae0c5db
add idx_work and report the indices when a particle is lost
ilhamv Nov 3, 2025
4089aa9
decrease COINCIDENCE_TOLERANCE
ilhamv Nov 3, 2025
fce5794
update example
ilhamv Nov 3, 2025
2c884a0
removing tally data creation on Python side
ilhamv Nov 3, 2025
b66c272
wip
ilhamv Nov 4, 2025
c4011f8
improve code factory
ilhamv Nov 4, 2025
845b9fa
update code factory
ilhamv Nov 4, 2025
f5a9eaa
remove unused function in transport/kernel
ilhamv Nov 3, 2025
a52559b
add multiplier to tally
ilhamv Nov 3, 2025
5af6b1e
update visualize
ilhamv Nov 4, 2025
a2b3772
fix bug in mesh indexing
ilhamv Nov 5, 2025
00b4ef3
remove redundant regtest
ilhamv Nov 5, 2025
0519922
remove old getter generator
ilhamv Nov 6, 2025
2354c33
cleaning kernel.py
ilhamv Nov 6, 2025
1b7b9f9
update regtest
ilhamv Nov 6, 2025
ba6090e
update regtest
ilhamv Nov 6, 2025
87ad6f6
add new example
ilhamv Nov 6, 2025
b6c0099
debug numba wrinkle
ilhamv Nov 6, 2025
f8413b3
clean up temporarily dropped item during refactoring
ilhamv Nov 6, 2025
9244a1e
move out distribute_work
ilhamv Nov 7, 2025
3b95cc7
move move_to_event out of kernel.py
ilhamv Nov 7, 2025
93ed503
move particle operations out of kernel.py
ilhamv Nov 7, 2025
552dee6
back in black
ilhamv Nov 7, 2025
2bd7d1c
rename P into particle
ilhamv Nov 7, 2025
7efdfe4
cleanup simulation
ilhamv Nov 7, 2025
9565f19
move particle bank operations out of kernel.py
ilhamv Nov 7, 2025
61d5f40
add TODO comment
ilhamv Nov 7, 2025
197e801
add data_library_generator
ilhamv Nov 17, 2025
394b673
update data generator
ilhamv Nov 17, 2025
ca44e39
fix component-based fission; consider energy-correlated cosine emission
ilhamv Nov 17, 2025
7e5c5e1
start checking if anisotropic fission is really true
ilhamv Nov 17, 2025
48dcc0f
check if anisotropic fission neutron is really anisotropic
ilhamv Nov 17, 2025
286528b
add comment on supported angular distribution
ilhamv Nov 17, 2025
5981077
use environment variables for directories
ilhamv Nov 17, 2025
23a2163
reorganize fission
ilhamv Nov 17, 2025
72f597f
add level, kalbach-mann, and energy-angle distribution
ilhamv Nov 17, 2025
2406af3
stick with MeV
ilhamv Nov 17, 2025
bfdfe1c
Add N-body energy distribution
ilhamv Nov 17, 2025
db4d1c4
attempt to only accept linear interpolation
ilhamv Nov 17, 2025
74d4302
allow different number of energy distributions and multiplicities
ilhamv Nov 17, 2025
5562fe5
add option
ilhamv Nov 18, 2025
75fbcd8
utilize header to select target files
ilhamv Nov 18, 2025
7f2c7f0
add progress postfix
ilhamv Nov 18, 2025
37580d8
minimal tqdm prints
ilhamv Nov 18, 2025
707c87b
ignore, but check, linear interpolation
ilhamv Nov 18, 2025
4e26be8
add fission spectra
ilhamv Nov 18, 2025
40b0957
consider non-constant multi-distribution probabilities
ilhamv Nov 18, 2025
0779e61
also show ace file name
ilhamv Nov 18, 2025
8e8f685
consider uniquely-treated constant probability
ilhamv Nov 18, 2025
3cdd569
reformat name. add summary
ilhamv Nov 19, 2025
2521682
reformat name
ilhamv Nov 19, 2025
2db77ce
manage reaction groups
ilhamv Nov 19, 2025
35f407a
minor edit
ilhamv Nov 19, 2025
5e7e7c8
ensure elastic scattering angular dist is tabulated
ilhamv Nov 20, 2025
ab3ebdc
update multi-distribution and energy-angle-tabulated
ilhamv Nov 21, 2025
abd0aef
fix multi-distribution probabilities
ilhamv Nov 21, 2025
d2a7f4e
working front end
ilhamv Nov 21, 2025
12f2f38
cleaning up some imports
ilhamv Nov 21, 2025
8aba3ef
move delayed fissiondata to nuclide
ilhamv Nov 22, 2025
15d9017
working implementation
ilhamv Nov 24, 2025
f067dcd
update reference frame
ilhamv Nov 24, 2025
6cb1ed7
update neutron speed; fix n-body distribution
ilhamv Nov 26, 2025
67f330d
fix energy unit
ilhamv Nov 27, 2025
4fba69a
add table log interpolation, needed for maxwellian temperature
ilhamv Nov 28, 2025
a8268aa
add gpu_meta
ilhamv Nov 28, 2025
8a7ef16
start merging adapt
ilhamv Nov 29, 2025
dee924f
remove togo leftover
ilhamv Dec 1, 2025
9265db6
fix circular imports
ilhamv Dec 1, 2025
1fcf4ad
remove workflow leftovers
ilhamv Dec 1, 2025
6194b27
update workflow
ilhamv Dec 1, 2025
03bdaa5
update workflow
ilhamv Dec 1, 2025
ddf1404
back in black
ilhamv Dec 1, 2025
32b2475
temporarily hide outdated unit tests
ilhamv Dec 1, 2025
109227f
fix particle bank add in native physics
ilhamv Dec 1, 2025
867f8dc
untrack dynamic file
ilhamv Dec 1, 2025
626803e
update native physics regression tests
ilhamv Dec 1, 2025
5840245
update regression test data retrieval
ilhamv Dec 1, 2025
156d745
update regression test data retrieval
ilhamv Dec 1, 2025
d98beb3
back in black
ilhamv Dec 1, 2025
068ecb8
update regtest gitignore
ilhamv Dec 1, 2025
df9cf7a
Atttempt to fix build the docs test
ilhamv Dec 1, 2025
4d531a2
consider rank having zero censused particle
ilhamv Dec 2, 2025
ed1bbcf
remove legacy continuous energy data generator script
ilhamv Dec 2, 2025
720d66f
remove old dependencies
ilhamv Dec 2, 2025
a949dd6
cleanup pyproject file
ilhamv Dec 2, 2025
72c4882
specify numpy dependency
ilhamv Dec 2, 2025
b17ba05
add regtest option
ilhamv Dec 2, 2025
a6df7af
add harmonize to code_factory
ilhamv Dec 2, 2025
f41131c
import adapt inside gpu logic in code_factory
ilhamv Dec 2, 2025
0a0a010
attempt to fix harmonize integration
ilhamv Dec 2, 2025
4c93594
include dev flag when pip install
ilhamv Dec 2, 2025
c1861b3
include dev flag when pip install
ilhamv Dec 2, 2025
1f9ec3f
fix oversized census-to-source bank transfer
ilhamv Dec 3, 2025
4e93843
anticipate specific names without native physics
ilhamv Dec 3, 2025
1eebbca
adjust bank buffer for parallel runs
ilhamv Dec 3, 2025
83e6d96
check global bank sizes to determine simulation termination
ilhamv Dec 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/workflows/black_lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Black Style Check

on:
push:
pull_request:

jobs:
Expand Down
56 changes: 31 additions & 25 deletions .github/workflows/docs_test.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
name: Test Build the Docs

on: [push, pull_request, workflow_dispatch]
on:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-22.04"]
build-docs:
runs-on: "ubuntu-22.04"
timeout-minutes: 60

steps:
- uses: actions/checkout@v3
- name: Set up python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: debug
run: |
pwd
ls
- uses: mpi4py/setup-mpi@v1
- name: Install dependencies
run: |
pip install --user . mcdc[docs]
pip list
- name: Build the Docs
run: |
cd docs
make html
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip

- name: Set up MPI
uses: mpi4py/setup-mpi@v1

- name: Install docs dependencies
run: |
python -m pip install --upgrade pip
# If you have extras for docs, use this:
python -m pip install ".[docs]"
# Otherwise, something like:
# python -m pip install . sphinx sphinx-autodoc-typehints ...
python -m pip list

- name: Build the docs
working-directory: docs
run: make html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: GPU regression test

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
Expand Down
27 changes: 16 additions & 11 deletions .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Regression Tests

on:
push:
pull_request:

jobs:
Expand Down Expand Up @@ -37,12 +36,14 @@ jobs:

- name: Install MC/DC
run: |
pip install -e .
pip install -e .[dev]
pip list

- name: Run Python regression tests (serial)
working-directory: test/regression
run: python run.py
run: |
git clone https://github.com/CEMeNT-PSAAP/MCDC-regression_test_data.git
python run.py --include_native_physics

python-regression-mpi:
name: Python regression (MPI)
Expand Down Expand Up @@ -76,14 +77,15 @@ jobs:

- name: Install MC/DC
run: |
pip install -e .
pip install -e .[dev]
pip list

- name: Run Python regression tests (MPI)
working-directory: test/regression
run: |
python run.py --mpiexec=4
python run.py --mpiexec=16 --name=slab_reed_dd_3d
git clone https://github.com/CEMeNT-PSAAP/MCDC-regression_test_data.git
python run.py --include_native_physics --mpiexec=4
python run.py --include_native_physics --mpiexec=16 --name=slab_reed_dd_3d

numba-regression-serial:
name: Numba regression (serial)
Expand Down Expand Up @@ -117,12 +119,14 @@ jobs:

- name: Install MC/DC
run: |
pip install -e .
pip install -e .[dev]
pip list

- name: Run Numba regression tests (serial)
working-directory: test/regression
run: python run.py --mode numba
run: |
git clone https://github.com/CEMeNT-PSAAP/MCDC-regression_test_data.git
python run.py --include_native_physics --mode numba

numba-regression-mpi:
name: Numba regression (MPI)
Expand Down Expand Up @@ -156,11 +160,12 @@ jobs:

- name: Install MC/DC
run: |
pip install -e .
pip install -e .[dev]
pip list

- name: Run Numba regression tests (MPI)
working-directory: test/regression
run: |
python run.py --mode numba --mpiexec=4
python run.py --mode numba --mpiexec=16 --name=slab_reed_dd_3d
git clone https://github.com/CEMeNT-PSAAP/MCDC-regression_test_data.git
python run.py --include_native_physics --mode numba --mpiexec=4
python run.py --include_native_physics --mode numba --mpiexec=16 --name=slab_reed_dd_3d
3 changes: 1 addition & 2 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Unit Tests

on:
push:
pull_request:

jobs:
Expand Down Expand Up @@ -37,7 +36,7 @@ jobs:

- name: Install MC/DC
run: |
pip install -e .
pip install -e .[dev]
pip list

- name: Run unit tests
Expand Down
28 changes: 0 additions & 28 deletions config_cont_energy.sh

This file was deleted.

194 changes: 0 additions & 194 deletions examples/c5g7/2d/k-eigenvalue-iqmc/input.py

This file was deleted.

Loading
Loading