Commit graph

1985 commits

Author SHA1 Message Date
Sterling Harper
ae8395e0e4
Merge pull request #1008 from tjlaboss/mesh_from_lattice
Create a Mesh from an existing lattice
2018-05-23 17:56:58 -04:00
Alex Lindsay
2e6b40cb1b Consistently check derived for sum and sum_sq in tallies. Closes #1010 2018-05-23 14:16:17 -06:00
tjlaboss
75dc4131dc Long live PEP8 2018-05-22 13:36:50 -04:00
Alex Lindsay
7c01594111 Add init methods (with order) for capi expansion filters 2018-05-22 08:12:49 -06:00
Alex Lindsay
85e6eb9616 hitting out of bounds error in fortran 2018-05-21 15:22:06 -06:00
Alex Lindsay
411fd288ea Expand C API, targeting FETs 2018-05-21 15:22:06 -06:00
tjlaboss
a47f3abbde New class method, Mesh.fromRectLattice() 2018-05-21 17:13:37 -04:00
Paul Romano
e3f0bff0f0
Merge pull request #1007 from smharper/distrib_order
Swap RectLattice distribcell ordering
2018-05-19 15:38:10 -05:00
Paul Romano
04441ca619
Merge pull request #1004 from nelsonag/cpp_math
Convert math.f90 to C++
2018-05-19 15:24:29 -05:00
Adam G Nelson
890a1b4f55 Moved math python api to point to the C++ and simplified the fortran methods 2018-05-18 19:07:34 -04:00
Adam G Nelson
38c13994bc Implementing comments from @paulromano, @smharper, and @giudgiud. A few remain open, will close in a day or two after some more GitHub discussion 2018-05-16 21:25:29 -04:00
Sterling Harper
f223c2738f Swap RectLattice distribcell ordering 2018-05-16 18:17:23 -04:00
Zhuoran Han
873523072d Split the lines for code format. 2018-05-16 15:43:10 -04:00
Zhuoran Han
4c5bdd4438 Checkvalue bug 2018-05-16 14:54:24 -04:00
Adam G Nelson
d7b20fb51e final preps for a PR 2018-05-13 19:21:36 -04:00
Adam G Nelson
a6e75c3509 Cleaned up the optional parameters interface of rotate_angle 2018-05-13 06:44:48 -04:00
Adam G Nelson
a73f633d24 Converted calc_rn and calc_pn to provide all values at once instead of only for the requested value of n. Also converted calc_pn to use the recursive definition of the legendre polys 2018-05-12 15:43:05 -04:00
Adam G Nelson
c65817a0d3 Merged with upstream MGXS Expansion changes and Zernike normalization change 2018-05-11 05:02:07 -04:00
Paul Romano
6fa9b02b4d
Merge pull request #1003 from lindsayad/consistent-norms
Use consistent normalization for Zernikes
2018-05-09 06:34:05 -05:00
Alex Lindsay
72d84bc286 Use consistent normalization for Zernikes. 2018-05-08 15:36:02 -06:00
Paul Romano
d5bc4dacae
Merge pull request #1001 from nelsonag/mgxs_expansion_with_tests
Incorporation of Expansion filters in to MGXS
2018-05-08 14:58:41 -05:00
Adam G Nelson
468126f8c4 Added in Zernike polynomials to C++ code 2018-05-06 20:14:54 -04:00
Adam G Nelson
2000b4f998 Merging with the upstream, especially including hdf5 C++ changes 2018-05-06 07:16:21 -04:00
Adam G Nelson
45d9234fdf Fixing df.drop call using newer pandas syntax instead of backwards-compatible syntax 2018-05-05 11:15:11 -04:00
Adam G Nelson
cd300249f2 merging in the MGXS Expansion changes and fixing the correction when consistent is applied 2018-05-05 10:44:17 -04:00
Adam G Nelson
968c12deb5 Fixed consistent scatter matrix filter ordering so tests come out consistently and added a mgxs_library_correction and mgxs_library_histogram test 2018-05-05 09:24:21 -04:00
Paul Romano
6b1c0f907f Fix openmc.capi.init() 2018-05-02 06:21:09 -05:00
Paul Romano
9d5275ca26 Support passing command-line arguments in openmc.capi.init() 2018-05-01 22:22:18 -05:00
Adam G Nelson
b61c67a12c fixes per request of @paulromano: fixing test scratch files vice using .gitignore, minor typo in docs, and some otherwise small code cleanups 2018-05-01 19:17:21 -04:00
Adam G Nelson
15b6b1d4ee CPPized the Pn and Rn functions 2018-04-30 16:13:11 -04:00
Adam G Nelson
0e3194315a C++ized t_percentile 2018-04-30 15:41:20 -04:00
Adam G Nelson
8e61254e6b Added C++ math functions, now to incorporate them one by one.... 2018-04-30 15:33:36 -04:00
Adam G Nelson
7fb5449ca1 implemented python interface and tests of math.F90 2018-04-30 08:54:29 -04:00
Adam G Nelson
600969ce2b Exposed math.F90 to C and then created python wrappers around these functions. Seem to work 2018-04-29 06:35:56 -04:00
Adam G Nelson
1d2ebb71f8 Implemented Expansion filters in to the MGXS classes and removed the old score-based expansions 2018-04-27 19:45:38 -04:00
Paul Romano
0a8f5977ed Be more consistent with C API function return values 2018-04-25 15:07:40 -05:00
Paul Romano
da4999f116 Move reading command-line arguments to C++ side 2018-04-25 12:51:45 -05:00
Paul Romano
73b50e1e17 Make sure statepoint context manager closes linked summary 2018-04-24 06:32:18 -05:00
Paul Romano
44ff22dc14 Convert write_source_bank to C++, move some MPI initialization over too 2018-04-24 06:32:18 -05:00
Paul Romano
9b8cb2e0f1 Have openmc_init take a MPI_Comm* 2018-04-24 06:32:18 -05:00
Paul Romano
14455dc43e Write main() from C++ 2018-04-24 06:32:18 -05:00
Paul Romano
39554e4614 Allow tallies to be activated from C API (mostly for CMFD) 2018-04-18 15:54:04 -05:00
shikhar413
06161d1693
Merge pull request #993 from paulromano/capi-more
Add C API bindings for mesh creation
2018-04-18 10:14:07 -04:00
Paul Romano
8886313c93 Add description of openmc.capi.Mesh attributes in docstring 2018-04-18 07:17:02 -05:00
Paul Romano
a41580b3e7
Merge pull request #991 from amandalund/triso-fix
TRISO bug fix and unit tests
2018-04-16 10:25:25 -05:00
amandalund
4a64e2a931 Address #991 comments; add comments; add stopping condition and warning on early convergence 2018-04-14 14:10:35 -05:00
Paul Romano
c80379a488 Docfix for openmc.data.Library.get_by_material 2018-04-13 15:04:04 -05:00
Paul Romano
c78d296bf6 Have openmc_next_batch return an actual error 2018-04-11 13:23:54 -05:00
Paul Romano
f485693fa0 Support void materials in C API Python bindings 2018-04-11 13:23:54 -05:00
Paul Romano
8a6c6d1398 Add C API bindings to create/modify meshes (and filters) 2018-04-11 13:23:54 -05:00