ViewerRegister(char *name_solver,char *path,char *name_create,int (*routine_create)(Viewer))Not Collective
name_solver | - name of a new user-defined solver |
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.
ViewerRegister("my_viewer_type",/home/username/my_lib/lib/libO/solaris/mylib.a, "MyViewerCreate",MyViewerCreate);
Then, your solver can be chosen with the procedural interface via
ViewerSetType(ksp,"my_viewer_type")or at runtime via the option
-viewer_type my_viewer_type
Level:developer
Location:src/sys/src/viewer/interface/viewreg.c
Viewer Index
Table of Contents