TSRHSSplitSetRHSFunction#
Set the split right-hand-side functions.
Synopsis#
#include "petscts.h"
PetscErrorCode TSRHSSplitSetRHSFunction(TS ts, const char splitname[], Vec r, TSRHSFunction rhsfunc, void *ctx)
Logically Collective
Input Parameters#
Calling sequence of fun#
t - time at step/stage being solved
u - state vector
f - function vector
ctx - [optional] user-defined context for matrix evaluation routine (may be NULL)
See Also#
Level#
beginner
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages