Skip to content

Conversation

@pdziekan
Copy link
Contributor

No description provided.

… of substeps; sanity checks; outline of logic in step
…code), some issues with pparticle with mixing
@slayoo
Copy link
Collaborator

slayoo commented Nov 13, 2025

🚀

Copilot AI review requested due to automatic review settings December 3, 2025 15:46
Copy link

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 pull request implements adaptive condensation substepping for particle-based cloud microphysics simulations. The key changes include:

  • Implementation of adaptive per-particle condensation substepping algorithm
  • Refactoring code organization by moving implementation files into logical subdirectories (initialization/, condensation/, housekeeping/, etc.)
  • New comprehensive test suite for condensation substepping with reference data comparison
  • Updates to existing condensation logic to support both per-cell and per-particle substepping modes

Reviewed changes

Copilot reviewed 64 out of 120 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/python/unit/sstp_cond.py Updated unit test with commented debug code
tests/python/physics/lgrngn_cond_substepping.py New comprehensive test script for condensation substepping
tests/python/physics/lgrngn_cond_substepping_test.py New comparison test against reference data
tests/python/physics/lgrngn_cond_substepping_plot.py New plotting utility for visualization
tests/python/physics/refdata/lgrngn_cond_substepping_refdata.csv New reference data file (281 lines)
tests/python/physics/README_cond_substepping.md New documentation for test workflow
tests/python/physics/CMakeLists.txt Updated to register new tests
tests/python/physics/lgrngn_cond.py Updated with commented assertions
src/particles_step.ipp Major refactoring of condensation stepping logic
src/particles_init.ipp Updates to initialization for new features
src/particles_diag.ipp Minor diagnostic updates
src/particles.tpp Reorganization of include files into subdirectories
src/impl/particles_impl.ipp Core data structure updates for adaptive substepping
src/impl/initialization/* Multiple initialization files moved/created
src/impl/condensation/* New condensation implementation files
src/impl/housekeeping/* Housekeeping files reorganized
src/impl/sources_and_relaxation_of_SDs/* Source/relaxation files reorganized
Various other impl files Files moved to appropriate subdirectories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pdziekan pdziekan merged commit a7a3db7 into igfuw:master Jan 23, 2026
43 of 78 checks passed
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.

2 participants