Skip to content

Conversation

@srwopschall
Copy link
Collaborator

@srwopschall srwopschall commented Oct 2, 2025

Adding API functions to return the number of contact pairs per rank and total pairs across all ranks. This will help catch bugs/changes in the computational geometry filtering and cg algorithm in general.

This routine is host callable meant for diagnostics/metrics.

@srwopschall srwopschall self-assigned this Oct 2, 2025
@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.61%. Comparing base (aa7679e) to head (7ee9c69).

Files with missing lines Patch % Lines
src/tribol/interface/tribol.cpp 0.00% 12 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #165      +/-   ##
===========================================
- Coverage    90.67%   90.61%   -0.06%     
===========================================
  Files          101      101              
  Lines        19234    19248      +14     
===========================================
+ Hits         17440    17442       +2     
- Misses        1794     1806      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


/*!
* \brief Get the total number of contact pairs across all ranks for the given coupling scheme
*
Copy link
Member

Choose a reason for hiding this comment

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

Add a warning re: ghost elements being counted multiple times.

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.

4 participants