mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fixed issue in MG-Mode which surfaced when running problems which have microscopic cross sections defined and multiple fissile isotopes in a material
This commit is contained in:
parent
a70eda04ff
commit
77015c0b14
8 changed files with 120 additions and 109 deletions
|
|
@ -289,9 +289,9 @@ enum class MgxsType {
|
|||
ABSORPTION,
|
||||
INVERSE_VELOCITY,
|
||||
DECAY_RATE,
|
||||
NU_SCATTER,
|
||||
SCATTER,
|
||||
SCATTER_MULT,
|
||||
SCATTER_FMU_MULT,
|
||||
NU_SCATTER_FMU,
|
||||
SCATTER_FMU,
|
||||
FISSION,
|
||||
KAPPA_FISSION,
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ class Mgxs {
|
|||
int num_group, int num_delay);
|
||||
|
||||
//! \brief Constructor that initializes and populates all data to build a
|
||||
//! macroscopic cross section from microscopic cross section.
|
||||
//! macroscopic cross section from microscopic cross sections.
|
||||
//!
|
||||
//! @param in_name Name of the object.
|
||||
//! @param mat_kTs temperatures (in units of eV) that data is needed.
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ class ScattData {
|
|||
|
||||
//! \brief Combines microscopic ScattDatas into a macroscopic one.
|
||||
void
|
||||
base_combine(size_t max_order, const std::vector<ScattData*>& those_scatts,
|
||||
base_combine(size_t max_order, size_t order_dim,
|
||||
const std::vector<ScattData*>& those_scatts,
|
||||
const std::vector<double>& scalars, xt::xtensor<int, 1>& in_gmin,
|
||||
xt::xtensor<int, 1>& in_gmax, double_2dvec& sparse_mult,
|
||||
double_3dvec& sparse_scatter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue