Skip to content
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

add option to solve discrete rather than exact laplacian #137

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

asalmgren
Copy link
Member

No description provided.

Comment on lines 11 to 14
enum struct LaplacianType {
Unknown, Exact, Discrete
};

Copy link
Member

@WeiqunZhang WeiqunZhang Oct 2, 2024

Choose a reason for hiding this comment

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

Suggested change
enum struct LaplacianType {
Unknown, Exact, Discrete
};
AMREX_ENUM(LaplacianType,
Unknown, Exact, Discrete
);

Then we can query LaplacianType directly without using string.

pp.query_enum_case_insensitive("laplacian_type", laplacian_type)

@asalmgren asalmgren merged commit 15838d8 into main Oct 2, 2024
26 of 28 checks passed
@asalmgren asalmgren deleted the add_discrete_option_for_heffte branch October 2, 2024 02:24
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.

2 participants