Dem variable cell weight for load balancing #1446
Open
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.
Description
When load balancing, the base weight of every cell was set at 1000. This feature allows the cell weight to vary depending on its barycenter position by using a parsed function. This way, the cell weight could vary over space an time.
This will be useful when dealing with static dem problem, where you can only load balance once at the start on the simulation to keep track of the tangential overlap. Cells where we know the particle are going to be could be assign a bigger weight then those where no particle will be present.
This PR is in WIP for now. I just want to see if the test are failling in dealii 9.6 on the CI .
Testing
Test need to be implemented.
Documentation
cell weight function
is adim
function outputing a scalar value. This function will be evaluated at every load balancer for every cell barycenter.Checklist (will be removed when merged)
See this page for more information about the pull request process.
Code related list:
Pull request related list: