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

    Unit:(no unit assumed)

    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>

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

References

No citations exist within this document.