Paul Romano
1e57cb8407
Respond to @wbinventor comments on #632
2016-04-26 07:08:03 -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
fa1ca34094
Respond to @wbinventor comments on #626
2016-04-14 15:57:59 -05:00
Paul Romano
14dc134869
Complete overhaul of Python API documentation
2016-04-14 07:22:31 -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
Will Boyd
857a2c5734
All object names in Python API now initialized to an empty string
2015-11-03 10:19:42 -05:00
Will Boyd
5e5a423b32
Merge branch 'develop' into mgxs
2015-10-24 10:14:14 -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
Paul Romano
80b0a1ad25
Add support in Python API for quadric surfaces
2015-10-09 09:36:00 +07:00
Will Boyd
54f40eed32
Moved Python builtin routines to beginning of each Python API class
2015-10-08 14:23:19 -04:00
Paul Romano
cfb17517eb
Overload __invert__ for Halfspace (return opposite Halfspace)
2015-10-05 07:45:55 +07:00
Paul Romano
4c2e0f5f82
Add examples in docstrings for Halfspace, Intersection, Union, and Complement
2015-10-04 21:47:52 +07: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
Will Boyd
e7cba5b22c
Fixed minor issues with OpenCG surface coefficient properties in compatibility module
2015-10-03 14:54:46 -04:00
Paul Romano
71dfde8d12
Adopt shorthand notation for half-spaces and regions in Python API
...
Surfaces now have __neg__ and __pos__ operators, and regions have __and__,
__or__, and __invert__. This makes the syntax for complex regions much less
bulky.
2015-10-03 09:26:50 +07:00
Will Boyd
78d14133db
Updated OpenCG compatiblity module to reflect move to PEP8 use of underscores in place of camelCase
2015-10-02 01:25:41 -04:00
Paul Romano
df44be3632
Fix bug in XPlane.x0
2015-10-02 11:33:04 +07:00
Paul Romano
1cfff776a5
Started adding changes in Python API for complex cells.
2015-09-26 19:58:16 +07:00
Will Boyd
af6c1412bb
Merge pull request #454 from paulromano/output-improvements
...
More improvements to HDF5 interface and Python API
2015-09-25 10:10:11 -04: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
Sterling Harper
40d38df244
Assume unspecified surface coeffs = 0 in PyAPI
2015-09-19 00:20:27 -04:00
Paul Romano
06d531aa39
Add check_greater_than and check_less_than functions
2015-06-30 16:19:53 +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
1a215cd087
Indicate in docstrings that ids will be assigned automatically for surfaces,
...
cells, and materials.
2015-06-26 21:15:23 +07:00
Paul Romano
b6f5946e1a
Address more comments from @wbinventor
2015-06-26 20:37:44 +07:00
Paul Romano
2eb129fc67
More docstrings and updates
2015-06-13 17:21:41 +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