jingang
970aa6ea9a
fixed compiling errors with visual studio, mostly VLAs
2019-06-05 15:18:31 -04:00
dryuri92
8d29648687
Merge pull request #2 from paulromano/newhex-fixes
...
Fixes to x-orientation hex lattice branch
2019-06-05 13:46:24 +03:00
Shikhar Kumar
afc23d0cf1
Update results_true.dat for cmfd_feed_2g and cmfd_feed_ng
2019-06-04 20:51:48 -04:00
Shikhar Kumar
0bfbd2c823
numpy errstate required for serr
2019-06-04 20:13:21 -04:00
Shikhar Kumar
5e8f50dd2e
Merge branch 'develop' of https://github.com/openmc-dev/openmc into cmfd-added-funcs
2019-06-04 18:28:40 -04:00
Shikhar Kumar
c16154e84a
Remove openmc_load_cmfd_tallies, address comments from @paulromano
2019-06-04 18:28:19 -04:00
Paul Romano
d1a2640ac3
Rename lattice_hex_OX -> lattice_hex_x
2019-06-04 16:00:50 -05:00
Paul Romano
3794c3eec4
Update documentation for hex lattice
2019-06-04 15:59:54 -05:00
Paul Romano
a465dcdb16
Consistently use 'x' / 'y' for hex lattice orientation
2019-06-04 15:59:51 -05:00
dr.yuri
98a95d048a
test works with x
2019-05-31 10:30:40 +03:00
dr.yuri
d860266892
test lattice OX according to PEP8
2019-05-31 02:38:06 +03:00
Andrew Johnson
f700861646
Add test for the instantiation of deplete.Operator
...
Construct a minimal cross sections xml file that only
contains the depletion_chain node required by
the Operator. The path to this file is set to the
OPENMC_CROSS_SECTIONS file, and reverted after the test.
The depletion_chain points towards the chain_simple.xml
files, and a reference Chain is produced in the test.
The test involves creating a bare Operator instance, that
constructs a chain based on the temporary
OPENMC_CROSS_SECTIONS file. This chain is compared to
that produced by reading the chain_simple.xml file stored
in the test directory.
2019-05-30 18:01:33 -04:00
dryuri92
de0ffecdd5
Accept changes by P.Romano
2019-05-31 00:59:54 +03:00
Andrew Johnson
cc98d13793
Read chain file for deplete.Operator from OPENMC_CROSS_SECTIONS
...
If a chain_file is not passed when initializing an
openmc.deplete.Operator object, then the chain_file will
be read from the depletion_chain node from
$OPENMC_CROSS_SECTIONS. A deprecation warning is raised
if the environment variable OPENMC_DEPLETE_CHAIN is
still set, informing the users that this information
can instead be placed in their cross section file.
Documentation is updated describing the logic in the
chain_file search to reflect this in
- TransportOperator
- Operator
- Chain
.
Closes #1239
2019-05-30 17:57:31 -04:00
dryuri92
40e8f3c22c
simple change
2019-05-30 22:40:09 +03:00
dryuri92
feac9c83a8
is3d separately
2019-05-30 22:38:54 +03:00
dryuri92
40b5c23aab
add call fucntion by reference
2019-05-30 22:35:35 +03:00
dryuri92
0333c5d500
call function by ref
2019-05-30 22:10:07 +03:00
dryuri92
4e0c52a628
rename HexOrientation to Orientation
2019-05-30 22:06:36 +03:00
dr.yuri
fb7a895ce9
removed unused marks
2019-05-30 14:13:27 +03:00
dr.yuri
00f346d40c
add a decoding method to transform bytes to string
2019-05-30 13:55:32 +03:00
dr.yuri
8ae6c30d6b
correct python code
2019-05-30 12:29:33 +03:00
dr.yuri
8910c3199b
Merge branch 'newhex' of https://github.com/dryuri92/openmc into newhex
2019-05-30 11:28:32 +03:00
dryuri92
86dc85621b
Update lattice.py with sharper recomendation
2019-05-30 11:26:49 +03:00
dryuri92
818a6c245b
Update constants.h
2019-05-30 11:02:42 +03:00
dr.yuri
79f792c09a
New regression test for lattice with OX orient
2019-05-30 10:54:08 +03:00
Sterling Harper
7cf1822410
Add RectilinearMesh to documentation
2019-05-29 22:02:43 -04:00
Paul Romano
11eb891e21
Add a LocalCoord::rotate method as suggested by @pshriwise
2019-05-29 15:09:12 -05:00
Sterling Harper
1dd3ffbfcc
Merge pull request #1236 from paulromano/thermal-elastic-bugfix
...
Bug fix: calculating thermal elastic scattering cross section
2019-05-29 15:51:22 -04:00
Sterling Harper
7f8e993e93
Implement rectilinear meshline plots
2019-05-29 15:48:58 -04:00
Sterling Harper
7a49a29f38
Refactor and fix RegularMesh meshline plots
2019-05-29 15:39:57 -04:00
Sterling Harper
a0d3d11328
Clean up RectilinearMesh implementation
2019-05-29 13:14:45 -04:00
Sterling Harper
f4ae14af39
Use RegularMesh* for entropy and ufs
2019-05-29 11:03:32 -04:00
Paul Romano
d1e051c857
Update test results for Ubuntu 16.04
2019-05-29 08:53:52 -05:00
Sterling Harper
3cee8a77fc
Add RectilinearMesh to regression tests
2019-05-28 18:48:10 -04:00
Sterling Harper
d15090099a
Implement RectilinearMesh::surface_bins_crossed
2019-05-28 15:51:51 -04:00
Sterling Harper
c196405a34
Add RectilinearMesh Python class
2019-05-28 13:23:59 -04:00
dryuri92
b59d5416b1
Merge pull request #1 from smharper/newhex
...
Style fixes for openmc-dev PR
2019-05-28 17:24:53 +03:00
Sterling Harper
e442f52102
Use enum for hex lattice orientation
2019-05-27 15:16:37 -04:00
Sterling Harper
2394920f7d
Remove TINY_BIT to reestablish #1211 changes
2019-05-27 15:03:00 -04:00
Sterling Harper
f8690b87a0
Modify code to comply with the style guide
2019-05-27 14:59:05 -04:00
dr.yuri
4ef3e30755
lattice translation with S.Harper basis
2019-05-27 10:54:44 +03:00
Patrick Shriwise
90abce144c
Properly setting distance for lost particle. Updating history reset condition.
2019-05-26 14:40:33 -05:00
Patrick Shriwise
c22d5cbc15
Threaded ray hist in 10 lines.
2019-05-26 02:01:17 -05:00
Sterling Harper
ce2bf83254
Start implementing RectilinearMesh
2019-05-24 11:14:35 -04:00
Paul Romano
8231751b88
Some updates to setup.py and MANIFEST.in
2019-05-23 08:24:39 -05:00
Paul Romano
7b4d9d268d
Change calculation of thermal elastic/inelastic xs
2019-05-23 07:35:26 -05:00
Paul Romano
e4d7417f98
Fix default constant on Watt spectrum when no source is specified
2019-05-23 07:35:26 -05:00
Paul Romano
827064da85
Fix bug whereby coherent elastic scattering cross section was zero
2019-05-23 07:35:26 -05:00
Paul Romano
e252ff8e21
Merge pull request #1231 from amandalund/settings_from_xml
...
Add Settings.from_xml method
2019-05-23 07:34:19 -05:00