Skip to content

Conversation

@The9Cat
Copy link
Member

@The9Cat The9Cat commented Feb 7, 2025

This minor change checks that the user has specified a background potential if M0_BACK is selected. Otherwise, exp will seg fault by trying to call a null function. That is not pretty. It's really a user error but no one wants to see a seg fault.

@The9Cat
Copy link
Member Author

The9Cat commented Feb 7, 2025

Ooops, looks like I branched off the previous PR branch rather than main. We can cherry pick or just leave it...sorry.

@The9Cat The9Cat changed the title Ensure that FlatDisk has a backround if M0_BACK is selected in PolarBasis Ensure that FlatDisk has a background if M0_BACK is selected in PolarBasis Feb 9, 2025
Copy link
Member

@michael-petersen michael-petersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, this slipped through the review cracks until now. Tested compile; didn't test the features as I don't have a MWE set up for this. But if it works for you, let's merge!

@The9Cat
Copy link
Member Author

The9Cat commented Apr 2, 2025

This PR is mostly sanity checking for options and one minor fix for the VTK file writing (col-major). I'll merge it.

@The9Cat The9Cat merged commit 97cc02d into main Apr 2, 2025
8 checks passed
@The9Cat The9Cat deleted the FlatDiskFix branch April 7, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants