Skip to content

Conversation

@AhmedSalih3d
Copy link
Owner

Summary

  • Allocate particle kernel arrays only when explicitly requested
  • Skip unpacking and exporting kernel data when unused
  • Derive default output variables from KernelOutputMode

Testing

  • julia --project=. -e 'using Pkg; Pkg.test()'

https://chatgpt.com/codex/tasks/task_e_68c57462fc5883239c6c73d49c867ee0

Changed function names from default_output_variables to DefaultOutputVariables for consistency. Updated references in SimulationMetaDataConfiguration.jl to use the new function names.
To also improve MDBC setup as well as kernels as before
Refactored LoadSpecificCSV to use a helper function for point extraction based on dimension, improving clarity and reducing code duplication. Replaced manual loops for GravityFactor and MotionLimiter with helper functions and broadcasting for better performance and maintainability.
…h exist as a way to speed up DDT

Update MovingSquare2D example by using ZeroGravityLinearDensity, which exist as a way to speed up DDT
…lities

Update PreProcess.jl by removing unneeded multiple dispatch functionalities.

This simplifies code because unexpected code cases are now not possible as such for the AllocateDataStructures function in shaa Allah
… of this simulation code.

Update of dam break simulation in 3D to use the latest settings setup of this simulation code.
Updated to remove saving ChunkIDs
Update function inputs to match better
Work in progress to ensure cleaner code in shaa Allah
Refactored several simulation step functions to accept and operate on SimParticles and SupportParticles structs instead of passing individual arrays. This improves code clarity, reduces argument lists, and prepares the codebase for further extensibility. Also updated the time step calculation to use the SimParticles struct.
Updated zeroing and reduction functions to accept SimParticles instead of individual kernel arrays. This change simplifies function signatures and improves code clarity by grouping related arrays into a single structure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants