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
Kevin Sawatzky
5bce5adabc
Support cell densities in the random ray solver ( #3720 )
2026-01-14 20:02:17 +02:00
Kevin Sawatzky
607f6babe5
Add distributed cell densities ( #3546 )
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-09-19 04:11:06 +00:00
GuySten
ace73ab5de
Fixed a bug in charged particle energy deposition. ( #3416 )
...
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-03 18:02:20 +00:00
Gavin Ridley
aa4de82258
remove gsl-lite dependency ( #3225 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-20 01:03:20 +00:00
Patrick Shriwise
057c33a48e
Expose Material::depletable in the CAPI ( #2843 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-01-17 20:46:37 +00:00
aprilnovak
b84a021c58
Improve documentation. Refs #2442
2023-03-28 13:50:02 -05:00
aprilnovak
fa222a4b31
Address review comments.
2023-03-27 19:23:04 -05:00
aprilnovak
e41ae3604e
Clone material. Refs #2442
2023-03-27 18:36:49 -05:00
Paul Romano
62af773108
Refactor NCrystal interface code to ncrystal_interface.h/cpp
2023-01-10 17:20:11 +07:00
Paul Romano
b6d6bdf3f5
Merge branch 'develop' into mixed_ncrystal_pr
2023-01-09 13:13:14 +07:00
Patrick Shriwise
040965245d
Adding signatures for reading information from an XML node where necessary.
2022-12-06 13:03:38 -06:00
Jose Ignacio Marquez Damian
5afcc9e49b
Apply clang-format
2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
2e19260dea
Implement recommended changes
2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
70d5c76ebd
Fixed material.h
2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
9c54ac0b6b
Fix access to private attributes
2022-10-21 10:40:30 +02:00
Jose Ignacio Marquez Damian
0e0cd0a22d
Added hooks for NCrystal
2022-10-21 10:40:30 +02:00
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