Commit graph

423 commits

Author SHA1 Message Date
Paul Romano
5f08f92282 Fix bug in Complement.bounding_box. Also remove a few unused variables 2015-12-14 07:36:22 -06:00
Paul Romano
f84a4ee430 Avoid DeprecationWarning from xml.etree.Element.getchildren() 2015-12-08 07:19:31 -06:00
Paul Romano
b671b1a299 Merge pull request #524 from wbinventor/hotfix-mgxs-keff
Hotfix for keff in MGXS Library
2015-12-07 15:14:43 -06:00
wbinventor@gmail.com
01f2e8372e Changed MGXS Library keff storage based on runmode of k-eigenvalue 2015-12-07 15:35:36 -05:00
Will Boyd
d3b0d9fe29 Merge pull request #523 from paulromano/fixes-for-release
Few minor fixes ahead of release
2015-12-07 13:48:03 -05:00
Paul Romano
3de4f1fce7 Merge pull request #522 from wbinventor/mgxs-keff
Store keff in MGXS Library
2015-12-07 09:07:07 -06:00
Paul Romano
5d65f2557e Fix warning on definition list in mgxs.Library.get_mgxs 2015-12-07 08:23:50 -06:00
wbinventor@gmail.com
f822a22152 Moved DeprecationWarning filter to top of universe module 2015-12-07 08:53:36 -05:00
wbinventor@gmail.com
e55f9fb3ee Now only store keff in MGXS Library for eigenvalue calculations 2015-12-07 08:48:41 -05:00
wbinventor@gmail.com
510711e92f Now store keff as an attribute in MGXS Library class 2015-12-06 19:58:19 -05:00
wbinventor@gmail.com
9bf8964edd Made DeprecationWarning for Cell.add_surface(...) only print once 2015-12-06 17:45:27 -05:00
Paul Romano
7afebb029b Address @wbinventor comments on #516 2015-12-03 07:31:02 -06:00
Paul Romano
48d5f2219d Fix error in bounding boxes for y- and z-planes. 2015-12-02 13:48:59 -06:00
Paul Romano
8506f32c4f Ability to determine bounding boxes for Regions 2015-12-02 08:48:58 -06:00
wbinventor@gmail.com
8b91ce82b0 Updated MGXS Notebooks per comments from @paulromano 2015-12-02 09:18:19 -05:00
wbinventor@gmail.com
9ce20a372b Merge branch 'develop' into mgxs-ipython-notebooks 2015-12-01 18:30:31 -05:00
Paul Romano
a9277163ef Merge pull request #513 from wbinventor/pyapi-__eq__
Comparison methods for Python classes
2015-12-01 11:46:23 -06:00
wbinventor@gmail.com
fa14244b62 Merge branch 'pyapi-__eq__' into mgxs-ipython-notebooks 2015-12-01 10:17:35 -05:00
wbinventor@gmail.com
7be1b7a609 Now using hash(repr(self)) instead of hash(str(self)) in Python API 2015-12-01 10:13:37 -05:00
wbinventor@gmail.com
1697dce546 Merge branch 'pyapi-__eq__' into mgxs-ipython-notebooks 2015-11-30 22:52:23 -05:00
wbinventor@gmail.com
6f5cdf174f Initial implementation with trio of MGXS IPython Notebooks 2015-11-29 21:39:03 -05:00
wbinventor@gmail.com
d26a86f5f1 Reverted to set notation in Geometry.get_all_material_cells() now that __hash__ is implemented everywhere 2015-11-29 09:13:28 -05:00
wbinventor@gmail.com
f09ec9582b Shortened FIXME block in Material.__eq__ 2015-11-29 09:06:25 -05:00
wbinventor@gmail.com
4be3c64da9 Added __hash__ routines to all Python classes based on __repr__ methods 2015-11-29 09:00:47 -05:00
Sam Shaner
74ffcb4475 Merge remote-tracking branch 'upstream/develop' into outer-product 2015-11-25 13:09:11 -08:00
wbinventor@gmail.com
a7c923a82c The openmc geometry setter for the mgxs library now clears any old opencg geometry 2015-11-25 14:15:54 -05:00
wbinventor@gmail.com
8c0d269843 Commented out material density and nuclides comparision on __eq__ - need to confer with @paulromano on how to properly implement this 2015-11-25 13:44:20 -05:00
wbinventor@gmail.com
fca533e3d1 Added __eq__ and __ne__ method to Cell, Universe, Lattice and Material classes in Python API 2015-11-25 12:45:57 -05:00
Sam Shaner
70e7ce9b3b fixed issue with python 2 and 3 discrepancies for tally arithmetic tests 2015-11-25 09:34:35 -08:00
wbinventor@gmail.com
a11950f94a Now over-riding openmc/opencg geometries in MGXS Library when loading from StatePoint 2015-11-24 22:01:12 -05:00
wbinventor@gmail.com
0ad1153556 Merge branch 'develop' into opencg-rots-hotfix 2015-11-24 21:11:51 -05:00
wbinventor@gmail.com
db550a0537 Fixed bug casting OpenCG rotations to integers is now double 2015-11-24 21:08:54 -05:00
Sam Shaner
fb9e676bb7 changed inline to inplace in tallies.py 2015-11-23 09:16:38 -05:00
Sam Shaner
f9204ce66e fixed bug in cross filter deepcopy and fixed bug in tally arithmetic 2015-11-20 13:06:20 -05:00
Paul Romano
7e5974a233 Merge pull request #508 from wbinventor/pyapi-fix-src
Python API Support for Fixed Source Calculations
2015-11-20 06:53:51 -06:00
Will Boyd
f61408fb21 Changed Python API SettingsFile not run_mode in to more Pythonic run_mode not in 2015-11-19 20:58:30 -05:00
Sam Shaner
f458e825ce added inline option to swap tally method 2015-11-19 20:54:31 -05:00
Will Boyd
fca18c7de4 Reverted to original ordering for Python API Settings XML attribute creation 2015-11-19 17:47:29 -05:00
Will Boyd
4d8015d11d Implemented initial fixed source mode in Python API 2015-11-19 17:41:01 -05:00
Sam Shaner
8c6d14ed23 added default in doc string for tally summation remove_filter 2015-11-19 16:50:11 -05:00
Sam Shaner
df3b9ed017 fixed error in cross.py and added remove_filter attribute to tally summation 2015-11-19 16:47:55 -05:00
Sam Shaner
e2d2f90c5b Merge remote-tracking branch 'upstream/develop' into outer-product 2015-11-19 11:23:13 -05:00
Adam Nelson
8fb299aa51 Merge pull request #502 from wbinventor/mgxslib-granularity
Fine-Grained MGXS Library Domain Control
2015-11-18 16:49:26 -05:00
Will Boyd
e7cb734607 Merge remote-tracking branch 'upstream/develop' into mgxslib-granularity 2015-11-18 11:57:45 -05:00
Will Boyd
9e4cd5ae2b Fixed typo in error checking in MGXS Library domains setter per comment by @nelsonag 2015-11-18 11:57:36 -05:00
Will Boyd
cfe1f1dfcd Added check to MGXS Library domains setter to compare with domains in geometry 2015-11-18 11:10:31 -05:00
Will Boyd
7abbee6df6 Revised docstring Params -> Parameters for alpha transparency 2015-11-18 11:05:10 -05:00
Will Boyd
0c7d58457e Now using American English for gray (not grey) in alpha transparency 2015-11-18 11:04:09 -05:00
Will Boyd
1060ed37b0 Fixed merge conflict with color-schemes branch 2015-11-18 11:02:52 -05:00
Will Boyd
4d3c97f698 Made upper bound for random colors 256 per comments by @paulromano 2015-11-18 11:01:12 -05:00