- inputThe mesh we want to modify
C++ Type:MeshGeneratorName
Controllable:No
Description:The mesh we want to modify
- num_partitionsNumber of partitioners to get from the partitioner
C++ Type:unsigned int
Controllable:No
Description:Number of partitioners to get from the partitioner
SubdomainsFromPartitionerGenerator
Changes the subdomain ID of elements based on the output of the partitioner
Note that most partitioners do not guarantee a contiguous partition! See the Partitioner syntax page for a list of partitioners available in MOOSE.
Most partitioners will error if the number of parallel processes does not match the number of partitions requested. This mesh generator may be used in parallel, preceded by a FileMeshGenerator if needed to load a starting mesh previously generated in serial, then its output may be loaded by other mesh generators, again using a FileMeshGenerator if these following mesh generators prefer working on a mesh in serial.
Input Parameters
- included_subdomainsOnly change subdomain ID only for elements in those subdomains
C++ Type:std::vector<SubdomainName>
Controllable:No
Description:Only change subdomain ID only for elements in those subdomains
- offset0Offset to apply to the subdomain IDs. Default type is a short integer, do not use a large value!
Default:0
C++ Type:unsigned short
Controllable:No
Description:Offset to apply to the subdomain IDs. Default type is a short integer, do not use a large value!
Optional Parameters
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:No
Description:Set the enabled status of the MooseObject.
- save_with_nameKeep the mesh from this mesh generator in memory with the name specified
C++ Type:std::string
Controllable:No
Description:Keep the mesh from this mesh generator in memory with the name specified
Advanced Parameters
- nemesisFalseWhether or not to output the mesh file in the nemesisformat (only if output = true)
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not to output the mesh file in the nemesisformat (only if output = true)
- outputFalseWhether or not to output the mesh file after generating the mesh
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not to output the mesh file after generating the mesh
- show_infoFalseWhether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not to show mesh info after generating the mesh (bounding box, element types, sidesets, nodesets, subdomains, etc)