Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3051 commits
Select commit Hold shift + click to select a range
ad5dc57
Merge pull request #2497 from eepeterson/docs_typo
paulromano Apr 27, 2023
43437e9
TransferRates (old msr continuous capabilities) (#2358)
church89 Apr 28, 2023
4cadcbc
more flexible cross section plotting (#2478)
shimwell Apr 28, 2023
dea5e46
Update neutron_physics.rst (#2504)
huw-rhys-jones May 1, 2023
0a950eb
Reworking Tally::add_filter a bit (#2501)
pshriwise May 2, 2023
4248bef
Auto origin and width for plots (#2492)
shimwell May 2, 2023
4500658
Fix meaning of "masking" for plots (#2510)
paulromano May 3, 2023
e3d8982
docs: typo fix (#2514)
kingyue737 May 4, 2023
1cb2207
Changed xml to lxml (#2489)
myerspat May 9, 2023
eeb8a1f
skip test that fails if VTK is missing (#2517)
gonuke May 12, 2023
6561838
reordered list initialization of constructor in plot.cpp to respect h…
lewisgross1296 May 13, 2023
d8dbd9b
auto width and origin for edge cases (#2512)
shimwell May 15, 2023
ec220fa
updated doc string type for tally.nuclide (#2526)
shimwell May 17, 2023
d6ebf26
update catch2 submodule to latest commit (#2522)
LukeLabrie May 21, 2023
3a93929
adding BoundingBox.extent and RegularMesh.bounding_box (#2507)
shimwell May 22, 2023
d6eac66
added mkdir to cwd argument in run (#2523)
shimwell May 23, 2023
6c7f857
Auto pixel calc for universe plot (#2513)
shimwell May 23, 2023
16b955f
Fix docstring for MicroXS class (#2540)
paulromano Jun 1, 2023
4c69d91
Add virtual destructor on PlottableInterface (#2541)
paulromano Jun 1, 2023
74fb280
creating parent dirs for output_dir (#2543)
shimwell Jun 2, 2023
19282cb
Remove misleading warn message from deplete.chain.py (#2544)
church89 Jun 4, 2023
7479a90
Fix spherical coords again. (#2538)
pshriwise Jun 6, 2023
a288e42
corrected pixel index for axis height (#2553)
shimwell Jun 8, 2023
c123ce0
New `multiply_density` option on tallies (#2539)
paulromano Jun 9, 2023
610a5d8
Global Weight Window Generation via CAPI (#2359)
pshriwise Jun 9, 2023
bc4e951
Fix potential out-of-bounds access in TimeFilter (#2532)
paulromano Jun 11, 2023
6693ff3
Add issue and pull request templates (#2560)
paulromano Jun 12, 2023
98c4eb2
Several small documentation updates (#2558)
paulromano Jun 13, 2023
787b3e0
Use `multiply_density` in depletion reaction rate helper classes (#2559)
paulromano Jun 15, 2023
c5bc230
Transfer rates mpi (#2551)
church89 Jun 16, 2023
96d150a
Add C++ format check to GitHub Actions (#2554)
pshriwise Jun 16, 2023
0fcb174
Add support for curvilinear elements when exporting cylindrical and s…
pshriwise Jun 16, 2023
3eeb131
Add support for import of wwinp files using cylindrical and spherical…
pshriwise Jun 16, 2023
ee7b952
Static errors continuation (#2557)
shimwell Jun 17, 2023
eda39ad
Python source class refactor (#2524)
pshriwise Jun 21, 2023
2536cae
allowing stepresult to save to a path (#2567)
shimwell Jun 21, 2023
8ce5c73
Remove initial dilute nuclides in depletion (#2568)
paulromano Jun 21, 2023
93a0855
Fix test error and deprecation warnings from numpy 1.25 (#2573)
paulromano Jun 22, 2023
8cc1c33
Updating source definitions in examples (#2571)
pshriwise Jun 23, 2023
e94d59c
Remove use of sscanf for reading surface coefficients (#2574)
paulromano Jun 24, 2023
b489023
Option units for geometry plot (#2575)
shimwell Jun 24, 2023
b5e5446
Weight window update method fixes (#2578)
pshriwise Jun 25, 2023
19e4c37
Remove use of mgxs module in MicroXS.from_model (#2572)
paulromano Jun 25, 2023
f200e44
Allow transfer rates with nuclides. (#2564)
yardasol Jun 26, 2023
51cf475
Add `get_mass()` function to `openmc.deplete.Results` (#2565)
yardasol Jun 26, 2023
b6c621f
Change "update_params" to "update_parameters" in test suite: test_ww_…
j-fletcher Jun 28, 2023
36f229e
Remove initial dilute nuclides in MicroXS (#2579)
paulromano Jun 29, 2023
382bcb2
Updates to object lifecycle for WeightWindows and WeightWindowGenerat…
pshriwise Jul 1, 2023
21d8847
Simplify infinity check (#2587)
caderache2014 Jul 5, 2023
9741469
Update variable names for depletion 'n' vectors (#2583)
paulromano Jul 6, 2023
e3cd406
Pulse height tally for photons (#2452)
cfichtlscherer Jul 10, 2023
3e1a5a5
Support for NCrystal material in from_xml_element (#2496)
nicriz Jul 10, 2023
0666e3a
Fix for muir std. dev. (#2598)
pshriwise Jul 14, 2023
c5f5511
Bank surface source particles in all active cycles (#2592)
paulromano Jul 14, 2023
3f9cd0d
Fix R < r torus intersection bug (#2589)
egor1abs Jul 14, 2023
922b3f9
Cylindrical prism with optional filleted edges (#2309)
yardasol Jul 18, 2023
8101328
Build h5py against Cython < 3.0 in CI (#2613)
paulromano Jul 20, 2023
b5001ee
Multigroup Per-Thread Cache Conversion (#2591)
jtramm Jul 21, 2023
50c3103
Adding type hints to meshes (#2601)
shimwell Jul 21, 2023
6de37eb
updated docs to use IndependentSource (#2604)
shimwell Jul 21, 2023
7397dae
Mesh dimension doc string to include order details (#2610)
shimwell Jul 22, 2023
afa6ceb
Adding ability to set additional ww attrs from openmc.lib (#2609)
pshriwise Jul 22, 2023
d47e9a1
allowing geometry to be fully made via constructor (#2602)
shimwell Jul 23, 2023
3152a2e
XML read fixes in Plot classes (#2623)
paulromano Jul 25, 2023
77aedc5
Fix mention of cmake flag in troubleshooting guide (#2622)
paulromano Jul 25, 2023
e7d1a13
Add get_activity() function to deplete.Results class (#2617)
kevinm387 Jul 25, 2023
cd13d34
Adds MPACT library group structures and documentation to mgxs collect…
bscollin Jul 25, 2023
557880a
Allowing CylindricalMesh and SphericalMesh to be fully made via const…
shimwell Aug 5, 2023
f9c17dd
Improving documentation on the return array of openmc.lib.id_map (#2630)
pshriwise Aug 5, 2023
cce80fe
Spherical bb (#2620)
caderache2014 Aug 6, 2023
c340d4b
Add get_decay_heat() function to deplete.Results (#2625)
kevinm387 Aug 6, 2023
75a5d84
Cylindrical bb (#2621)
caderache2014 Aug 6, 2023
46866cb
Check for zero fission cross section before sampling fission reaction…
paulromano Aug 9, 2023
1d29adc
added missing Depletable to __repr__ (#2639)
shimwell Aug 12, 2023
e332861
adding cell name to volume calculation when possible (#2652)
bam241 Aug 18, 2023
e8de4c1
Improved get step where value error msg (#2654)
shimwell Aug 18, 2023
471caa5
Set cross_sections for element expansion in Material.add_element() (#…
joshmay1 Aug 19, 2023
b62b62a
Added inf check in VolumeCalculation. (#2634)
rlbarker Aug 19, 2023
0964024
added universe plot tests to catch color=None and axis values (#2637)
shimwell Aug 19, 2023
fa245b0
Fixing `Universe.plot` seed. (#2647)
pshriwise Aug 19, 2023
457bea6
replaced ordereddict with {} (#2641)
shimwell Aug 19, 2023
03f98e8
time-cutoff version 2.0 (#2631)
cfichtlscherer Aug 19, 2023
8e77a1f
Expose universe plotting for the cell class (#2648)
pshriwise Aug 20, 2023
d687ce4
added cell name to vol calc print out (#2656)
shimwell Aug 20, 2023
ffbf1b9
Expose universe plotting for the geometry class (#2661)
shimwell Aug 22, 2023
06d6437
Tweaks to Universe::find_cell (#2662)
pshriwise Aug 24, 2023
eea5223
Always set html_theme in readthedocs configuration (#2667)
paulromano Aug 25, 2023
c93feed
Account for integral of underlying distributions when sampling Mixtur…
paulromano Aug 31, 2023
d21b653
Refactor MicroXS class and usage in IndependentOperator (#2595)
paulromano Aug 31, 2023
1cae2f7
Prevent segfault in distance to boundary calculation (#2659)
paulromano Sep 1, 2023
27540c5
Releasing ID after creating dummy universe for cell plotting (#2663)
pshriwise Sep 1, 2023
20877c6
Adding helpful info to keyerror for StepResults.get_material (#2674)
shimwell Sep 1, 2023
7a13bf6
Update documentation around use of source classes (#2679)
paulromano Sep 2, 2023
2de2023
Adding missing origin to CylindricalMesh.from_domain (#2676)
shimwell Sep 4, 2023
a42b9ba
cy mesh origin from start of z_grid and _r_grid (#2680)
shimwell Sep 4, 2023
a125f81
fix docker image building for openmc+dagmc combination (#2678)
shimwell Sep 5, 2023
be7a9c3
cylindrical mesh lower left Z value corrected (#2684)
shimwell Sep 6, 2023
7505f61
Warn users about bad equiprobable angles in S(a,b) (#2675)
HunterBelanger Sep 6, 2023
f46d3ee
Streamlined URR PRNG stream selection to avoid unneeded store/load op…
jtramm Sep 11, 2023
1c82dfc
Transfer rates multiple destination (#2626)
church89 Sep 13, 2023
0cf29f1
Add type checks on Intersection, Union, Complement (#2685)
paulromano Sep 13, 2023
bbd7756
Allow decay only nuclides to be specified in `Material` for a depleti…
yardasol Sep 14, 2023
c8c5afa
Allowing WeightWindowGenerator to be fully made via constructor (#2686)
shimwell Sep 14, 2023
ccb76b3
Refactor of translation from mesh handle to index for DAGMC geometry.…
pshriwise Sep 14, 2023
7b0eb9d
Avoid warning due to bounding box calculation in Universe.plot (#2681)
paulromano Sep 14, 2023
98fe64d
Make sure FluxCollapseHelper loads missing nuclide data (#2694)
paulromano Sep 15, 2023
d4c40aa
remove meaningless const qualifiers from plot.h (#2695)
gridley Sep 15, 2023
7fdda4a
Allow mesh domain in `get_microxs_and_flux` (#2700)
paulromano Sep 22, 2023
f4183b0
fixed typo in CF4Integrator docstring (#2704)
eepeterson Sep 24, 2023
0f429e7
simplifying LEQI docstring math and removing unnecessary operations (…
eepeterson Sep 25, 2023
989875b
allowing different volume methods for diff mat (#2691)
shimwell Sep 26, 2023
d765bd0
Limit number of lost particles written to disk. (#2688)
Sep 26, 2023
9b7b33c
Ruff comments on code (#2696)
shimwell Sep 26, 2023
9cf2f22
Apply Weight Window Upon Surface Crossing (#2670)
XinyanBradley Sep 26, 2023
11a4638
Faster indexing in `MicroXS` object (#2702)
eepeterson Sep 26, 2023
0c6da38
Ensure that property setters are used in CylindricalMesh and Spherica…
paulromano Sep 27, 2023
972dd73
add cross section data caching (#2706)
johvincau Sep 27, 2023
d4b989a
ci badge on readme points to develop status (#2712)
shimwell Sep 27, 2023
f7bb27e
Making z-grid relative to the mesh origin in from_domain. (#2710)
pshriwise Sep 27, 2023
fd91729
Fix volume calculation IO format docs and `sample_external_source` bu…
paulromano Sep 27, 2023
eb3eec8
added padding arg to bounding_region (#2701)
shimwell Sep 29, 2023
61c4352
Clip low-importance points from discrete distributions (#2715)
paulromano Sep 30, 2023
ca49d81
disable cross section loading on plot mode (#2690)
bam241 Oct 7, 2023
00104ce
Correct `openmc.lib` wrapper for `evaluate_legendre`. (#2729)
pshriwise Oct 13, 2023
03c1c6a
moved diff_burnable_mat to model (#2718)
shimwell Oct 17, 2023
4d3a198
Updates to mesh vertices and centroids (#2711)
pshriwise Oct 17, 2023
bd1c228
Make BoundingBox a mutable type and add convenience methods. (#2717)
pshriwise Oct 17, 2023
7fe80e1
Fix parsing xml files when running openmc-plotter in regions with com…
ecasglez Oct 18, 2023
55a682d
Property name swap for points in local mesh coordinates (#2732)
pshriwise Oct 19, 2023
f82bdaa
Bug fix in `Region.from_expression` during tokenization (#2733)
paulromano Oct 20, 2023
e851c57
Correct cylindrical/spherical centroids. (#2736)
pshriwise Oct 20, 2023
979c164
Check for invalid domain IDs in volume calculations (#2742)
paulromano Oct 23, 2023
079629b
Add section in developer's guide about possible reasons for failing t…
paulromano Oct 23, 2023
b465a83
Skip BC check for volume calculations (#2743)
pshriwise Oct 23, 2023
751ea98
Adding info on clang-format version used in CI (#2748)
pshriwise Oct 24, 2023
02bd680
Fix type hint in Materials class (#2745)
paulromano Oct 30, 2023
2c1e304
Fix bug in selecting data temperatures to read with temperature inter…
paulromano Oct 30, 2023
693314d
Leaky and Albedo Boundary Conditions Implementation (#2724)
nutcasev15 Oct 30, 2023
94f02ae
Bump version to 0.14.0-dev (#2740)
paulromano Oct 31, 2023
ac941f7
Add RectangularPrism and HexagonalPrism composite surfaces (#2739)
paulromano Nov 1, 2023
19f121a
Python mesh coordinates reorder (#2730)
pshriwise Nov 1, 2023
7aaccbb
Fix loop over particle coordinate levels for source domain rejection …
paulromano Nov 2, 2023
847e9b5
added check for group name (#2752)
shimwell Nov 2, 2023
fa23301
Release of version 0.14.0 (#2754)
paulromano Nov 6, 2023
7c14603
Change version number to 0.14.1-dev (#2760)
paulromano Nov 7, 2023
910d1df
fix unit conversion in openmc.deplete.Results.get_mass (#2761)
nplinden Nov 9, 2023
a3695c7
Filter material from (#2750)
bam241 Nov 9, 2023
24e1c95
Fix lagrangian interpolation (#2775)
pshriwise Nov 15, 2023
9830efa
change identity matrix format to csr in cram (#2771)
eepeterson Nov 21, 2023
cad9fdc
Modifications to deplete_with_transfer_rates regression test suite (#…
eepeterson Nov 27, 2023
b66c6d4
In volume calculation mode, only load atomic weight ratio from data f…
paulromano Nov 28, 2023
8b2698f
Change matrix format to CSC in depletion (#2764)
eepeterson Nov 28, 2023
e8faccd
Call simulation_finalize if needed when finalizing OpenMC (#2790)
pshriwise Nov 28, 2023
1d4cd9b
F90_NONE Removal (MGMC tallying optimization) (#2785)
jtramm Nov 28, 2023
87e00f7
Add inline to openmc::interpolate (#2789)
paulromano Nov 29, 2023
47c37f5
Correctly apply volumes to materials when using DAGMC geometries (#2787)
nplinden Nov 29, 2023
e0d0381
Mesh Source Class (#2759)
pshriwise Dec 2, 2023
ec8850d
OpenMPMutex "Copying" (#2794)
jtramm Dec 4, 2023
3901709
Do not link against several transitive dependencies of HDF5 (#2797)
paulromano Dec 6, 2023
fe07c54
Pytest Update Documentation (#2801)
jtramm Dec 12, 2023
a833c17
Adding get cylindrical mesh index at specified coordinates (#2782)
shimwell Dec 12, 2023
124e62f
added path arg to integrator.integrate (#2784)
shimwell Dec 12, 2023
15a2199
adding get_all_nuclides method to geometry class (#2796)
shimwell Dec 12, 2023
552adc0
added check to length of input args for IndependantOperator (#2799)
shimwell Dec 12, 2023
85c963e
Move 'import lxml' to third-party block of imports (#2803)
paulromano Dec 13, 2023
3efd242
Fix creation of meshes when from loading settings from XML (#2805)
paulromano Dec 13, 2023
fb65dfd
Avoid high memory use when writing unstructured mesh VTK files (#2806)
paulromano Dec 14, 2023
53363da
Consolidating number of threads and thread number queries into the op…
pshriwise Dec 19, 2023
f590029
microxs from mg flux and chain file (#2755)
Dec 22, 2023
4116566
Provide error message if a cell path can't be determined (#2812)
pshriwise Dec 27, 2023
2e4811b
Ensure particle direction is normalized for plotting / volume calcula…
paulromano Dec 28, 2023
b0926ea
Prevent underflow in calculation of speed (#2811)
paulromano Jan 3, 2024
63cb7c2
added missing meshes to lib docs (#2820)
shimwell Jan 4, 2024
cc15f5e
Fix config change not propagating through to decay energies (#2825)
gridley Jan 11, 2024
d8e9d58
Reset timers at correct place in deplete (#2821)
gridley Jan 11, 2024
971c5f7
Ensure that implicit complement cells appear last in DAGMC universes …
paulromano Jan 15, 2024
5549b58
Geometron (#2744)
gridley Jan 16, 2024
d7d2230
Fix locating h5m files references in DAGMC universes (#2842)
paulromano Jan 16, 2024
6391606
Use huge_tree=True in lxml parsing (#2791)
yrrepy Jan 17, 2024
4fa3fbc
Make creation of spatial trees based on usage for unstructured mesh. …
pshriwise Jan 17, 2024
057c33a
Expose `Material::depletable` in the CAPI (#2843)
pshriwise Jan 17, 2024
2c5b740
Update copyright to 2024 (#2846)
paulromano Jan 17, 2024
187160d
Ability to compute material volume fractions over mesh elements (#2802)
paulromano Jan 19, 2024
0785500
Updating file extension for Excel files when exporting MGXS data (#2852)
pshriwise Jan 19, 2024
b97149d
removed error raising when calling warn (#2853)
shimwell Jan 20, 2024
fca4da4
Export model.tallies to XML in CoupledOperator (#2840)
gridley Jan 23, 2024
e6a36ff
Add C API function for getting mesh bins for rasterized plot (#2854)
paulromano Jan 23, 2024
09eb33a
Fix compilation on CentOS 7 (missing link to libdl) (#2849)
arekfu Jan 23, 2024
cb7ef00
Setting surf_source_ attribute for DAGMC surfaces. (#2857)
pshriwise Jan 30, 2024
f14fc55
Add bounding_box property to RectilinearMesh and UnstructuredMesh (#2…
paulromano Jan 31, 2024
bf33a9e
Add `openmc_mesh_get_volumes` C API function (#2869)
paulromano Feb 13, 2024
33c910d
Fix issue with Cell::get_contained_cells() utility function (#2873)
jtramm Feb 15, 2024
5005c3c
type hinting openmc.deplete.abc.py (#2866)
shimwell Feb 15, 2024
3b575a4
Adding openmc.read_source_file (#2858)
pshriwise Feb 16, 2024
e8f68a0
adding resulting nuclide to cross section plot legend (#2851)
shimwell Feb 17, 2024
b3a2456
Added checks that tolerance value is between 0 and 1 (#2884)
rlbarker Feb 26, 2024
a8f7a61
removed unused step_index arg from restart (#2867)
shimwell Feb 28, 2024
02c0a09
fix expansion filter merging (#2882)
gridley Feb 29, 2024
b75ccd5
Adding energy axis units to plot xs (#2876)
shimwell Feb 29, 2024
aa0516f
abort on cmake config if openmp requested but not found (#2893)
gridley Mar 6, 2024
7ed1278
Clarifying documentation for Cones (#2892)
MicahGale Mar 9, 2024
c4a75f7
Ensure that Model.run() works when specifying a custom XML path (#2889)
paulromano Mar 12, 2024
0f07420
docs: add missing max_splits in settings specification (#2910)
kingyue737 Mar 12, 2024
539f58d
Changed CI to use latest actions to get away from the Node 16 depreca…
MicahGale Mar 13, 2024
d10e128
Fixed small sphinx typo (#2915)
MicahGale Mar 13, 2024
231fcb6
Mkdir to always allow parents and exist ok (#2914)
shimwell Mar 17, 2024
23f19a0
Implemented contains for BoundingBox containing other BoundingBox (#2…
MicahGale Mar 21, 2024
ce7efa4
Fix Chain.form_matrix to work with scipy 1.12 (#2922)
paulromano Mar 23, 2024
9fee653
Prepare for NumPy 2.0 (#2845)
paulromano Mar 26, 2024
1a34ddf
Fix CMFD to work with scipy 1.13 (#2936)
paulromano Apr 4, 2024
cc848ef
Meshborn filter (#2925)
JoffreyDorville Apr 4, 2024
0aad22d
Allow get_microxs_and_flux to use OPENMC_CHAIN_FILE environment varia…
eepeterson Apr 5, 2024
27bd315
changing y axis label for heating plots (#2859)
shimwell Apr 5, 2024
704cfbf
Updating docker file base to bookworm (#2890)
shimwell Apr 7, 2024
db3b6f3
added missing functions and classes to openmc.lib docs (#2847)
shimwell Apr 7, 2024
c85ba93
Fix distribcell labels for lattices used as fill in multiple cells (#…
pshriwise Apr 8, 2024
463299d
Polygon fix to better handle colinear points (#2935)
eepeterson Apr 8, 2024
70ba23a
Update xtl and xtensor submodules (#2941)
HunterBelanger Apr 8, 2024
fea90e0
updated package versions in Dockerfile (#2946)
shimwell Apr 8, 2024
569c087
Depletion restart with mpi (#2778)
church89 Apr 9, 2024
256150f
Ensure that two surfaces with different boundary type are not conside…
paulromano Apr 11, 2024
26280bc
Add MPI calls to DAGMC external test. (#2948)
pshriwise Apr 11, 2024
cfebe16
added check for length of value passed into EnergyFilter (#2887)
shimwell Apr 11, 2024
9fd096b
Add a `max_events` setting. (#2945)
pshriwise Apr 11, 2024
4ba053c
Generate Region Plots Directly (#2895)
pshriwise Apr 12, 2024
e77a524
Support UnstructuredMesh for IndependentSource (#2949)
pshriwise Apr 12, 2024
2974d53
Update minimum Python version to 3.8 (#2958)
paulromano Apr 15, 2024
d53155d
Added fix to cfloat_endf for length 11 endf floats (#2967)
aidancrilly Apr 18, 2024
5111aa2
Random Ray Transport (#2823)
jtramm Apr 18, 2024
b53b601
Tiny updates from experience building on Mac (#2894)
gridley Apr 20, 2024
cddb3be
Add C to list of cmake project languages (#2969)
paulromano Apr 20, 2024
b54b1e9
Update bounding_box docstrings (#2972)
paulromano Apr 24, 2024
6b08f75
make uwuw optional (#2965)
LukeLabrie Apr 24, 2024
1d56adb
added damage-energy as optional reaction for micro (#2903)
shimwell Apr 24, 2024
3370ce1
Print warning if no natural isotopes when using add_element and wrote…
cxtherineyu Apr 24, 2024
f543c00
Statepoint file loading refactor and CAPI function (#2886)
pshriwise Apr 24, 2024
7936b8a
Support track file writing for particle restart runs. (#2957)
pshriwise Apr 24, 2024
ff50afb
Allow pure decay IndependentOperator (#2966)
gridley Apr 24, 2024
95b15f9
moved apt get to optional ci parts (#2970)
shimwell Apr 25, 2024
d1d37a5
Allow MOAB k-d tree to be configured (#2976)
paulromano Apr 26, 2024
e8ae706
Update CODEOWNERS file (#2974)
paulromano Apr 26, 2024
5d2b352
f strings instead of .format for string editing (#2987)
shimwell Apr 29, 2024
d1366c0
Update random_dist.h comment to be less specific (#2991)
gridley May 2, 2024
c976653
Allow zero bins in tally triggers (#2928)
tjlaboss May 2, 2024
6e57f1d
Compute homogenized materials over mesh elements (#2971)
paulromano May 2, 2024
cfe210d
Allow MeshSource to take a 1D array of sources (#2980)
paulromano May 3, 2024
a7d6939
Fixes reordering in random ray. Refs #2997 (#2998)
aprilnovak May 14, 2024
1702b45
Restricted file source (#2916)
May 15, 2024
bfad0a7
added notebook testing on PR to master
shimwell May 21, 2024
a42189b
action to run example notebooks
shimwell Jun 2, 2024
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: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
QualifierAlignment: Left
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
Expand Down
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Applied clang-format to all source files
1bc2bd84600c8d2ca9253339c167401127f6a9f3
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Report a bug that is preventing proper operation
title: ''
labels: Bugs
assignees: ''

---

<!--
If you are a user of OpenMC and are running into trouble with the code or are
seeking general user support, we highly recommend posting on the OpenMC
discourse forum first. GitHub issues should be used specifically for bug reports
and feature requests.

https://openmc.discourse.group/

-->

## Bug Description
<!--A clear and concise description of the problem (Note: A missing feature is not a bug).-->


## Steps to Reproduce
<!--Steps to reproduce the behavior (input file, or modifications to an existing input file, etc.)-->


## Environment
<!--Operating system, OpenMC version, how OpenMC was installed, nuclear data being used, etc.-->
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Troubleshooting and User Support
url: https://openmc.discourse.group/
about: For user support and troubleshooting, please use our Discourse forum
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Documentation improvement
about: Found something incomplete or incorrect in our documentation?
title: ''
labels: Documentation
assignees: ''

---

<!--Describe the issue with the documentation and include a URL to the corresponding page-->
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest a new feature or enhancement to existing capabilities
title: ''
labels: ''
assignees: ''

---

## Description
<!--What is the feature or enhancement?-->


## Alternatives
<!--If alternative solutions have been considered, describe them here and the reasoning for the chosen solution --->


## Compatibility
<!--Will the enhancement change existing APIs or add something new?-->
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
If you are a first-time contributor to OpenMC, please have a look at our
contributing guidelines:
https://github.com/openmc-dev/openmc/blob/develop/CONTRIBUTING.md
-->

# Description

Please include a summary of the change and which issue is fixed if applicable. Please also include relevant motivation and context.

Fixes # (issue)

# Checklist

- [ ] I have performed a self-review of my own code
- [ ] I have run [clang-format](https://docs.openmc.org/en/latest/devguide/styleguide.html#automatic-formatting) (version 15) on any C++ source files (if applicable)
- [ ] I have followed the [style guidelines](https://docs.openmc.org/en/latest/devguide/styleguide.html#python) for Python source files (if applicable)
- [ ] I have made corresponding changes to the documentation (if applicable)
- [ ] I have added tests that prove my fix is effective or that my feature works (if applicable)
<!--
While tests will automatically be checked by CI, it is good practice to
ensure that they pass locally first. See instructions here:
https://docs.openmc.org/en/latest/devguide/tests.html
-->
130 changes: 92 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,119 +20,173 @@ env:
COVERALLS_PARALLEL: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


jobs:
main:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8]
python-version: ["3.10"]
mpi: [n, y]
omp: [n, y]
dagmc: [n]
ncrystal: [n]
libmesh: [n]
event: [n]
vectfit: [n]

include:
- python-version: 3.6
- python-version: "3.8"
omp: n
mpi: n
- python-version: "3.9"
omp: n
mpi: n
- python-version: 3.7
- python-version: "3.11"
omp: n
mpi: n
- python-version: "3.12"
omp: n
mpi: n
- dagmc: y
python-version: 3.8
python-version: "3.10"
mpi: y
omp: y
- ncrystal: y
python-version: "3.10"
mpi: n
omp: n
- libmesh: y
python-version: 3.8
python-version: "3.10"
mpi: y
omp: y
- libmesh: y
python-version: 3.8
python-version: "3.10"
mpi: n
omp: y
- event: y
python-version: 3.8
python-version: "3.10"
omp: y
mpi: n
- vectfit: y
python-version: 3.8
python-version: "3.10"
omp: n
mpi: y
name: 'Python ${{ matrix.python-version }} (omp=${{ matrix.omp }},
mpi=${{ matrix.mpi }}, dagmc=${{ matrix.dagmc }},
name: "Python ${{ matrix.python-version }} (omp=${{ matrix.omp }},
mpi=${{ matrix.mpi }}, dagmc=${{ matrix.dagmc }}, ncrystal=${{ matrix.ncrystal }},
libmesh=${{ matrix.libmesh }}, event=${{ matrix.event }}
vectfit=${{ matrix.vectfit }})'
vectfit=${{ matrix.vectfit }})"

env:
MPI: ${{ matrix.mpi }}
PHDF5: ${{ matrix.mpi }}
OMP: ${{ matrix.omp }}
DAGMC: ${{ matrix.dagmc }}
NCRYSTAL: ${{ matrix.ncrystal }}
EVENT: ${{ matrix.event }}
VECTFIT: ${{ matrix.vectfit }}
LIBMESH: ${{ matrix.libmesh }}
NPY_DISABLE_CPU_FEATURES: "AVX512F AVX512_SKX"
OPENBLAS_NUM_THREADS: 1
# libfabric complains about fork() as a result of using Python multiprocessing.
# We can work around it with RDMAV_FORK_SAFE=1 in libfabric < 1.13 and with
# FI_EFA_FORK_SAFE=1 in more recent versions.
RDMAV_FORK_SAFE: 1

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

-
name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
-
name: Environment Variables

- name: Environment Variables
run: |
echo "DAGMC_ROOT=$HOME/DAGMC"
echo "OPENMC_CROSS_SECTIONS=$HOME/nndc_hdf5/cross_sections.xml" >> $GITHUB_ENV
echo "OPENMC_ENDF_DATA=$HOME/endf-b-vii.1" >> $GITHUB_ENV

-
name: Apt dependencies
- name: Apt dependencies
shell: bash
run: |
sudo apt -y update
sudo apt install -y libmpich-dev \
sudo apt install -y libpng-dev \
libnetcdf-dev \
libpnetcdf-dev \
libhdf5-serial-dev \
libhdf5-mpich-dev \
libeigen3-dev

- name: Optional apt dependencies for MPI
shell: bash
if: ${{ matrix.mpi == 'y' }}
run: |
sudo apt install -y libhdf5-mpich-dev \
libmpich-dev
sudo update-alternatives --set mpi /usr/bin/mpicc.mpich
sudo update-alternatives --set mpirun /usr/bin/mpirun.mpich
sudo update-alternatives --set mpi-x86_64-linux-gnu /usr/include/x86_64-linux-gnu/mpich

-
name: install
- name: Optional apt dependencies for vectfit
shell: bash
if: ${{ matrix.vectfit == 'y' }}
run: sudo apt install -y libblas-dev liblapack-dev

- name: install
shell: bash
run: |
echo "$HOME/NJOY2016/build" >> $GITHUB_PATH
$GITHUB_WORKSPACE/tools/ci/gha-install.sh
-
name: before

- name: cache-xs
uses: actions/cache@v4
with:
path: |
~/nndc_hdf5
~/endf-b-vii.1
key: ${{ runner.os }}-build-xs-cache

- name: before
shell: bash
run: $GITHUB_WORKSPACE/tools/ci/gha-before-script.sh
-
name: test

- name: test
shell: bash
run: $GITHUB_WORKSPACE/tools/ci/gha-script.sh
run: |
CTEST_OUTPUT_ON_FAILURE=1 make test -C $GITHUB_WORKSPACE/build/
$GITHUB_WORKSPACE/tools/ci/gha-script.sh

-
name: after_success
- name: Install OpenMOC for notebook testing
if: github.base_ref == 'master'
shell: bash -l {0}
run: |
cd ~
git clone https://github.com/mit-crpg/openmoc &&
cd openmoc
# OpenMOC has some custom commands that rely on setuptools/distutils
python setup.py install
# install twice to make sure openmoc.py is copied into the installation location
python setup.py install

- name: Execute all Notebooks
if: github.base_ref == 'master'
shell: bash -l {0}
run: |
git clone https://github.com/mit-crpg/openmoc
cd openmoc
pytest -v .test

- name: after_success
shell: bash
run: |
cpp-coveralls -i src -i include --exclude-pattern "/usr/*" --dump cpp_cov.json
cpp-coveralls -i src -i include -e src/external --exclude-pattern "/usr/*" --dump cpp_cov.json
coveralls --merge=cpp_cov.json --service=github

finish:
needs: main
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
76 changes: 76 additions & 0 deletions .github/workflows/ci_openmc-notebooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Test Notebooks

on:
# Allow this workflow to be run manually
workflow_dispatch:
# Run for pull requests to master branch
pull_request:
branches:
- master

jobs:
# Set the job key
test-notebooks:
# Name the job
name: Test Jupyter Notebooks
# Set the type of machine to run on
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2


- name: Install conda environment
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: jupyter-actions
environment-file: .github/environment.yml
python-version: 3.7

- name: Install OpenMC
shell: bash -l {0}
run: |
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda activate jupyter-actions
conda install -c conda-forge openmc

- name: Cache Cross Sections
id: xs-cache
uses: actions/cache@v3
with:
# use this cache as long as the download script doesn't change
key: xs-cache-${{ hashfiles('.test/download-xs.sh') }}
path: ~/endfb-vii.1-hdf5/*

- name: Download OpenMC Cross Sections
shell: bash -l {0}
if: steps.xs-cache.outputs.cache-hit != 'true'
run: |
./.test/download-xs.sh

- name: Set Environment Variables
shell: bash -l {0}
run: |
echo "OPENMC_CROSS_SECTIONS=$HOME/endfb-vii.1-hdf5/cross_sections.xml" >> $GITHUB_ENV

- name: Install OpenMOC
shell: bash -l {0}
run: |
conda init bash
source ~/.bashrc
conda activate jupyter-actions
cd ~
git clone https://github.com/mit-crpg/openmoc &&
cd openmoc
# OpenMOC has some custom commands that rely on setuptools/distutils
python setup.py install
# install twice to make sure openmoc.py is copied into the installation location
python setup.py install

- name: Execute all Notebooks
shell: bash -l {0}
run: |
conda activate jupyter-actions
pytest -v .test
Loading