Skip to main content
Ctrl+K
PETSc v3.23.3-245-g85df088bb0012 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PetscPartiti...

PetscPartitionerCreate#

Creates an empty PetscPartitioner object. The type can then be set with PetscPartitionerSetType().

Synopsis#

#include "petscpartitioner.h" 
PetscErrorCode PetscPartitionerCreate(MPI_Comm comm, PetscPartitioner *part)

Collective

Input Parameter#

  • comm - The communicator for the PetscPartitioner object

Output Parameter#

  • part - The PetscPartitioner object

See Also#

PetscPartitionerSetType(), PetscPartitionerDestroy()

Level#

beginner

Location#

src/dm/partitioner/interface/partitioner.c

Implementations#

PetscPartitionerCreate_Chaco() in src/dm/partitioner/impls/chaco/partchaco.c
PetscPartitionerCreate_Gather() in src/dm/partitioner/impls/gather/partgather.c
PetscPartitionerCreate_MatPartitioning() in src/dm/partitioner/impls/matpart/partmatpart.c
PetscPartitionerCreate_ParMetis() in src/dm/partitioner/impls/parmetis/partparmetis.c
PetscPartitionerCreate_PTScotch() in src/dm/partitioner/impls/ptscotch/partptscotch.c
PetscPartitionerCreate_Shell() in src/dm/partitioner/impls/shell/partshell.c
PetscPartitionerCreate_Simple() in src/dm/partitioner/impls/simple/partsimple.c


Index of all MatGraphOperations routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Synopsis
  • Input Parameter
  • Output Parameter
  • See Also
  • Level
  • Location
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-06-17T03:45:30-0500 (v3.23.3-245-g85df088bb0012).