1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>TSGLType</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="TSGLType"><H1>TSGLType</H1></A>
family of time integration method within the General Linear class
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#define TSGLType char*
#define TSGL_IRKS "irks"
/*MC
TSGLRegisterDynamic - adds a TSGL implementation
Synopsis:
PetscErrorCode TSGLRegisterDynamic(const char *name_scheme,const char *path,const char *name_create,PetscErrorCode (*routine_create)(TS))
Not Collective
Input Parameters:
+ name_scheme - name of user-defined general linear scheme
. path - path (either absolute or relative) the library containing this scheme
. name_create - name of routine to create method context
- routine_create - routine to create method context
Notes:
TSGLRegisterDynamic() may be called multiple times to add several user-defined families.
If dynamic libraries are used, then the fourth input argument (routine_create)
is ignored.
Sample usage:
.vb
TSGLRegisterDynamic("my_scheme",/home/username/my_lib/lib/libO/solaris/mylib.a,
"MySchemeCreate",MySchemeCreate);
</PRE>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../TS/TSGLSetType.html#TSGLSetType">TSGLSetType</A>(), <A HREF="../TS/TSGLRegister.html#TSGLRegister">TSGLRegister</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/ts/../../include/petscts.h.html#TSGLType">src/ts/../../include/petscts.h</A>
<BR><A HREF="./index.html">Index of all TS routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|