Skip to content

Delete unused patch data copy operations - #65

Open
boyceg wants to merge 1 commit into
masterfrom
codex/delete-patch-data-copy-operations
Open

Delete unused patch data copy operations#65
boyceg wants to merge 1 commit into
masterfrom
codex/delete-patch-data-copy-operations

Conversation

@boyceg

@boyceg boyceg commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Continue the cleanup begun in #63 by replacing unused copy operations in the patch-data classes with = delete and adding regression tests.

Replace the private dummy copy operations in eleven patch data classes with deleted declarations. Preserve named data-copy methods and iterator copy operations. Add compile-only explicit-instantiation and noncopyability checks in 1D, 2D, and 3D.
CHECK_COPY_CONTROL_DIMENSIONS(SAMRAI::pdat::SideData)

#undef CHECK_COPY_CONTROL_DIMENSIONS
#undef CHECK_COPY_CONTROL

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.

Same as the other PR: let's not bother testing this (I'm not even sure how to run samrai's test suite). If it works with IBAMR then it's good.

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