Commit graph

280 commits

Author SHA1 Message Date
Adam Nelson
6ecc683e2f Python API fix to allow settings UFS Dimension attribute of settings.xml file correctly 2016-02-20 13:14:45 -05:00
Sterling Harper
dc0907a294 Add a toggle to turn multipole on/off 2016-02-16 18:34:39 -05:00
Sterling Harper
e78933d0d3 Allow user to specify multipole library location 2016-02-16 14:57:01 -05:00
Adam Nelson
1aa80bbac8 I think I fixed the failing tests. Travis, do your thing 2016-02-03 13:00:55 -05:00
Adam Nelson
e24a692c79 Merging in to bring up to date. 2016-02-03 10:14:04 -05:00
Adam Nelson
473d3220dc Changes per comments of @smharper and @paulromano 2016-01-16 13:48:06 -05:00
Paul Romano
daeddd8002 Allow SettingsFile.source to have multiple source distributions 2016-01-13 09:56:29 -06:00
Paul Romano
db9ac7ba2f SettingsFile now uses source property based off openmc.source.Source. 2016-01-13 09:39:45 -06:00
Paul Romano
2abc9f1e29 Support for tabular angular and energy distributions.
Implemented new polymorphic Distribution type which is used by
AngleDistribution, both of which appear in distribution_header.
2016-01-13 09:39:45 -06:00
Adam Nelson
08fdb8a91d satisfying @wbinventors pyapi comments 2016-01-09 05:43:28 -05:00
Adam Nelson
ccb15f27ef Merge remote-tracking branch 'upstream/develop' into mg 2016-01-09 05:29:00 -05:00
wbinventor@gmail.com
f1a58ff32c Fixed bug for some subelements of source_point settings element in Python API 2016-01-08 09:27:21 -05:00
Adam Nelson
72518ee07d Fixed my merge issue. Thats what I get for doing a git conflict resolution during the PSU-UM football game. 2015-11-21 13:24:33 -05:00
Adam Nelson
d61e929dac Merged with upsream 2015-11-21 12:41:27 -05: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
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
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
4c18f5b826 Made MGXS subclasses call compute_xs from load_from_statepint 2015-10-28 11:42:19 -04: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
bf15c255c3 Added double quotes around exception msgs in Python API 2015-08-03 21:32:06 -07:00
Paul Romano
0c3a3a8f0a Allow inactive batches to be 0 in Python API 2015-07-01 16:47:49 +07:00
Paul Romano
06d531aa39 Add check_greater_than and check_less_than functions 2015-06-30 16:19:53 +07:00
Paul Romano
98206be1fe Use collections.Iterable rather than collections.Sequence. Unfortunately
ndarrays are not sequences.
2015-06-29 07:50:07 +07:00
Paul Romano
a7a740d08c Add check_type, check_length, and check_value functions that reduce redundancy 2015-06-29 07:50:07 +07:00
Paul Romano
5aaf9974e9 Use collections.Sequence, numbers.Real, and numbers.Integral for checking for
appropriate types. This eliminates the checkvalue module.
2015-06-29 07:50:07 +07:00
Paul Romano
b6f5946e1a Address more comments from @wbinventor 2015-06-26 20:37:44 +07:00
Paul Romano
528880cd45 Various PEP8 fixes. Mostly using 'is not' and 'not in'. 2015-06-15 10:51:07 +07:00
Paul Romano
c8e176a9f7 Continue adding docstrings and updating modules. 2015-06-12 22:04:56 +07:00
Paul Romano
498e07d0bf Move Python API into openmc/ directory and move Python scripts into scripts/
directory.
2015-05-31 09:26:18 +07:00
Renamed from src/utils/openmc/settings.py (Browse further)