Commit graph

13 commits

Author SHA1 Message Date
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
4be3c64da9 Added __hash__ routines to all Python classes based on __repr__ methods 2015-11-29 09:00:47 -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
3e34c5882c Now using property getters in Nuclide and Element __repr__ routines 2015-11-08 17:36:59 -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
54f40eed32 Moved Python builtin routines to beginning of each Python API class 2015-10-08 14:23:19 -04:00
Will Boyd
fe16bb4b10 Fixed tiling/repeating for tally arithmetic needed for micro xs in Python API 2015-09-27 00:29:46 -04:00
Paul Romano
bc513075ac Make a few name arguments in type checks more descriptive. 2015-06-30 08:25:43 +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
528880cd45 Various PEP8 fixes. Mostly using 'is not' and 'not in'. 2015-06-15 10:51:07 +07:00
Paul Romano
7ed1dd17e6 Adding docstrings and updated the element, executor, filter, geometry, material,
mesh, and nuclide 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/element.py (Browse further)