Commit graph

1672 commits

Author SHA1 Message Date
Sterling Harper
31b92723c6 Clean up tally filter code 2018-10-19 16:52:02 -04:00
Sterling Harper
2fd6a92074 Move tally filter C-API functions to C++ 2018-10-19 15:09:55 -04:00
Paul Romano
6a3911c248 Move openmc_reset and openmc_hard_reset to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
013aaba343 Move openmc_finalize to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
85a5af2f5f Move openmc_next_batch to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
a4ddaf9ed6 Move finalize_batch and write_source_point to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
8c64139c06 Move initialize_history to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
acfc352e1b Move openmc_simulation_init to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
38afb5e2a4 Move finalize_generation to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
ccf1ced25e Move openmc_init, initialize_batch, openmc_simulation_finalize to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
1c7ebf198e Convert openmc_get_keff to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
05ecbb153a Convert calculate_average_keff to C++ 2018-10-19 07:41:29 -05:00
Sterling Harper
5a6db8a0de Move spatial legendre and zernike filters to C++ 2018-10-17 23:07:01 -04:00
Sterling Harper
960c64bc18 Move the EnergyFunctionFilter to C++ 2018-10-17 19:59:45 -04:00
Sterling Harper
9b5e402a11 Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2018-10-17 19:56:59 -04:00
Paul Romano
81858c119c Revert include ordering in state_point.cpp. Add comment about adaptor_type 2018-10-17 13:56:28 -05:00
Paul Romano
77951e1b70 Fix signature on openmc_init_f 2018-10-16 14:43:19 -05:00
Paul Romano
242895e99b Remove work_index on Fortran side 2018-10-15 13:42:10 -05:00
Paul Romano
bbccbf436d Use namespace in finalize.h/cpp 2018-10-15 13:42:10 -05:00
Paul Romano
8ebd26b160 Move code related to k_generation to C++ 2018-10-15 13:42:10 -05:00
Paul Romano
d7da87ca1d Write C++ version of Timer class and use in synchronize_bank 2018-10-15 13:42:10 -05:00
Paul Romano
02fbc1582d Convert synchronize_bank to C++ 2018-10-15 13:42:10 -05:00
Paul Romano
217f87c085 Move global_tally_absorption to tally.h 2018-10-15 13:42:07 -05:00
Paul Romano
9c787f988e Fix tally reduction 2018-10-15 11:52:33 -05:00
Paul Romano
2ccb7e3b58 Move write_tally_results_nr to C++ 2018-10-15 11:52:33 -05:00
Paul Romano
1fd4135f8f Move reduce_tally_results to C++ 2018-10-15 11:52:33 -05:00
Paul Romano
6ba4d68cb9 Move call to MPI_Abort to C++ side 2018-10-15 11:52:33 -05:00
Paul Romano
f2748f64a9 Perform end of simulation broadcasts from C++ 2018-10-15 11:52:33 -05:00
Paul Romano
3ba886cd6d Move variable definitions from simulation_header.F90 to simulation.cpp 2018-10-15 11:52:33 -05:00
Paul Romano
3b85a65711 Add remaining variables in simulation.h 2018-10-15 11:52:30 -05:00
Paul Romano
6f80abfe2b Move variables in simulation.h into simulation namespace 2018-10-15 11:10:33 -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
Sterling Harper
657773c9eb Move Legendre and sph harmonics filters to C++ 2018-10-14 18:53:13 -04:00
Sterling Harper
ea0a91b0e6 Move SurfaceFilter to C++ 2018-10-14 13:28:03 -04:00
Sterling Harper
6c4891d591 Move UniverseFilter to C++ 2018-10-14 13:01:57 -04:00
Sterling Harper
46ea32139b Move MaterialFilter to C++ 2018-10-14 11:56:56 -04:00
Sterling Harper
00cb9e93ae Move azimuthal, mu, polar filters to C++ 2018-10-13 19:53:57 -04:00
Adam G Nelson
5af41ce3c3 Resolving review comments: adding doxygen param lists, cleaning up references/pointers 2018-10-13 13:33:06 -04: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
Adam G Nelson
e3e388bb6d Completed replacement of physics_mg.F90 with C++ 2018-10-12 10:40:35 -04:00
Sterling Harper
9d0c1ff7e2 Reduce code duplication with TallyFilter::type() 2018-10-11 23:06:47 -04:00
Sterling Harper
f2a5e10c46 Move DistribcellFilter to C++ 2018-10-11 22:27:13 -04:00
Sterling Harper
bf025edd58 Move CellbornFilter to C++ 2018-10-11 20:57:36 -04:00
Sterling Harper
2ce911977a Finish moving CellFilter implementation to C++ 2018-10-11 20:37:07 -04:00
Sterling Harper
6a4cea41ed Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2018-10-11 19:19:55 -04:00
Adam G Nelson
ef9908e774 Added create_fission_sites and absorption to physics_mg.cpp 2018-10-09 20:35:25 -04:00
Paul Romano
596e05c272 Fix string lengths when reading HFD5 attributes 2018-10-09 11:01:30 -05: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
960f71e276 whoops, including files 2018-10-08 14:01:52 -04:00
Sterling Harper
eb14dbd9cd Set vector size with constructor 2018-10-08 13:19:47 -04:00