Commit graph

37 commits

Author SHA1 Message Date
Adam G Nelson
64dbaff587 Finished cleaning up group indices off-by-ones. Still have to to delayed groups 2019-11-11 20:58:22 -06:00
Adam G Nelson
05fac29164 Revised MG code so that the energy group indices are 0-based instead of 1-based. Next commit will perform some code cleanup enabled by this change. 2019-11-11 19:50:52 -06:00
Adam G Nelson
524b5344eb removed MGXS C interface methods (calculate_xs_c, get_name_c, and get_awr_c) that are no longer necessary now that the code is full C++ 2019-11-09 09:08:56 -06:00
Gavin Ridley
b8d9ae0f8e PR style changes 2019-11-08 13:25:49 -05:00
Gavin Ridley
5aad0d7169 incorporate requested PR changes 2019-11-07 21:34:28 -05:00
Gavin Ridley
8e1de2a577 match openmc style 2019-11-07 14:01:04 -05:00
Gavin Ridley
bdea083a0a remove accidentally pasted email 2019-11-07 13:46:22 -05:00
Gavin Ridley
a2bcb07e03 Mgxs may now be used in external linked programs 2019-11-07 13:27:16 -05:00
Gavin Ridley
9c06a128d9 initial stab at making mgxs externally usable 2019-11-02 22:08:06 -04:00
Paul Romano
020c0c306f Fix bug in delayed group index in MG mode tallies 2019-07-22 10:10:53 -05:00
Paul Romano
368f89697d Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
Paul Romano
b28ee8087c Move ParticleType into Particle and use for type_ member 2019-03-01 15:59:21 -06:00
Paul Romano
38e39c4486 Use unique_ptr consistently for global vectors 2019-03-01 15:56:21 -06:00
Paul Romano
9646648937 Fix off-by-one for get_nuclide_xs 2019-02-26 10:37:24 -06:00
Paul Romano
4a89075890 Use 0-based indices for materials consistently 2019-02-26 10:37:24 -06:00
Paul Romano
e1e4941d8c Fix all the bugs introduced 2019-02-21 19:30:07 -06:00
Paul Romano
4f0c217c18 Get rid of Fortran mgxs_interface 2019-02-20 15:03:36 -06:00
Sterling Harper
8b61bc1a77 Respond to @paulromano comments on #1162 2019-02-12 17:10:25 -05:00
Sterling Harper
2286b245bb Remove C++/Fortran interop code 2019-02-10 14:09:15 -05:00
Paul Romano
eb576a6fd2 Move remaining functions in mgxs_data.F90 2019-01-30 22:15:48 -06:00
Paul Romano
06751d5373 Move openmc_load_nuclide, openmc_material_add_nuclide, and read_mgxs to C++ 2019-01-30 22:15:48 -06:00
Paul Romano
c301612ca2 Namespace mgxs-related global variables 2018-11-14 15:00:16 -06:00
Paul Romano
7d6ab8d72d Put library and library_map in data namespace 2018-11-06 10:11:48 -06:00
Paul Romano
de666e3291 Make sure MG materials get put in libraries 2018-11-06 09:52:18 -06:00
Sterling Harper
009e1548d5 Make energy_bins/rev_energy_bins match F90 impl. 2018-10-31 10:20:29 -04:00
Paul Romano
8c64139c06 Move initialize_history to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
fd12a55b73
Merge pull request #1092 from nelsonag/physics_mg_cpp
Convert physics_common.F90 and physics_mg.F90 to C++
2018-10-15 11:08:54 -05:00
Adam G Nelson
a9641b8e2a Cleaned up the C and Fortran interfaces; includes removing interfaces which are no longer needed and removing the _c from C functions which no longer have Fortran links 2018-10-12 11:51:23 -04:00
Paul Romano
e2ed9c7553 Fix various bugs in HDF5 interface / MGXS code (found by valgrind) 2018-10-09 07:19:48 -05:00
Adam G Nelson
35def7aac2 Got it all working, next would like to take advantage of the xtensor features to reduce lines of code 2018-09-01 11:01:56 -04:00
Paul Romano
9f0ea52d1a Move headers to include/openmc directory and openmc.h -> openmc/capi.h 2018-08-20 14:40:32 -05:00
Adam G Nelson
67b0ea38e4 resolving style comments 2018-06-26 21:20:30 -04:00
Adam G Nelson
267acf627f resolving @paulromano comments, including intent(inout) items at the end, consistent usage of const qualifiers 2018-06-21 20:45:10 -04:00
Adam G Nelson
a1a033f1b7 including write_message access from the C side 2018-06-17 10:58:28 -04:00
Adam G Nelson
2b8c2075d0 merging with upstream and adding some documentation/style changes consistent with upstream 2018-06-16 08:21:11 -04:00
Adam G Nelson
7c819f02bc got it working with OpenMP 2018-06-14 20:22:31 -04:00
Adam G Nelson
b1c73918a8 It works! Replaced all mgxs_header functionality with the C++ version and a mgxs_interface module to act as the go-between the C++ and Fortran 2018-06-13 20:22:51 -04:00