#2195: Multipole Thorn: Why is max_vars set to 10? ---------------------------------+-------------------- Reporter: zachetie@… | Type: defect Status: new | Priority: unset Milestone: | Component: Other Version: development version | Keywords: ---------------------------------+-------------------- arrangements/EinsteinAnalysis/Multipole/src/multipole.cc , line 22 reads:
static const int max_vars = 10;
Occasionally I'd like to output a multipole decomposition, e.g., for 12 variables. When I attempt this, because of the above limit, I get the mysterious error message that appears due to the assert on line 42 of this same file.
First, I think this should be a freely specifiable parameter.
Second, the error message should be clearer about what is wrong.
Third, by just setting the above to 30, I was able to perform a run with 12 output variables. Is this the correct fix? (The run no longer errors out.)