-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seg fault when 'ionization_electrons' name is mis-matched #11
Comments
Thanks for reporting, I created a branch |
Great, thanks! |
Done in d185eea |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A small issue.
When the name given to 'ionization_electrons' of a species block does not exist or is misspelt, SMILEI segfaults. A check when parsing the input deck would be useful as this kind of error can be missed by the user when double checking the input deck.
Example:
Species(
species_type = 'hydrogen',
atomic_number = 1.0,
ionization_model = 'tunnel',
ionization_electrons = 'ionisede',
etc
)
Species(
species_type = 'Ionisede',
etc
)
Attached is the input deck which exhibits this seg fault.
All the best,
Jimmy.
input.txt
The text was updated successfully, but these errors were encountered: