fmihpc / vlasiator

Vlasiator - ten letters you can count on
https://www.helsinki.fi/en/researchgroups/vlasiator
Other
47 stars 39 forks source link

Add a safeguard for invalid variables requested for output in cfg #344

Closed ykempf closed 6 years ago

ykempf commented 7 years ago

As of now, any invalid variable set in the variables.output and variables.diagnostic options is silently glossed over. It would be more helpful, especially now that we transition from regular to multipop cfg files, to get a warning or even an abort if a variable requested is not valid. This is very easy to add in datareduction/datareducer.cpp in the loop over DROs with the long list of if clauses.

ykempf commented 6 years ago

Fixed by a commit today. f9ca4276668f6567c5