Commit graph

131 commits

Author SHA1 Message Date
Paul Romano
80b0a1ad25 Add support in Python API for quadric surfaces 2015-10-09 09:36:00 +07:00
Will Boyd
5e732f99a0 Fixed merge conflicts and a bug in Tally.add_score(...) 2015-10-08 13:50:48 -04:00
Will Boyd
f2ccf96ff0 Fixed merge conflicts 2015-10-04 00:32:19 -04:00
Paul Romano
3ca7279bd8 Merge branch 'develop' into complex-cells
Conflicts:
	openmc/opencg_compatible.py
	openmc/surface.py
2015-10-04 10:22:48 +07:00
Sterling Harper
e02a911489 Fix PyAPI summary S(alpha,beta) bug
Material needs to be instantiated before trying to add sab to it
2015-10-03 16:01:37 -04:00
Will Boyd
9c9eb446a1 Cleaning up docstrings for new tally arithmetic routines in tallies.py 2015-10-03 00:48:14 -04:00
Will Boyd
6e9dc5b09f Python API MultiGroupXS.load_from_statepoint(...) routine now resets domain type to get isotopic number densities from OpenMC 2015-09-27 17:14:29 -04:00
Paul Romano
dc118afd2d Add Region.from_expression method 2015-09-26 20:01:07 +07:00
Paul Romano
671b5c7a82 Rename surfaces attribute of <cell> to region. 2015-09-26 20:01:04 +07:00
Paul Romano
acf2e51272 Partial support for cells defined with union and complement operators.
The Python API still has no concept of operators. The Summary class has a hack
to at least be able to read a summary file for now, basically skipping any
operators that are present.
2015-09-26 19:58:16 +07:00
Paul Romano
47abbed148 Use surface type names consistently in XML input and Python API. 2015-09-25 20:38:50 +07:00
Paul Romano
f3f6753820 Respond to remaining comments from @wbinventor on #454 2015-09-25 14:43:32 +07:00
Paul Romano
9bc3b3358c Got rid of maps, offset_size, translated, and rotated datasets. 2015-09-25 10:53:36 +07:00
Paul Romano
397d5fe269 Update file format documentation. Use score_bins instead of scores. 2015-09-21 11:34:03 +07:00
Paul Romano
36a2217487 Write cell surface specification with user ids in summary.h5 2015-09-20 13:55:19 +07:00
Paul Romano
9a0acdebc3 Write constant values as strings in HDF5 formats. This includes things like the
run mode, tally estimator, filter type, tally scores, etc. Also do not write
nuclides in summary file.
2015-09-20 13:55:15 +07:00
Paul Romano
cb3d79a1af Added summary file format in documentation. sab_names now array of strings. 2015-09-19 10:10:19 +07:00
Paul Romano
97a7582c44 Determine Tally.sum, sum_sq, mean, std_dev on demand. No more read_results()! 2015-09-16 18:37:02 +07:00
Paul Romano
8b877960a7 Read/write strings in hdf5_interface as C null-terminated strings. 2015-09-16 07:10:36 +07:00
Will Boyd
3eee7a7301 Hotfix for translations, rotations in Summary Python API 2015-09-15 00:05:55 -04:00
Will Boyd
61ed62b8cf Hotfix for Python summary API resulting from changes made in f8bfa401cb 2015-09-14 17:47:52 -04:00
Sterling Harper
65679c2220 Small fixes for #425 2015-08-07 20:36:21 -06:00
Sterling Harper
1dca4d842b Fix hex lattices in HDF5 summary 2015-08-05 19:10:03 -06:00
Paul Romano
286b0eabe6 Merge pull request #403 from smharper/pyapi-without-h5
Allow Python API to be used without h5py

Conflicts:
	openmc/summary.py
2015-06-29 07:01:00 +07:00
Sterling Harper
dea66bb5f6 Removed unnecessary import h5py import logic #403 2015-06-28 14:05:18 -06:00
Sterling Harper
8e197546ba Allow Python API to be used without h5py 2015-06-26 16:47:44 -06: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
2eb129fc67 More docstrings and updates 2015-06-13 17:21:41 +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/summary.py (Browse further)