PETSc version 3.17.5
Fix/Edit manual page

TSIRKRegister

adds a TSIRK implementation

Synopsis

#include "petscts.h"   
PetscErrorCode TSIRKRegister(const char sname[],PetscErrorCode (*function)(TS))
Not Collective

Input Parameters

sname - name of user-defined IRK scheme
function - function to create method context

Notes

TSIRKRegister() may be called multiple times to add several user-defined families.

Sample usage

   TSIRKRegister("my_scheme",MySchemeCreate);

Then, your scheme can be chosen with the procedural interface via

    TSIRKSetType(ts,"my_scheme")
or at runtime via the option
    -ts_irk_type my_scheme

See Also

TSIRKRegisterAll()

Level

advanced

Location

src/ts/impls/implicit/irk/irk.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages