Skip to content

Issue 1580 - Implementing ChunkedFaceIterator & assembly::face_types#1614

Merged
Rohit-Kakodkar merged 11 commits intodevelfrom
issue-1580
Feb 5, 2026
Merged

Issue 1580 - Implementing ChunkedFaceIterator & assembly::face_types#1614
Rohit-Kakodkar merged 11 commits intodevelfrom
issue-1580

Conversation

@lsawade
Copy link
Collaborator

@lsawade lsawade commented Jan 28, 2026

Description

This PR implements the ability to iterate over faces, so that coupling may be
implemented.

Commits

  • Added tests for assembly face and faceview and added documentation (8a50902)
  • Implemented face_types (6b96d5d)
  • Updated the ChunkedgeIteratorTest to use assembly::Edge and Assembly::EdgeView (388af6b)
  • First implementation on FaceIterators will review. (a2a6bb7)

Issue Number

Closes #1580

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

@lsawade lsawade added the enhancement New feature or request label Jan 28, 2026
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.

Looks good. Minor changes.

* local face point indices
*/
KOKKOS_INLINE_FUNCTION
void get_face_coordinates(const specfem::mesh_entity::dim3::type face_type,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function got refactored into mesh_entities or connections. Can you use that.

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 this was missed

* local edge point index
*/
KOKKOS_INLINE_FUNCTION
void get_edge_coordinates(const specfem::mesh_entity::dim2::type edge_type,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function is also refactored

Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok, weird, it was definitely remove in "address comments" commit. I think some thing weird happened, when I did the merge conflicts on github. Will reset.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nope, there were two!

@Rohit-Kakodkar Rohit-Kakodkar merged commit 5fad497 into devel Feb 5, 2026
8 checks passed
@Rohit-Kakodkar Rohit-Kakodkar deleted the issue-1580 branch February 5, 2026 15:23
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.

3 participants