Skip to content

Coupler transfer API#337

Draft
jacobmerson wants to merge 3 commits into
jacobmerson/field-function-splitfrom
jacobmerson/coupler-transfer-api
Draft

Coupler transfer API#337
jacobmerson wants to merge 3 commits into
jacobmerson/field-function-splitfrom
jacobmerson/coupler-transfer-api

Conversation

@jacobmerson

@jacobmerson jacobmerson commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Brings field transfer back into the coupler API. PCMS had transfer in the coupler years ago, but it was compile-time / type-erased and hard to work with; this is the pcms2 take with a more usable design.

Highlights:

  • Coupler transfer API + transfer/transfer_method.hpp
  • test_coupler_transfer.cpp end-to-end coverage

Base is jacobmerson/field-function-split (#336). Retarget to develop once that's merged.

@jacobmerson jacobmerson force-pushed the jacobmerson/field-function-split branch from c74eefe to bcb83df Compare July 12, 2026 18:29
@jacobmerson jacobmerson force-pushed the jacobmerson/coupler-transfer-api branch 2 times, most recently from 15b2bea to 01f44e5 Compare July 12, 2026 20:09
@jacobmerson jacobmerson force-pushed the jacobmerson/field-function-split branch 2 times, most recently from 0716c22 to a16f1ea Compare July 12, 2026 22:50
@jacobmerson jacobmerson force-pushed the jacobmerson/coupler-transfer-api branch from 01f44e5 to e94d943 Compare July 12, 2026 22:50
We had transfer in coupler a few years ago, but everything was compile
time/type erasure so it made things very difficult to acomplish. This
time around (pcms2) is taking a different approach and that seems to be
leading us in a fairly positive direction in terms of usability.
test_coupler_transfer.cpp pulls in the PETSc-dependent transfer headers,
so the target cannot compile when PETSc is disabled. Guard it like the
other transfer tests (PCMS_ENABLE_PETSC AND PCMS_ENABLE_MESHFIELDS).
@jacobmerson jacobmerson force-pushed the jacobmerson/field-function-split branch from a16f1ea to fed617a Compare July 13, 2026 07:11
@jacobmerson jacobmerson force-pushed the jacobmerson/coupler-transfer-api branch from e94d943 to be23975 Compare July 13, 2026 07:11
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.

1 participant