Skip to content

Add TLSPH boundary attachments - #1326

Draft
svchb wants to merge 4 commits into
wall-riemann-boundary-statefrom
tlsph-boundary-attachments
Draft

svchb wants to merge 4 commits into
wall-riemann-boundary-statefrom
tlsph-boundary-attachments

Conversation

@svchb

@svchb svchb commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add BoundaryAttachment to drive a separate wall-particle cloud from a preceding TotalLagrangianSPHSystem through affine parent weights
  • interpolate positions, velocities, accelerations, and deformed normals while transferring fluid reactions with the transpose map to preserve resultant force and moment
  • validate attachment topology and configuration, support GPU adaptation, and expose metadata, VTK diagnostics, documentation, and focused regression coverage

Testing

  • test/schemes/structure/total_lagrangian_sph/rhs.jl (78 tests, including 24 attachment tests)
  • test/io/write_vtk.jl (33 tests, including 5 attachment-field tests)
  • Aqua default API checks
  • full unit suite: 23,964 passed, 0 failed, and the same 9 inherited erroring testsets as Add pairwise wall Riemann boundary states #1325 (29 additional passing assertions)
  • focused Float32 CUDA smoke test on an NVIDIA GeForce RTX 5090 covering adaptation, interpolated motion and normals, reaction accumulation, transpose force transfer, and force conservation
  • JuliaFormatter 2.1.1 and git diff --check

The full documentation build still stops on failures inherited from the stacked base, primarily legacy correction= constructor calls and existing doctest setup errors. The new public API binding resolves successfully. The opt-in Aqua ambiguity check reports only the existing ambiguity categories.

Stack

@codecov

codecov Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.46018% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.33%. Comparing base (1abe332) to head (932c152).

Files with missing lines Patch % Lines
src/schemes/structure/structure.jl 95.49% 5 Missing ⚠️
src/schemes/boundary/wall_boundary/system.jl 97.50% 2 Missing ⚠️
test/io/write_vtk.jl 93.75% 1 Missing ⚠️
Additional details and impacted files
@@                       Coverage Diff                       @@
##           wall-riemann-boundary-state    #1326      +/-   ##
===============================================================
+ Coverage                        90.24%   90.33%   +0.08%     
===============================================================
  Files                              157      157              
  Lines                            13387    13611     +224     
===============================================================
+ Hits                             12081    12295     +214     
- Misses                            1306     1316      +10     
Flag Coverage Δ
total 90.33% <96.46%> (+0.08%) ⬆️
unit 81.36% <95.13%> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

This branch has not been deployed

No deployments
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