RandomPartitioner

Assigns element processor ids randomly with a given seed.

Description

Partitions the mesh randomly.

This is useful when you want to show the importance of a good partitioner by showing the results with a very bad partitioner!

How it Works

For each element, the RandomPartitioner scales a random number on [0, 1] to the number of processors in the partition and assigns the processor ID of the element to this value.

Input Parameters

  • seed0Seed for the random generator

    Default:0

    C++ Type:unsigned int

    Controllable:No

    Description:Seed for the random generator

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

References

No citations exist within this document.