VecSetLocalToGlobalMapping

Sets a local numbering to global numbering used by the routine VecSetValuesLocal() to allow users to insert vector entries using a local (per-processor) numbering.

Synopsis

int VecSetLocalToGlobalMapping(Vec x, ISLocalToGlobalMapping mapping)
Collective on Vec

Input Parameters

x - vector
mapping - mapping created with ISLocalToGlobalMappingCreate() or ISLocalToGlobalMappingCreateIS()

Notes

All vectors obtained with VecDuplicate() from this vector inherit the same mapping.

Keywords

vector, set, values, local ordering

See Also

VecAssemblyBegin(), VecAssemblyEnd(), VecSetValues(), VecSetValuesLocal(),
VecSetLocalToGlobalMappingBlocked(), VecSetValuesBlockedLocal()

Examples

src/vec/examples/tutorials/ex8.c

Location: src/vec/interface/vector.c
Vector Index
Table of Contents