amuse
amuse copied to clipboard
stopping conditions parameters show up for stop conditions that are not supported
Is your feature request related to a problem? Please describe. stopping condition parameters show up for conditions that are not supported in code
Describe the solution you'd like code parameters should not have parameters for stopping conditions if the code doesn't support the corresponding stopping condition
Describe alternatives you've considered current situation
Additional context stopping condition is_supported is only available after initialization - so after parameters are defined..furthermore stopping conditions support is defined in the code native part of the interface..it may be better to rework this so that either it can be checked before initialization and/or w/o any code calls.