#include "petscis.h" PetscErrorCode ISRegister(const char sname[], PetscErrorCode (*function)(IS))Not Collective Many br
name | - The name of a new user-defined creation routine Many br | |
create_func | - The creation routine itself Many br |
ISRegister("my_is_name", MyISCreate);Many br
Then, your vector type can be chosen with the procedural interface via Many br
ISCreate(MPI_Comm, IS *); ISSetType(IS,"my_is_name");Many bror at runtime via the option Many br
-is_type my_is_nameMany br
This is no ISSetFromOptions() and the current implementations do not have a way to dynamically determine type, so Many brdynamic registration of custom IS types will be of limited use to users. Many br
Many br
Many br
Level:developer
Location:src/vec/is/is/interface/isreg.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages