#1260: list registered variables when exceeding MoL accumulator limit -----------------------------------+---------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: Keywords: MoL | -----------------------------------+---------------------------------------- Currently when a thorn tries to register more evolved/constrained/sandr variables than the respective parameters allow, MoL aborts with an error message "You have tried to register more evolved variables than the accumulator parameter MoL_Num_Evolved_Variables allows. Check that you are accumulating onto this parameter correctly." which is not terribly helpful in finding out why this is happening.
The attached patch increases the verbosity by outputting the name of the variable that the thorn is trying to register as well as the list of variables already registered.
The patch itself is simple (if you ignore realloc() and the fact that MoL/Register.c contains the same code 12 times for all combinations of evolved/constrained/sandr gridfunction/gridarray real/complex). However this touches MoL which is rather central.