Commit graph

5318 commits

Author SHA1 Message Date
Will Boyd
c4c1702391 Merge branch 'develop' into tally-arithmetic 2015-08-03 21:49:09 -07:00
Will Boyd
d0afb964b7 Removed quotations around string args in __repr__ methods 2015-08-03 21:48:45 -07:00
Will Boyd
f012c03e2b Removed quotes from string args in ace.py 2015-08-03 21:34:03 -07:00
Will Boyd
bf15c255c3 Added double quotes around exception msgs in Python API 2015-08-03 21:32:06 -07:00
Sterling Harper
cd4fa9a649 Fix 'atom/b-cm' density type in PyAPI 2015-08-03 21:55:08 -06:00
Will Boyd
a20c2bdc70 Added new EnergyGroups class for MGXS calculations 2015-08-03 20:44:22 -07:00
Will Boyd
f38c3bccfa Removed extraneous README comment 2015-08-03 00:28:13 -07:00
Will Boyd
0625350869 Added __eq__ methods to CrossXXX classes to allow for Tally.get_values with derived Tallies 2015-08-03 00:26:42 -07:00
Will Boyd
fa57c16e7e Renamed _CrossXXX class types to CrossXXX 2015-08-03 00:00:40 -07:00
Will Boyd
79055493e0 Shortened nuclide slice block and added docstring to Tally.slice 2015-08-02 23:52:36 -07:00
Will Boyd
587062ad39 Fixed Tally.get_values(...) bug with filter strides 2015-08-02 23:19:46 -07:00
Will Boyd
7ba69d893b Made Tally.get_values(...) not NumPy squeeze data. Fixed bug in doubly used loop iterator i in Tally.slice(...) 2015-08-02 01:20:30 -07:00
Will Boyd
ce147bd68d Tally slice routine now corrects new tally filter strides 2015-08-01 22:49:53 -07:00
Sterling Harper
2cda46e384 Fix Numpy type issue
Numpy integer types aren't recognized as an instance of Integral, at least not with numpy 1.8.2
2015-08-01 22:00:38 -06:00
Will Boyd
1252dc8689 Fixed split filter loop 2015-07-30 07:57:52 -07:00
Will Boyd
2db8bbe060 Now initialize mean and std_dev to None in Tally.slice(...) 2015-07-29 23:55:17 -07:00
Will Boyd
48a3ffef8d Removed Cross class objects for Filters, Nuclides and scores 2015-07-29 23:49:12 -07:00
Will Boyd
e8ab4b9731 Removed Tally summation, minimum and maximum routines 2015-07-29 23:18:59 -07:00
Will Boyd
f6128ff387 Added docstrings to tally arithmetic routines 2015-07-29 18:47:42 -07:00
Will Boyd
67fb220ada Renamed Tally._cross_product as Tally._outer_product 2015-07-29 18:04:39 -07:00
Will Boyd
dea42d7208 Created new Tally._cross_product(...) routine 2015-07-29 00:39:34 -07:00
Will Boyd
8ecc3c115c Continued cleanup and modularization of tally arithmetic routines 2015-07-29 00:06:07 -07:00
Sterling Harper
315236ea58 Fix PyAPI HexLattice.get_unique_universes()
closes #413
2015-07-27 20:24:10 -06:00
Will Boyd
65383dbce4 Abstracted cross product datatypes into new cross.py 2015-07-26 23:17:59 -07:00
Will Boyd
c36ea824ac Fixed Tally.add_score to accept _CrossScore types 2015-07-26 23:14:17 -07:00
Will Boyd
da4f6a797c Cleaned up tallies.py to use new checkvalue API 2015-07-26 20:06:22 -07:00
Will Boyd
08ad9d7425 Removed remaining errant merge conflict metadata from nuclide.py 2015-07-26 17:59:11 -07:00
Will Boyd
cb626d8951 Merged with develop 2015-07-26 16:13:20 -07:00
Will Boyd
4e6aca6028 Fixed merge conflicts with develop 2015-07-26 16:09:15 -07:00
Will Boyd
501cc3e691 Added mean and standard deviation calculation to property decorators 2015-07-21 07:45:58 -07:00
Sterling Harper
af3ff7b9e3 Fix indexing bug for HexLattice in Python API 2015-07-13 20:43:24 -06:00
Sterling Harper
10f4615d30 Make PyAPI export lattice outer universes 2015-07-08 23:32:54 -06:00
Sterling Harper
57a82f80dc Fix Python API length checking for hex lat pitch 2015-07-08 21:52:58 -06:00
Paul Romano
f304fa04f5 Merge pull request #402 from smharper/simplified_tests
Simplified testing system
2015-07-05 10:37:26 +07:00
Paul Romano
d267bbd784 Fix bug in Executor._run_openmc that caused infinite loop in Python 3 2015-07-02 15:58:02 +07:00
Paul Romano
0c3a3a8f0a Allow inactive batches to be 0 in Python API 2015-07-01 16:47:49 +07:00
Sterling Harper
d7eb6e3852 Specify mpi executable in Executor and TestHarness
for PR #402
2015-06-30 23:20:54 -06:00
Sterling Harper
8b2c515ea6 Specify executable in Executor and TestHarness
for PR #402
2015-06-30 20:14:34 -06:00
Sterling Harper
e3f50f2269 Merge remote-tracking branch 'upstream/develop' into simplified_tests 2015-06-30 19:50:32 -06:00
Paul Romano
c8d0185bac Clarify error messages when checking cell/lattice offsets 2015-06-30 16:25:18 +07:00
Paul Romano
06d531aa39 Add check_greater_than and check_less_than functions 2015-06-30 16:19:53 +07:00
Paul Romano
bc513075ac Make a few name arguments in type checks more descriptive. 2015-06-30 08:25:43 +07:00
Sterling Harper
6cb48baff1 Merge remote-tracking branch 'upstream/develop' into simplified_tests
Conflicts:
	openmc/executor.py
2015-06-29 17:35:07 -06:00
Paul Romano
b221fd640f Add missing import in openmc.filter 2015-06-29 07:50:07 +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
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
647d39f41e Improvements to TestHarness for #402
Now using openmc.executor.  Plot tests use hashed results.
2015-06-28 13:23:24 -06:00