Skip to content

Add docs particle packing#797

Merged
efaulhaber merged 7 commits intotrixi-framework:mainfrom
LasNikas:docs-packing
May 21, 2025
Merged

Add docs particle packing#797
efaulhaber merged 7 commits intotrixi-framework:mainfrom
LasNikas:docs-packing

Conversation

@LasNikas
Copy link
Copy Markdown
Collaborator

@LasNikas LasNikas commented May 8, 2025

No description provided.

@LasNikas LasNikas requested review from Copilot, efaulhaber and svchb May 8, 2025 11:01
@LasNikas LasNikas added the documentation Improvements or additions to documentation label May 8, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds documentation for the particle packing process and updates the ParticlePackingSystem interface to allow an optional signed distance field, while adjusting some default parameter values.

  • Updated ParticlePackingSystem parameter types and defaults (e.g., tlsph from true to false)
  • Expanded and clarified documentation in both the Julia source and the markdown files
  • Added a new reference entry in the bibliography for the particle packing methodology

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/preprocessing/particle_packing/system.jl Updated parameter types/defaults and documentation for ParticlePackingSystem
docs/src/refs.bib Added reference for particle packing from Zhu et al. (2021)
docs/src/preprocessing/preprocessing.md Added comprehensive documentation for the Particle Packing workflow
Comments suppressed due to low confidence (2)

src/preprocessing/particle_packing/system.jl:3

  • Ensure that downstream code properly handles the case when 'signed_distance_field' is Nothing to avoid potential runtime errors.
signed_distance_field::Union{SignedDistanceField, Nothing},

docs/src/preprocessing/preprocessing.md:259

  • Verify that the new reference identifiers and links in the Particle Packing section correctly map to the intended sections and figures.
# [Particle Packing](@id particle_packing)

Comment thread src/preprocessing/particle_packing/system.jl
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.68%. Comparing base (455ecf3) to head (141a3a2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #797   +/-   ##
=======================================
  Coverage   70.68%   70.68%           
=======================================
  Files         106      106           
  Lines        6703     6703           
=======================================
  Hits         4738     4738           
  Misses       1965     1965           
Flag Coverage Δ
unit 70.68% <ø> (ø)

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

☔ 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.

@LasNikas LasNikas self-assigned this May 8, 2025
Comment thread docs/src/preprocessing/preprocessing.md Outdated
Comment thread docs/src/preprocessing/preprocessing.md Outdated
Comment thread docs/src/preprocessing/preprocessing.md Outdated
Comment thread src/preprocessing/particle_packing/system.jl
Comment thread src/preprocessing/particle_packing/system.jl Outdated
@LasNikas LasNikas requested review from efaulhaber and svchb May 19, 2025 08:55
@efaulhaber
Copy link
Copy Markdown
Member

/run-gpu-tests

@efaulhaber efaulhaber enabled auto-merge (squash) May 21, 2025 14:28
@efaulhaber efaulhaber merged commit cf1a67e into trixi-framework:main May 21, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants