-
Notifications
You must be signed in to change notification settings - Fork 18
[SPH][Setup] fix and add control over initial h factor for disc setup #879
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
Conversation
y-lapeyre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you!
Workflow reportworkflow report corresponding to commit ab68e19 Pre-commit check reportPre-commit check: ✅ Test pipeline can run. Clang-tidy diff reportNo relevant changes found. You should now go back to your normal life and enjoy a hopefully sunny day while waiting for the review. Doxygen diff with
|
@y-lapeyre, This should fix the issue. I moved the factor to a global factor on h for clarity and added a new parameter h_init_factor (default = 0.8) which would be the factor applied to the smoothing lenght deduced from the density generated by the disc setup.
This should not require any change as it has a default value but will add the possibility to control it if needed.