#include "petscdmplex.h" PetscErrorCode PetscPartitionerRegister(const char sname[], PetscErrorCode (*function)(PetscPartitioner))Not Collective Many br
name | - The name of a new user-defined creation routine Many br | |
create_func | - The creation routine itself Many br |
PetscPartitionerRegister("my_part", MyPetscPartitionerCreate);Many br
Then, your PetscPartitioner type can be chosen with the procedural interface via Many br
PetscPartitionerCreate(MPI_Comm, PetscPartitioner *); PetscPartitionerSetType(PetscPartitioner, "my_part");Many bror at runtime via the option Many br
-petscpartitioner_type my_partMany br
Many br
Level:advanced
Location:src/dm/impls/plex/plexpartition.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages