Commit graph

46 commits

Author SHA1 Message Date
helen-brooks
cc6c3ac9e6 More refactoring of DAGMC universe metadata; allow external setting of material temperature and population of universes' cells 2022-04-20 15:12:52 +01:00
Paul Romano
7969bb1488 Use <gsl/gsl-lite.hpp> include instead of <gsl/gsl> 2021-08-25 13:10:28 -05:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Paul Romano
ef7b43d986 Add material density to properties.h5 2021-06-23 11:39:22 +07:00
Gavin Ridley
061156e79a address PR comments 2021-05-03 18:03:06 -04:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
Paul Romano
77d99d499b Allow access to material temperature from openmc.lib 2020-09-15 10:23:31 -05:00
Paul Romano
1a35632fe3 Ensure Material, Filter, and Tally destructors don't segfault
Because these destructors call erase() on the corresponding maps, they expect
that the maps still exist. However, based on the current order of declaration,
there is no guarantee that they exist because the maps will be deleted first.
2020-01-21 07:34:10 -06:00
Sterling Harper
57cab6b346 Address some minor Valgrind errors/warnings 2019-12-04 18:44:38 -05:00
Patrick Shriwise
d820e6777a
Apply suggestions from code review
Accessing cell/material names through accessor. Returning a const reference from `name()` accessor in both cases.

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-07-23 14:33:35 -05:00
Patrick Shriwise
54df651888 Adding Material accessors for name. 2019-07-18 12:25:53 -05:00
Paul Romano
c68052da6b Reorder declarations in Tally, Filter, and Material classes 2019-07-09 06:43:16 -05:00
Paul Romano
7db1511f00 Add destructors that remove key-value pairs from maps 2019-07-09 06:43:16 -05:00
Paul Romano
0c32470551 Finish improving Material interface 2019-07-09 06:43:16 -05:00
Paul Romano
bbf529bef0 Add Material::volume() accessor function 2019-07-09 06:43:16 -05:00
Paul Romano
1c97438be0 Remove return value on Material::set_density 2019-07-09 06:43:16 -05:00
Paul Romano
5d3afc1110 Add accessors for Material.density_ and density_gpcc_ 2019-07-09 06:43:16 -05:00
Paul Romano
4815cfebac Move openmc_material_add_nuclide into Material::add_nuclide 2019-07-09 06:43:16 -05:00
Paul Romano
8a8b7b2c0a Move cross section caches into Particle class 2019-03-19 13:56:45 -05:00
amandalund
a254027f8a Merge branch 'develop' into density-effect-correction 2019-03-05 19:21:51 -06:00
amandalund
9e8e5a08b5 Address @paulromano comments on #1186 2019-03-05 09:05:09 -06:00
amandalund
f923fc65c4 Calculate the collision stopping power 2019-03-03 17:40:57 -06:00
amandalund
e9eadd936d Add function to calculate the density effect correction 2019-03-03 17:40:57 -06:00
Paul Romano
38e39c4486 Use unique_ptr consistently for global vectors 2019-03-01 15:56:21 -06:00
Paul Romano
3cac2a6702 Remove Fortan compatibility functions 2019-02-21 22:44:24 -06:00
Paul Romano
0439eb0fa1 Convert remainder of tallies to C++ 2019-02-21 19:30:04 -06:00
Paul Romano
627ee79f0c Move read_materials_xml and read_plots_xml to C++ 2019-02-20 15:45:30 -06:00
Paul Romano
63aa3bf106 Remove most of remaining components of Material type on Fortran side 2019-01-30 22:15:48 -06:00
Paul Romano
f407982ff6 Remove Material p0 and element attributes on Fortran side 2019-01-30 22:15:48 -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
9a2298f66d Move read_ce_cross_sections to C++ 2019-01-30 22:15:48 -06:00
Paul Romano
fe9f774d31 Add normalize_density, set_density, set_densities on C++ side 2019-01-30 22:15:48 -06:00
Paul Romano
06c5431f2c Add Material::init_thermal() 2019-01-30 22:15:48 -06:00
Paul Romano
d1acaa525c Continue converting 2019-01-30 22:15:48 -06:00
Paul Romano
6b583d615c Start converting material xs lookup 2019-01-30 22:15:48 -06:00
Paul Romano
2eacd5f72c Finish TTB implementation on C++ side, still a bug somewhere 2019-01-15 07:28:47 -06:00
Paul Romano
ea1f2e426d Start converting TTB data/physics 2019-01-15 07:28:47 -06:00
Paul Romano
e8af7a2d16 Convert scattering routines to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
5fae5ffa9e Namespacing for mesh/material global variables 2018-11-14 15:00:16 -06:00
Sterling Harper
9b5e402a11 Merge remote-tracking branch 'upstream/develop' into cpp_tallies 2018-10-17 19:56:59 -04:00
Sterling Harper
46ea32139b Move MaterialFilter to C++ 2018-10-14 11:56:56 -04:00
Adam G Nelson
e3e388bb6d Completed replacement of physics_mg.F90 with C++ 2018-10-12 10:40:35 -04:00
Sterling Harper
0e348e338b Remove global_ prefix from global geometry vectors 2018-08-27 19:06: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/material.h (Browse further)