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

adding wrapper for AMREX_D_DECL #150

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

RevathiJambunathan
Copy link
Contributor

This PR adds a wrapper for AMREX_D_DECL and includes a test in IntVect to validate usage

Thanks to the discussion with @olgaShapoval @EZoni @ax3l and @dpgrote

@ax3l ax3l self-requested a review July 20, 2023 18:26
@ax3l ax3l self-assigned this Jul 20, 2023
@ax3l ax3l added the enhancement New feature or request label Jul 20, 2023
@@ -140,3 +140,8 @@ def test_iv_iter():
b1 = [x for x in b0]

np.testing.assert_allclose(a1, b1)


def test_iv_d_decl():
Copy link
Member

Choose a reason for hiding this comment

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

We might want to specialize this test for 1D, 2D and 3D

Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

Thank you, that's great!

@ax3l ax3l merged commit d8ca28d into AMReX-Codes:development Jul 20, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants