Commit graph

48 commits

Author SHA1 Message Date
John Tramm
977ade79a1
Replace xtensor with internal Tensor/View classes (#3805)
Co-authored-by: John Tramm <jtramm@gmail.com>
2026-02-17 09:50:38 -06:00
Gregoire Biot
2d77544b0c
Adding variance of variance and normality tests for tally statistics (#3454)
Co-authored-by: Ethan Peterson <eepeterson3@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-11-12 11:41:37 -05:00
Paul Romano
8bb2002d8f Add open_object, close_object functions in HDF5 interface 2022-07-21 14:02:04 -05:00
Patrick Shriwise
1a45d33310 Update: removing MAX_WORD_LEN and MAX_LINE_LEN constants. 2022-01-19 11:25:04 -06:00
Olaf Schumann
39e57619df add suggensstions by @paulromano
run clang-format on all changed files
Update test results
2022-01-16 19:46:48 +00:00
Olaf Schumann
39f0d38367 Memory leak in hdf5_interface.h read_dataset(std::string) 2022-01-13 14:29:20 +01:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Paul Romano
94fc050fec Add open_group that works with std::string 2021-06-23 10:23:47 +07:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
Roy Stogner
ad483becec decltype() for loop index iterators
My compiler was only complaining about signed/unsigned warnings here,
but for maximum forwards compatibility it might be best to insist on
using the same data type for the index iterators as is being used for
the index range.
2021-02-19 11:00:06 -06:00
Sterling Harper
6a2f3ee2ef Use collective IO for read/write tally results 2019-12-13 11:51:22 -05:00
Sterling Harper
bc08d8a6b8 Explicitly name lowlevel HDF5 read/write dataset 2019-12-12 17:24:03 -05:00
Gavin Ridley
a2bcb07e03 Mgxs may now be used in external linked programs 2019-11-07 13:27:16 -05:00
Jingang Liang
59046be677 fix reading 2D string vector from attribute in hdf5 2019-06-06 17:20:14 +00:00
jingang
e5b108be7a fix write 2D char arrays in HDF5 2019-06-06 10:36:15 -04:00
jingang
970aa6ea9a fixed compiling errors with visual studio, mostly VLAs 2019-06-05 15:18:31 -04:00
Sterling Harper
5dc68fb665 Fix memory errors caught by Valgrind 2019-03-05 11:22:53 -05:00
Paul Romano
368f89697d Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
Paul Romano
e1e4941d8c Fix all the bugs introduced 2019-02-21 19:30:07 -06:00
Paul Romano
7325897ee9 Address @smharper comments on #1169 2019-02-19 21:48:20 -06:00
Paul Romano
968e9a95d4 Convert particle restart to C++ 2019-02-15 10:59:23 -06:00
Paul Romano
68e65ce2d1 Translate volume calculations to C++ 2019-02-12 12:03:27 -06:00
Paul Romano
ab0b9eb0bc Translate most of load_state_point to C++ 2019-02-06 07:11:44 -06:00
Paul Romano
4788bb9f85 Move remaining writing of summary file to C++ 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
149588b74e Start converting WMP class to C++ 2019-01-02 13:55:08 -06:00
Adam G Nelson
3cfd9dff9d Added xtensor read_dataset 2018-12-10 20:01:03 -05:00
Adam G Nelson
af54b60c2e Fixing @paulromano comments 2018-12-07 20:38:24 -05:00
Paul Romano
46a7058c70 Fix invalid use of strlen in read_attribute 2018-10-25 17:42:09 -05:00
Paul Romano
b2eba58946 Merge branch 'develop' into cpp-init-finalize 2018-10-25 17:18:14 -04:00
Paul Romano
8c64139c06 Move initialize_history to C++ 2018-10-19 07:41:29 -05:00
Sterling Harper
9b5e402a11 Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2018-10-17 19:56:59 -04: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
Sterling Harper
9d0c1ff7e2 Reduce code duplication with TallyFilter::type() 2018-10-11 23:06:47 -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
Sterling Harper
eb14dbd9cd Set vector size with constructor 2018-10-08 13:19:47 -04:00
Sterling Harper
08a8d3288f Fix HDF5/xtensor mismatched free/delete error 2018-10-05 21:07:44 -04:00
Paul Romano
74b7e53bbb
Merge pull request #1065 from nelsonag/xtensor_mg
Use the xtensor library in the multi-group solver
2018-09-08 16:09:38 -05:00
Adam G Nelson
1cf1deb9f0 Templatized read_nd_vector 2018-09-08 06:44:49 -04:00
Adam G Nelson
4b56c86c50 Cleaning up code, resolving @paulromano comments 2018-09-05 20:46:33 -04:00
Paul Romano
04e48224e6 Almost complete mesh conversion 2018-09-03 06:50:49 -05:00
Paul Romano
9e0e868577 Add C++ version of RegularMesh class 2018-09-03 06:50:49 -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
Adam G Nelson
4e92988433 Saving state 2018-08-31 18:18:01 -04:00
Sterling Harper
01b216b63a Merge remote-tracking branch 'upstream/develop' into cpp_geometry 2018-08-24 20:45:52 -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
Renamed from src/hdf5_interface.h (Browse further)