MatSetLocalToGlobalMapping

Sets a local-to-global numbering for use by the routine MatSetValuesLocal() to allow users to insert matrix entries using a local (per-processor) numbering.

Synopsis

int MatSetLocalToGlobalMapping(Mat x,ISLocalToGlobalMapping mapping)
Not Collective

Input Parameters

x - the matrix
mapping - mapping created with ISLocalToGlobalMappingCreate() or ISLocalToGlobalMappingCreateIS()

Keywords

matrix, set, values, local, global, mapping

See Also

MatAssemblyBegin(), MatAssemblyEnd(), MatSetValues(), MatSetValuesLocal()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents