Commit graph

33 commits

Author SHA1 Message Date
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Paul Romano
126cb65113 Don't check returncode in tests 2018-01-23 07:18:33 -06:00
Paul Romano
1f816bb919 Raise CalledProcessError if openmc.run fails 2018-01-23 06:21:42 -06:00
Paul Romano
d2c7486cfc Address @wbinventor comments on #826 2017-03-10 10:43:01 -06:00
Paul Romano
3913d55e2c Allow color names, rename Plot attributes, add openmc.plot_inline() 2017-03-08 14:24:37 -06:00
Paul Romano
5e9b06a861 Better use of verbosity 2017-03-02 09:17:00 -06:00
Paul Romano
106bb0dbe8 Address a few comments from @wbinventor 2017-03-01 21:14:33 -06:00
Paul Romano
fdd7b292ca Ability to run volume calculation with MPI from Python API 2017-02-27 07:36:55 -06:00
Paul Romano
a4dbcca90d Merge branch 'develop' into volume 2017-02-27 07:26:25 -06:00
Adam Nelson
14f6185744 resolved @wbinventor comments on the mesh and executor 2017-02-26 05:39:20 -05:00
Adam Nelson
fc3df18eab Added an openmc.run mode (summary, which just shows the timing and summary results; fixed the generation of cells from a mesh (incorrect ordering of universes in the lattice), xs_shapes for delayed groups had wrong ordering (fixed) in openmc.MGXSLibrary and openmc.Plotter, fixed error in multi-group plots which only plotted one group not all, fixed issue with setting max order to 0 for Legendre scattering (not legendre converted to tabular w/in OpenMC, the default), removed superfluous xs assignments in MG mode which only slowed things down 2017-02-25 08:17:10 -05:00
Paul Romano
f40578dd26 Ability to run volume calculation mode from command line or Python API 2017-02-23 22:23:00 -06:00
Paul Romano
f28a0fcdda Allow arbitrary MPI arguments in openmc.run() 2017-02-17 09:59:25 -06:00
Paul Romano
5a126d086e Use six.string_types instead of basestring 2016-10-06 21:55:12 -05:00
Paul Romano
ad7bff393d Make sure to capture stderr when using openmc.run() 2016-04-27 15:36:36 -05:00
Paul Romano
1e57cb8407 Respond to @wbinventor comments on #632 2016-04-26 07:08:03 -05:00
Paul Romano
50a80693b5 Rename main Python API classes to get rid of File. 2016-04-25 10:37:06 -05:00
Paul Romano
cccca4062a Goodbye openmc.Executor. Hello openmc.run and openmc.plot. 2016-04-25 09:04:52 -05:00
Paul Romano
72659506e0 Use universal newlines in openmc.Executor 2016-02-23 09:26:37 -06:00
Will Boyd
c58c5639de Python API Executor now waits until process has finished before returning from run_simulation(...) routine even if output=False 2015-09-29 09:22:51 -04:00
Will Boyd
d0afb964b7 Removed quotations around string args in __repr__ methods 2015-08-03 21:48:45 -07:00
Will Boyd
bf15c255c3 Added double quotes around exception msgs in Python API 2015-08-03 21:32:06 -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
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
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
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
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
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/executor.py (Browse further)