mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Reordering data members s.t. they match initialization.
This commit is contained in:
parent
68406806e2
commit
19c9f3464c
2 changed files with 9 additions and 6 deletions
|
|
@ -40,8 +40,8 @@ class Mgxs {
|
|||
|
||||
xt::xtensor<double, 1> kTs; // temperature in eV (k * T)
|
||||
AngleDistributionType scatter_format; // flag for if this is legendre, histogram, or tabular
|
||||
int num_delayed_groups; // number of delayed neutron groups
|
||||
int num_groups; // number of energy groups
|
||||
int num_delayed_groups; // number of delayed neutron groups
|
||||
std::vector<XsData> xs; // Cross section data
|
||||
// MGXS Incoming Flux Angular grid information
|
||||
bool is_isotropic; // used to skip search for angle indices if isotropic
|
||||
|
|
|
|||
|
|
@ -39,15 +39,18 @@ public:
|
|||
|
||||
FilterBinIter& operator++();
|
||||
|
||||
int index_ {1};
|
||||
double weight_ {1.};
|
||||
|
||||
std::vector<FilterMatch>& filter_matches_;
|
||||
|
||||
private:
|
||||
void compute_index_weight();
|
||||
|
||||
// Data members
|
||||
const Tally& tally_;
|
||||
|
||||
public:
|
||||
|
||||
int index_ {1};
|
||||
double weight_ {1.};
|
||||
|
||||
std::vector<FilterMatch>& filter_matches_;
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue