Commit graph

806 commits

Author SHA1 Message Date
Paul Romano
b1fa2c176f Fix bug in OpenCG compatibility module 2016-07-25 09:10:14 -05:00
samuel shaner
c42b85a4d7 Merge remote-tracking branch 'upstream/develop' into hotfix-mesh-filter 2016-07-05 19:35:33 +00:00
samuel shaner
eb553a75dd changed way num_bins for mesh filter are set in tally.get_slice() method 2016-07-05 12:55:54 +00:00
Sam Shaner
c66cb6ab66 fixed bug in tally.get_slice() method for mesh filters 2016-07-05 08:45:19 -04:00
Paul Romano
b483cfe0b6 Respond to @wbinventor comments on #679 2016-07-02 15:21:58 +07:00
Paul Romano
c7a0b716d2 General cleanup -- both bugs and style issues -- based on running pylint 2016-07-02 11:04:25 +07:00
Paul Romano
2ae943c37c Make sure densities are repeated when calculating microscopic cross sections for
Legendre moments
2016-06-22 13:07:34 +07:00
Sterling Harper
1a1320a2be Address #618 comments 2016-06-16 09:44:29 -05:00
Sterling Harper
2ea00d23b1 Merge remote-tracking branch 'upstream/develop' into multipole 2016-06-15 10:59:18 -05:00
Paul Romano
d30d010aea Merge pull request #673 from nelsonag/aniso
Set MG mode to convert Legendre-expanded anisotropic scattering data in to tabular data by default
2016-06-14 14:44:46 -05:00
Sterling Harper
7163011403 Address #618 comments 2016-06-09 14:11:57 -05:00
Sterling Harper
3280d5465e Merge remote-tracking branch 'upstream/develop' into multipole 2016-06-09 13:32:26 -05:00
Sterling Harper
638ea32e33 Merge pull request #672 from paulromano/element-expansion-fix
When expanding natural elements, make sure order is consistent
2016-06-09 10:27:20 -04:00
Sterling Harper
47e992b889 Merge pull request #667 from paulromano/various-pyapi-changes
Various changes in Python API
2016-06-09 10:21:32 -04:00
Paul Romano
14aaaa6bb8 Make TRISO a special kind of openmc.Cell 2016-06-08 19:47:05 -05:00
Adam Nelson
dffb9858e8 Fixed per @paulromano comments 2016-06-08 19:38:44 -04:00
Paul Romano
933fdd3c81 Allow multiple temperatures to be used in a material 2016-06-08 10:29:09 -05:00
Paul Romano
69f2bc10a8 Warn user if TRISO particle is placed outside of lattice 2016-06-07 20:08:54 -05:00
Sterling Harper
55e1ebff2d Use multiple universes for TRISOs 2016-06-07 20:05:24 -05:00
Adam Nelson
826d5a43d8 Switched tabular_legendre to have a default of true 2016-06-07 20:04:13 -04:00
Paul Romano
e7a9a1e236 When expanding natural elements, make sure order is consistent 2016-06-07 09:17:21 -05:00
Adam Nelson
b41ec2178c Merge remote-tracking branch 'upstream/develop' into aniso 2016-06-07 05:11:46 -04:00
Paul Romano
395cfb092d Remove _isinstance and optimize check_type for ndarrays 2016-06-05 16:33:12 -05:00
Adam Nelson
f747bb4fbd Exposed tabular_legendre to the openmc.Library interface to the MGXS Data library. Also ever-so slightly sped up the tabular scattering runtime 2016-06-05 15:09:32 -04:00
Will Boyd
908e5680a9 Merge pull request #669 from paulromano/mgxs-doc-improvement
Improve documentation of MGXS classes
2016-06-04 18:25:20 -04:00
Paul Romano
87c61fd81d Change D to V as symbol for domain 2016-06-03 19:26:47 -05:00
Paul Romano
96351c9b1c Improve documentation of MGXS classes 2016-06-03 13:33:33 -05:00
Paul Romano
b4910473b2 Throw ImportError if user has h5py 2.6.0. 2016-06-02 16:36:10 -05:00
Paul Romano
07ef67fee0 Initial TRISO modeling capabilities 2016-06-01 10:19:28 -05:00
Paul Romano
d16e3fca89 Remove many __deepcopy__ implementations 2016-06-01 07:56:45 -05:00
Paul Romano
108d8c835b Add colors and filename argument to Universe.plot 2016-05-31 12:53:12 -05:00
Paul Romano
e3c927b021 Fix use of fill_type in universe module 2016-05-31 09:41:15 -05:00
Will Boyd
a787ea8818 Merge pull request #656 from paulromano/pyapi-geometry-improvements
Python API geometry enhancements
2016-05-31 10:31:40 -04:00
Paul Romano
2b219ae15f Refactor handling of cell fill types. Fix Geometry.get_* methods 2016-05-31 08:43:34 -05:00
Paul Romano
0ee6a6169c Fix typo 2016-05-31 06:47:27 -05:00
Adam Nelson
a9462ff7f7 Fixed tallies._can_merge_scores to properly think it can merge a score if the master score list contains the score to be added. 2016-05-30 14:23:06 -04:00
Will Boyd
e2fb00c6a5 Reordered parameters in StatePoint.get_tally(...) 2016-05-30 08:34:08 -04:00
Will Boyd
4fe252ba8a Changes to address comments by @samuelshaner 2016-05-29 23:14:09 -04:00
Will Boyd
a3126e8320 Introduced finer granularity for exact parameter in StatePoint.get_tally(...) to fix MGXS notebook bug 2016-05-29 22:30:28 -04:00
Will Boyd
1ce7952c23 Merge pull request #661 from nelsonag/mgxs_test
Added further tests of MGXS data
2016-05-29 14:25:09 -05:00
Adam Nelson
a3ccb5c7cd Added all mgxs types to tally types for all mgxs library tests and also converted them (save for the distribcell tests) to use the pincell model. Also, this showed there was an error in my multiplicitymatrix class, but thats fixed now 2016-05-29 14:57:00 -04:00
samuel shaner
9898eea1f2 fixed issue with expanded elements into their naturally-occurring isotopes 2016-05-29 17:05:24 +00:00
Paul Romano
08b8082b7b First round of fixes for @wbinventor comments on #656 2016-05-29 10:20:11 -05:00
Adam Nelson
61fb8194a5 Added a test which tests creating MGXS in CE mode and piping in to MG mode. 2016-05-29 10:42:20 -04:00
Will Boyd
7f4637500b Merge remote-tracking branch 'upstream/develop' into exact-get-tally 2016-05-28 22:35:12 -04:00
Will Boyd
6880926587 Added optional boolean exact parameter to StatePoint.get_tally(...) 2016-05-28 21:19:34 -04:00
Paul Romano
eb3f888c89 Allow root_universe to be passed to Geometry constructor 2016-05-27 09:53:07 -05:00
Paul Romano
1f294c614e Remove use of Cell.add_surface in OpenCG compatibility module 2016-05-27 09:53:07 -05:00
Paul Romano
e40a369693 Add geometry plotting capability and restructure lattice attributes 2016-05-27 09:53:07 -05:00
Paul Romano
168f1269fd Add Cell.__contains__ and Cell.rotation_matrix 2016-05-27 09:53:07 -05:00