Commit graph

366 commits

Author SHA1 Message Date
Will Boyd
fe63a59c5b Moved get_thermal_name(...) from scripts to openmc.data.thermal 2016-08-11 13:38:56 -04:00
Paul Romano
af27542af5 Fix a few docstrings 2016-08-01 21:48:02 -05:00
Paul Romano
08c9036bb6 Ability to link volume calculation results in order to compute microscopic cross
sections from mgxs
2016-08-01 10:37:00 -05: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
933fdd3c81 Allow multiple temperatures to be used in a material 2016-06-08 10:29:09 -05:00
Paul Romano
d16e3fca89 Remove many __deepcopy__ implementations 2016-06-01 07:56:45 -05:00
Adam Nelson
058ba68895 Merge branch 'develop' into mgxs_integration 2016-05-16 19:18:42 -04:00
Will Boyd
2ea3466206 Hotfix for making elements isotropic in lab through Material.make_isotropic_in_lab() method 2016-05-14 22:29:38 -04:00
Adam Nelson
eb20de6a51 Updating per the latest round of comments. This includes simplifying the notebook significantly, and adding a get_xsdata method to Library. 2016-05-13 22:32:48 -04:00
liangjg
95406d52fc update description according to comments 2016-05-09 22:34:18 -04:00
jingang
bbb5690a00 fix errors of setting material density using 'sum' 2016-05-09 19:27:29 -04:00
Paul Romano
7eae7a629d Add nuclides and elements properties on openmc.Material 2016-05-04 11:32:23 -06:00
Paul Romano
879728ea5d Add ability to expand natural elements in Python API 2016-05-03 14:57:07 -06:00
Paul Romano
d9b097dbaf Make Materials, Plots, and Tallies list-like 2016-04-29 16:14:02 -05:00
Sterling Harper
76b2b65ab8 Use basestring instead of str 2016-04-27 18:28:27 -04:00
Sterling Harper
e204952c36 Alow string shortcut to Material.add_element 2016-04-26 23:26:16 -04:00
Paul Romano
1e57cb8407 Respond to @wbinventor comments on #632 2016-04-26 07:08:03 -05:00
Paul Romano
50a80693b5 Rename main Python API classes to get rid of File. 2016-04-25 10:37:06 -05:00
Paul Romano
f622300b7f Various improvements/fixes to Python API. Also fix MPI F08 binding issue. 2016-04-25 08:29:36 -05:00
Paul Romano
14dc134869 Complete overhaul of Python API documentation 2016-04-14 07:22:31 -05:00
Paul Romano
6e6e253fa6 Fix a few issues with MGXS documentation 2016-03-25 13:17:49 -05:00
Adam Nelson
473d3220dc Changes per comments of @smharper and @paulromano 2016-01-16 13:48:06 -05:00
Adam Nelson
08fdb8a91d satisfying @wbinventors pyapi comments 2016-01-09 05:43:28 -05:00
Adam Nelson
05b600819a Updates to MGXS pyapi 2016-01-07 20:20:55 -05:00
Adam Nelson
50f21e6ec8 merging with upstream 2015-12-23 18:24:26 -05:00
wbinventor@gmail.com
37d4d2e9ed Eliminated references to MATERIAL_IDS 2015-12-21 20:52:12 -05:00
wbinventor@gmail.com
ffd0070654 Now using id property setters in Python Summary API 2015-12-21 14:25:42 -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
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
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
Adam Nelson
b3a588766e Added python api example of c5g7 pin, matches my by-hand version 2015-11-16 05:31:16 -05:00
Adam Nelson
683f782744 Added python api to build mgxs library, functionality should be there, but i havent done enough testing to be confident yet. 2015-11-15 15:03:23 -05:00
Adam Nelson
d125bf5bd5 Fixed failing tests 2015-11-14 13:42:23 -05:00
Adam Nelson
baad6cf274 Added python API support for the new options; dont yet have a capability to build the mgxs xml file. Also wrote (and check as needed) the run_CE flag to the summary file and state points. 2015-11-14 13:33:05 -05:00
Will Boyd
baa0b4c10c Now using a "data" descriptor rather than "ace" for the nuclide/element scattering XML tag 2015-11-09 09:26:48 -05:00
Will Boyd
81116a2049 Elements can now use iso-in-lab scattering in adddition to Nuclides 2015-11-08 17:34:04 -05:00
Will Boyd
151fa4d479 Refactored iso-in-lab scattering in physics.F90 to consolidate within scattering routine 2015-11-08 16:57:29 -05:00
Will Boyd
0a0c4c4d5f Merged with develop 2015-11-08 16:01:03 -05:00
Will Boyd
857a2c5734 All object names in Python API now initialized to an empty string 2015-11-03 10:19:42 -05:00
Paul Romano
50c411acfa Add Material.__deepcopy__ method 2015-10-30 07:20:37 -05:00
Will Boyd
c2a29a607d Python API now clears xml element trees before exporting to xml 2015-10-27 17:36:24 -04:00
Will Boyd
b9a439da11 Python API now allows IDs to be greater than or equal to zer 2015-10-12 23:16:45 -04:00
Will Boyd
bfdcc1eabd Now using all OrderedDicts in Python API for input reproducibility. Added tests for MGXS Library with/without nuclides 2015-10-11 02:07:29 -04:00
Will Boyd
54f40eed32 Moved Python builtin routines to beginning of each Python API class 2015-10-08 14:23:19 -04:00
Will Boyd
c4b14a5ef8 Merge branch 'mgxs' into iso-lab 2015-10-06 13:11:57 -04:00
Paul Romano
82b2cda0f6 Merge pull request #469 from smharper/pyapi_tests
Tests built with Python API
2015-10-05 07:49:10 +07:00
Sterling Harper
8030112938 Use OrderedDict for material nuclides in PyAPI 2015-10-03 00:41:42 -04:00