PetscErrorCode STRegisterDynamic(const char *name,const char *path,const char *name_create,PetscErrorCode (*routine_create)(ST))Not collective
| name | - name of a new user-defined transformation | |
| path | - path (either absolute or relative) the library containing this solver | |
| name_create | - name of routine to create method context | |
| routine_create | - routine to create method context |
If dynamic libraries are used, then the fourth input argument (routine_create) is ignored.
STRegisterDynamic("my_solver","/home/username/my_lib/lib/libO/solaris/mylib.a",
"MySolverCreate",MySolverCreate);
Then, your solver can be chosen with the procedural interface via
STSetType(st,"my_solver")
or at runtime via the option
-st_type my_solver
Location: src/st/../../include/slepcst.h
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages