Skip to content

Ensure that FlatDisk has a background if M0_BACK is selected in PolarBasis - #109

Merged
The9Cat merged 4 commits into
mainfrom
FlatDiskFix
Apr 2, 2025
Merged

Ensure that FlatDisk has a background if M0_BACK is selected in PolarBasis#109
The9Cat merged 4 commits into
mainfrom
FlatDiskFix

Conversation

@The9Cat

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

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

@The9CatThe9Cat changed the title Ensure that FlatDisk has a backround if M0_BACK is selected in PolarBasisEnsure that FlatDisk has a background if M0_BACK is selected in PolarBasisFeb 9, 2025

@michael-petersenmichael-petersen left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
MemberAuthor

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 mainApr 2, 2025
@The9Cat
The9Cat deleted the FlatDiskFix branch April 7, 2025 22:28
Sign up for freeto 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.

2 participants

@The9Cat@michael-petersen