Commit graph

1359 commits

Author SHA1 Message Date
Paul Romano
f4d0440d4f Remove KM slope NJOY test, other small changes 2022-04-26 17:07:25 -05:00
Paul Romano
f685827912 Make AtomicRepresentation private (leading underscore) 2022-04-26 16:54:23 -05:00
yardasol
09711e9672 alpha -> ccw_offset; consistency changes 2022-04-26 14:05:47 -05:00
yardasol
3c2f0c03ff apply feedback from @paulromano: add checks for sector bounds; make variables less ambiguous 2022-04-26 13:32:14 -05:00
yardasol
e53be38712 pep8 fixes 2022-04-07 19:01:09 -05:00
yardasol
8e1880b01c formatting fixes 2022-04-07 19:00:57 -05:00
yardasol
294f57318d
Merge branch 'develop' into cylinder-sector 2022-04-07 18:55:51 -05:00
Paul Romano
2d911ef6b9
Merge pull request #2023 from yardasol/octagon
`IsogonalOctagon` composite surface
2022-04-07 15:36:46 -05:00
Paul Romano
751d09836c Make 'a' and 'z' properties read-only 2022-04-07 13:20:56 -05:00
yardasol
aa233c80dd
fix typo in new unit test 2022-04-07 11:15:25 -05:00
Paul Romano
a8fd1ddf71 Change iza --> za 2022-04-07 11:11:51 -05:00
Paul Romano
e7595c3201 Don't throw away precision on K-M slope calculation 2022-04-07 10:58:15 -05:00
Paul Romano
af579895dd Refactor K-M slope calculation 2022-04-07 10:55:33 -05:00
yardasol
018296d463 added unit test for checking invalud r1,r2 combos 2022-04-07 10:16:03 -05:00
yardasol
60608ade3c apply @paulromano's suggestions 2022-04-07 10:12:01 -05:00
yardasol
c1008a0d0f update unit test to match new basis for y case 2022-04-05 10:16:11 -05:00
yardasol
a3ae1c254a apply @paulromano's suggestions 2022-04-05 09:50:41 -05:00
yardasol
ff67c85587 use the correct lines variables 2022-04-04 22:13:10 -05:00
yardasol
04d040b4a9 use lat instead of rlat 2022-04-04 22:11:51 -05:00
yardasol
ae881a126d Added unit test 2022-04-04 18:05:40 -05:00
yardasol
f4e96453ab changed Octagon to IsogonalOctagon 2022-04-04 14:24:49 -05:00
yardasol
1648b854a4 Added unit test for Octagon 2022-04-04 12:27:58 -05:00
Joffrey Dorville
cbe9cc8c29 Kalbach-Mann slope calculation for ENDF files when the projectile is a neutron 2022-04-02 00:30:27 -06:00
Paul Romano
5f31e12443 Add test for Region.from_expression case with )( 2022-03-28 13:04:09 -05:00
Patrick Shriwise
b0a4871710
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-16 22:51:47 -05:00
Patrick Shriwise
a29134ef43 Test against flat array now that the attribute is shaped 2022-03-16 12:18:47 -05:00
Patrick Shriwise
695cae9391 Updating wwinp_cyl to meet wwinp spec 2022-03-15 19:10:12 -05:00
Patrick Shriwise
22fc5d8e2c Adding relevant time bin lines to test file 2022-03-15 19:10:12 -05:00
Patrick Shriwise
def829ad76 Improvements to test file from suggestions by @paulromano 2022-03-15 18:52:11 -05:00
Patrick Shriwise
64e039502e PEP8 2022-03-15 10:04:30 -05:00
Patrick Shriwise
176b1a09a3 Updates to attribute name 2022-03-15 09:59:52 -05:00
Patrick Shriwise
61bce00f08 Adding function to resolve the full path to the test data files. 2022-03-15 09:50:34 -05:00
Patrick Shriwise
d79f2899a8 Adding tests for time-dependent and non-rectilinear mesh wws 2022-03-15 09:50:33 -05:00
Patrick Shriwise
6ddce78987 Adding test files for time-dependent and cylindrical mesh weight windows 2022-03-15 09:50:33 -05:00
Patrick Shriwise
7ed72b73fa PEP8 updates for test file 2022-03-15 09:50:32 -05:00
Patrick Shriwise
fe6920afb1 Updates to mesh boundaries for MCNP compliant format in test files 2022-03-15 09:50:32 -05:00
Patrick Shriwise
7abb11f7c4 Adding wwinp test file for neutrons only
Adding wwinp reader test file

Updating tests for more test cases and adding readable labels

Fixes for iteration ordering, shape, and particles read

Updating weight window values of neutron-only file.

Adding neutron-photon and photon-only test files

Updates to wwinp file format. All can be read by MCNP.
2022-03-15 09:50:32 -05:00
Paul Romano
03547555e9
Merge pull request #2000 from pshriwise/wwinp_shape
Update WeightWindow attribute shapes and names
2022-03-14 17:15:12 -05:00
Patrick Shriwise
e807c26436
Merge pull request #2001 from paulromano/lattice-unset-message
Improve error message if user doesn't set lattice universes
2022-03-12 11:01:03 -06:00
Paul Romano
1451e7bfed Improve error message if user doesn't set lattice universes 2022-03-11 19:15:48 -06:00
Patrick Shriwise
b3112dc451
Apply @paulromano suggestions from review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-11 15:33:39 -06:00
Patrick Shriwise
a000921e7c Adding comment for clarity 2022-03-11 11:58:17 -06:00
Patrick Shriwise
1e61ccb27f Add check that ww class can be converted to str successfully 2022-03-11 11:19:51 -06:00
Ethan Peterson
da53fd6e6e added unit test 2022-03-10 15:37:18 -05:00
Paul Romano
6cbd1ed288 Add cell instance test with duplicated lattice 2022-03-09 17:16:17 -06:00
Jonathan Shimwell
aa5e8ec418
Suggestions from PR review by @Paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-07 20:28:24 +00:00
Jonathan Shimwell
4ba635f472
Suggestions from PR review by @Paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-07 20:15:03 +00:00
shimwell
130b3a2dc6 corrected arg type to material 2022-03-03 19:14:00 +00:00
Jonathan Shimwell
51b6d59105 minimal changes to allow mat objects not id strings 2022-03-03 18:14:17 +00:00
Jonathan Shimwell
6257c61c1c
Adding a few more imports back 2022-02-12 00:54:21 +00:00