TSRHSSplitGetSubTSs#

Get an array of all sub-TS contexts.

Synopsis#

#include "petscts.h"  
PetscErrorCode TSRHSSplitGetSubTSs(TS ts, PetscInt *n, TS *subts[])

Logically Collective

Input Parameter#

Output Parameters#

  • n - the number of splits

  • subksp - the array of TS contexts

Note#

After TSRHSSplitGetSubTS() the array of TSs is to be freed by the user with PetscFree() (not the TS in the array just the array that contains them).

See Also#

TS: Scalable ODE and DAE Solvers, TS, IS, TSGetRHSSplitFunction()

Level#

advanced

Location#

src/ts/interface/tsrhssplit.c


Edit on GitLab

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages