Reordering data members s.t. they match initialization.

This commit is contained in:
Patrick Shriwise 2020-02-26 16:23:53 -06:00
parent 68406806e2
commit 19c9f3464c
2 changed files with 9 additions and 6 deletions

View file

@ -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

View file

@ -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_;
};
//==============================================================================