mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Replaced all polar and azimuthal indices with just a 1d angle index. Also fixed mg_max_order
This commit is contained in:
parent
863f91b1e7
commit
35c62affe6
7 changed files with 431 additions and 477 deletions
|
|
@ -876,9 +876,9 @@ convert_legendre_to_tabular(ScattDataLegendre& leg, ScattDataTabular& tab,
|
|||
{
|
||||
// See if the user wants us to figure out how many points to use
|
||||
if (n_mu == C_NONE) {
|
||||
// then we will use 2 pts if its P0 or P1 (super fast), or the default if
|
||||
// a higher order
|
||||
if (leg.get_order() <= 1) {
|
||||
// then we will use 2 pts if its P0, or the default if a higher order
|
||||
// TODO use an error minimization algorithm that also picks n_mu
|
||||
if (leg.get_order() == 0) {
|
||||
n_mu = 2;
|
||||
} else {
|
||||
n_mu = DEFAULT_NMU;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue