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
#include "petscmat.h"
int MatSetLocalToGlobalMapping(Mat x,ISLocalToGlobalMapping mapping)
Not Collective
Input Parameters
Keywords
matrix, set, values, local, global, mapping
See Also
MatAssemblyBegin(), MatAssemblyEnd(), MatSetValues(), MatSetValuesLocal()
Level:intermediate
Location:src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/snes/examples/tutorials/ex5.c
src/snes/examples/tutorials/ex7.c
src/snes/examples/tutorials/ex12.c
src/snes/examples/tutorials/ex14.c
src/snes/examples/tutorials/ex15.c
src/snes/examples/tutorials/ex5d.c
src/snes/examples/tutorials/ex5m.c
src/snes/examples/tutorials/ex5f.F
src/snes/examples/tutorials/ex5f90.F