7 for (
size_t gs = 1; gs <
groupsets_.size(); ++gs)
8 if (
groupsets_[gs].quadrature_->GetMomentToHarmonicsIndexMap()
9 !=
groupsets_[0].quadrature_->GetMomentToHarmonicsIndexMap())
10 throw std::logic_error(
11 "LinearBoltzmann::SteadyStateSolver::ComputeNumberOfMoments : "
12 "Moment-to-Harmonics mapping differs between "
13 "groupsets_, which is not allowed.");
16 (int)
groupsets_.front().quadrature_->GetMomentToHarmonicsIndexMap().size();
19 throw std::logic_error(
20 "LinearBoltzmann::SteadyStateSolver::ComputeNumberOfMoments : "
21 "unable to infer number of moments from angular "
std::vector< LBSGroupset > groupsets_
void ComputeNumberOfMoments()