-
Notifications
You must be signed in to change notification settings - Fork 11
Avoid storing unnecessary kernel outputs #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AhmedSalih3d
wants to merge
19
commits into
main
Choose a base branch
from
codex/remove-kernel-output-arrays-from-simparticles
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Avoid storing unnecessary kernel outputs #61
AhmedSalih3d
wants to merge
19
commits into
main
from
codex/remove-kernel-output-arrays-from-simparticles
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
KernelOutputModeTesting
julia --project=. -e 'using Pkg; Pkg.test()'https://chatgpt.com/codex/tasks/task_e_68c57462fc5883239c6c73d49c867ee0