ISLocalToGlobalMappingRegister#
Registers a method for applying a global to local mapping with an ISLocalToGlobalMapping
Synopsis#
#include "petscis.h"  
PetscErrorCode ISLocalToGlobalMappingRegister(const char sname[], PetscErrorCode (*function)(ISLocalToGlobalMapping))
Not Collective, No Fortran Support
Input Parameters#
- sname - name of a new method 
- function - routine to create method context 
Example Usage#
   ISLocalToGlobalMappingRegister("my_mapper", MyCreate);
Then, your mapping can be chosen with the procedural interface via
ISLocalToGlobalMappingSetType(ltog, "my_mapper")
or at runtime via the option
-islocaltoglobalmapping_type my_mapper
Note#
ISLocalToGlobalMappingRegister() may be called multiple times to add several user-defined mappings.
See Also#
Low-level Vector Communication, ISLocalToGlobalMappingRegisterAll(), ISLocalToGlobalMappingRegisterDestroy(), ISLOCALTOGLOBALMAPPINGBASIC,
ISLOCALTOGLOBALMAPPINGHASH, ISLocalToGlobalMapping, ISLocalToGlobalMappingApply()
Level#
advanced
Location#
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages