PartitioningRegister

Adds a new sparse matrix partitioning to the matrix package.

Synopsis

int PartitioningRegister(PartitioningType name,PartitioningType *oname,char *sname,int (*part)(Partitioning))

Input Parameters

name -name of partitioning (for example PARTITIONING_CURRENT) or PARTITIONING_NEW
sname -corresponding string for name
order -routine that does partitioning

Output Parameters

oname -number associated with the partitioning (for example PARTITIONING_CURRENT)

Not Collective

Keywords

matrix, partitioning, register

See Also

PartitioningRegisterDestroy(), PartitioningRegisterAll()

Location: src/mat/impls/partition/partition.c
Matrix Index
Table of Contents