forked from idaholab/moose
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added docs for BlockWeightedPartitioner
Closes idaholab#13675
- Loading branch information
Showing
5 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
framework/doc/content/source/partitioner/BlockWeightedPartitioner.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
!template load file=stubs/moose_object.md.template name=BlockWeightedPartitioner syntax=/Mesh/Partitioner/BlockWeightedPartitioner | ||
|
||
## Overview | ||
|
||
Under multiphysics environment, some mesh blocks have more variables and more work load than others . In parallel, the work | ||
is spread out based on partitioners that assign equal number of elements to each processor. This will causes imbalanced simulations. | ||
BlockWeightedPartitioner allow users to specify different weights for different blocks, e.g., low weights for light blocks | ||
and high weights for heavy blocks. Usage: | ||
|
||
``` | ||
[Mesh] | ||
type = FileMesh | ||
file = block_weighted_partitioner.e | ||
[Partitioner] | ||
type = BlockWeightedPartitioner | ||
block = '1 2 3' | ||
weight = '3 1 10' | ||
[] | ||
[] | ||
``` | ||
|
||
An example: | ||
|
||
!row! | ||
!col! small=12 medium=6 large=3 | ||
!media weightedpartitioner4.png caption=`Weighted partition into 4 subdomains` | ||
!col-end! | ||
|
||
!col! small=12 medium=6 large=3 | ||
!media noweightedpartitioner4.png caption=`Regular partition into 4 subdomains` | ||
!col-end! | ||
!row-end! |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.6 KB
...partitioners/block_weighted_partitioner/gold/block_weighted_partitioner_out_distributed.e
Binary file not shown.
This file contains 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