Patrick Shriwise
5e323539ff
Update include/openmc/plot.h
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-06-14 11:15:16 -05:00
Patrick Shriwise
3177819495
Update openmc/capi/plot.py
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-06-14 11:15:16 -05:00
Patrick Shriwise
489b35c90a
Update src/plot.cpp
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-06-14 11:15:16 -05:00
Patrick Shriwise
2d4c9934b7
Small change in spacing.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
8946bbd238
Adding a test plotting overlap regions.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
43959714ee
Allowing overlap color setting via plots.xml
2019-06-14 11:15:16 -05:00
Patrick Shriwise
42ff5a4c85
Adding show_overlaps and overlap_color to Python API.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
2b7057667c
Making sure overlap check counter is initialized if a plot requests that overlaps be drawn.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
e837f2eb19
Adding an xml setting for the showing the overlaps.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
552ab71a50
Making sure default colors aren't being used.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
5c78cd6259
Correcting a couple of issues in setting the OVERLAP value and color.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
02b07a52b6
Adding overlap coloring.
2019-06-14 11:15:16 -05:00
Paul Romano
dc4d98a1cb
Update version to 0.11.0-dev
2019-06-14 09:51:15 -05:00
Patrick Shriwise
04a87e3cf1
Removing materials import from refl/uwuw DagMC tests.
2019-06-14 00:00:46 -05:00
Patrick Shriwise
e86317ecd4
Putting history and last_dir in the simulation namespace.
2019-06-13 23:57:25 -05:00
Andrew Johnson
e702b5186c
Add test for working with depletion_chains in DataLibrary
...
Load the system default cross section file, register a
depletion chain, and inspect the results. Should
have one additional library, with an empty list
of materials.
Export and create a new library from this exported xml.
Examine the contents of the new depletion chain library
2019-06-13 19:35:15 -04:00
Andrew Johnson
52ff408651
Better exporting/importing of depletion_chain in DataLibrary
...
Use str(path) in the path attribute when registering.
This preserves the full path, not just the basename.
Give special depletion_chain tag when exporting a library
of type depletion_chain, rather than using previous library tag
2019-06-13 19:33:17 -04:00
Andrew Johnson
f1e930b8ba
Remove mention of OPENMC_DEPLETE_CHAIN in model.py
2019-06-13 19:06:07 -04:00
Paul Romano
433e6a4dfd
Fix bug in openmc_material_add_nuclide
2019-06-13 14:43:23 -05:00
Paul Romano
75b97b0b34
Add GSL Lite 0.34.0 header-only library
2019-06-13 14:43:23 -05:00
Paul Romano
cb9d0a92b0
Merge pull request #1222 from shikhar413/cmfd-added-funcs
...
Added CMFD Functionality - Tally windows, statepoint write/restart, in-memory functions
2019-06-13 08:01:47 -05:00
Paul Romano
c0512b3213
Merge pull request #1246 from smharper/rect_mesh
...
Add rectilinear tally meshes
2019-06-12 22:40:46 -05:00
Patrick Shriwise
42b5f2aa7e
Adding history reset at the end of the particle transport loop.
2019-06-12 16:38:35 -05:00
Patrick Shriwise
c924606064
Removing some needless lines in cell.cpp
2019-06-12 16:21:24 -05:00
Patrick Shriwise
1aa7abd7fa
Moving some comments.
2019-06-12 15:32:37 -05:00
Patrick Shriwise
39a06fb7de
Merge pull request #1254 from aprilnovak/material-get-density
...
Added method to get total material density.
2019-06-12 14:46:06 -05:00
Andrew Johnson
0c0e591cb7
Simple changes to address reviewer comments
...
Re-organize some imports, use run_in_tmpdir fixture,
use FutureWarning over DeprecationWarning
2019-06-11 13:54:13 -04:00
Andrew Johnson
3429ab21b2
Retrieve depletion_chain for TransportOperator using DataLibrary
2019-06-11 13:36:03 -04:00
Andrew Johnson
ac4056e96d
Support depletion_chain in DataLibrary to/from xml and register
...
DataLibrary.from_xml looks for depletion_chain node in the
cross sections xml file. If found the path to this file is added
to the list of libraries. An empty list of materials is used
for consistency with other libraries. Type and path attributes
are consistent.
DataLibrary.export_to_xml does not write the materials
attribute if the value stored in that library evaluates to False,
e.g. for the empty list stored in the depletion chain.
DataLibrary.register_file has a conditional wherein a passed xml
file is treated as the depletion_chain and hdf5 files are
treated as material/isotopic cross section files.
2019-06-11 12:23:38 -04:00
Andrew Johnson
3c223248a8
Support Path objects for DataLibrary.register_filename
...
HDF5 File object supports reading from file-like objects,
which includes pathlib.Path.
Retain the filename of the path in the libraries list
2019-06-11 11:51:34 -04:00
Paul Romano
e7f3e34088
Fix from_hdf5 for hex lattice with x orientation. Assorted other fixes.
2019-06-10 13:13:52 -05:00
aprilnovak
be7022aff7
Added method to get total material density. Refs #1253
2019-06-09 21:44:18 -07:00
dryuri92
25edd8526d
Merge pull request #3 from paulromano/newhex-clockwise
...
Change order of x-oriented hex lattice universes to clockwise
2019-06-09 14:52:31 +03:00
Patrick Shriwise
f912506b8e
Adding comment to explain DagMC check.
2019-06-08 13:28:21 -05:00
Paul Romano
d36adef280
Fix unit test using Geometry.from_xml on a hex lattice
2019-06-08 06:57:57 -05:00
Patrick Shriwise
bff4f091c7
Finishing test setup.
2019-06-07 17:36:06 -05:00
Patrick Shriwise
d072adc050
Fixes for reflecting DagMC BCs
2019-06-07 17:33:40 -05:00
Paul Romano
853438083a
Change order of x-oriented hex lattice universes to clockwise
2019-06-07 15:33:58 -05:00
Patrick Shriwise
d870734b5c
Placing dagmc tests under their own directory.
2019-06-07 13:32:33 -05:00
Patrick Shriwise
57c581e4b5
Update direction on reflection and use a different call to reset instersections.
2019-06-07 13:17:17 -05:00
Patrick Shriwise
837796add0
Including making TL RayHistory, last_dir available in surface.cpp and adding a reflection method to DAGSurface.
2019-06-07 12:47:30 -05:00
Sterling Harper
6a22a246d8
Merge remote-tracking branch 'upstream/develop' into rect_mesh
2019-06-07 09:29:13 -04:00
Sterling Harper
9ddd8b3067
Change Python Mesh class to RegularMesh
2019-06-07 08:51:09 -04:00
Sterling Harper
b804ddc952
Address comments on #1246
2019-06-06 17:12:49 -04:00
jingang
f57c4b919c
do not set compile/link flags for visual studio generator
2019-06-06 13:26:07 -04:00
Jingang Liang
59046be677
fix reading 2D string vector from attribute in hdf5
2019-06-06 17:20:14 +00:00
jingang
950c684e6c
Set libopenmc as static library in CMake for MSVC: Built openmc.exe
...
successfully with visual studio
2019-06-06 10:47:41 -04:00
jingang
e5b108be7a
fix write 2D char arrays in HDF5
2019-06-06 10:36:15 -04:00
jingang
97b8b6bef7
read windows cross section libaries
2019-06-05 16:22:23 -04:00
jingang
12b5f337d4
HDF5 linking errors
2019-06-05 15:19:24 -04:00