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 .copy for MultiFab #282

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Conversation

RemiLehe
Copy link
Contributor

Many thanks to @ax3l for writing most of the code here.

@ax3l ax3l self-assigned this Mar 25, 2024
@ax3l ax3l self-requested a review March 25, 2024 20:44
@ax3l ax3l added the enhancement New feature or request label Mar 25, 2024
@ax3l ax3l changed the title [WIP] Add .copy for MultiFab Add .copy for MultiFab Mar 25, 2024
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.

🎉

@ax3l ax3l mentioned this pull request Mar 25, 2024
5 tasks
@ax3l
Copy link
Member

ax3l commented Mar 25, 2024

If AMReX merges AMReX-Codes/amrex#3848, then we can simplify this to a one-liner :)

@ax3l ax3l merged commit 1eb8cb7 into AMReX-Codes:development Mar 26, 2024
19 checks passed
WeiqunZhang added a commit to AMReX-Codes/amrex that referenced this pull request Mar 28, 2024
Create a deep copy of this MultiFab, using the same Arena and factory.

See AMReX-Codes/pyamrex#282

---------

Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov>
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