Skip to content

Conversation

int-ptr-ptr
Copy link
Collaborator

Description

Takes reparameterization in #1186 and computes transfer functions from the edge to the mortar.
Current implemented test handles only the same cases as #1186 -- additional tests + minor test refactoring should occur with #1226.

Issue Number

Closes #1174.

Checklist

Please make sure to check developer documentation on specfem docs.

  • I ran the code through pre-commit to check style
  • THE DOCUMENTATION BUILDS WITHOUT WARNINGS/ERRORS
  • I have added labels to the PR (see right hand side of the PR page)
  • My code passes all the integration tests
  • I have added sufficient unittests to test my changes
  • I have added/updated documentation for the changes I am proposing
  • I have updated CMakeLists to ensure my code builds
  • My code builds across all platforms

@int-ptr-ptr int-ptr-ptr added the new physics This labels the introduction of new physics to the code label Sep 19, 2025
@buildbot-princeton
Copy link
Collaborator

Can one of the admins verify this patch?

2 similar comments
@buildbot-princeton
Copy link
Collaborator

Can one of the admins verify this patch?

@buildbot-princeton
Copy link
Collaborator

Can one of the admins verify this patch?

@int-ptr-ptr int-ptr-ptr linked an issue Sep 19, 2025 that may be closed by this pull request
4 tasks
@Rohit-Kakodkar
Copy link
Collaborator

Ok to test

Copy link
Collaborator

@lsawade lsawade left a comment

Choose a reason for hiding this comment

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

This LGTM!

Copy link
Collaborator

@Rohit-Kakodkar Rohit-Kakodkar left a comment

Choose a reason for hiding this comment

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

Mostly looks good. Minor changes.

return intersections;
}

void specfem::assembly::nonconforming_interfaces_impl::set_transfer_functions(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like the 2 functions are doing the same thing. Can you call one from the other? I'd like to avoid duplicate code.

specfem::point::global_coordinates<specfem::dimension::type::dim2> *,
Kokkos::HostSpace>,
specfem::mesh_entity::type, specfem::mesh_entity::type>
_expand_edge_index(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
_expand_edge_index(
expand_edge_index(

All functions within the impl module are helper right?

@Rohit-Kakodkar Rohit-Kakodkar merged commit 0b246fd into PrincetonUniversity:devel Sep 22, 2025
8 checks passed
@int-ptr-ptr int-ptr-ptr deleted the dg2d-mortartrans branch September 23, 2025 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new physics This labels the introduction of new physics to the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NCI mortar transfer
4 participants