DomainPartitioner

Create a uniform grid that overlays the mesh to be partitioned. Assign all elements within each cell of the grid to the same processor.

DomainPartitioner partitions the mesh by overlaying a uniform grid and assigning all elements that fall into the same grid cell to the same processor. The number of grid cells per direction is user-controllable.

Overview

Parameters nx, ny, nz set the number of partitions along x, y, z. If their product does not match the number of partitions, a balanced 1d/2d/3d factorization is computed automatically. This partitioner is helpful for problems with structured spatial locality.

Example Input File Syntax

[
  Mesh/
    [./mesh]
      type = GeneratedMesh
      dim = 3
      nx = 64
      ny = 64
      nz = 64
      partitioner = DomainPartitioner
      partitioner_options = 'nx=4 ny=2 nz=2'
    [../]
]
!listing-end

Input Parameters

  • nx1Number of processors in the X direction

    Default:1

    C++ Type:unsigned int

    Controllable:No

    Description:Number of processors in the X direction

  • ny1Number of processors in the Y direction

    Default:1

    C++ Type:unsigned int

    Controllable:No

    Description:Number of processors in the Y direction

  • nz1Number of processors in the Z direction

    Default:1

    C++ Type:unsigned int

    Controllable:No

    Description:Number of processors in the Z direction

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