TSComputeRHSFunction

Evaluates the right-hand-side function.

Synopsis

#include "petscts.h"  
PetscErrorCode TSComputeRHSFunction(TS ts,PetscReal t,Vec x,Vec y)
Collective on TS and Vec

Input Parameters

ts - the TS context
t - current time
x - state vector

Output Parameter

y -right hand side

Note

Most users should not need to explicitly call this routine, as it is used internally within the nonlinear solvers.

If the user did not provide a function but merely a matrix, this routine applies the matrix.

Keywords

TS, compute

See Also

TSSetRHSFunction(), TSComputeIFunction()

Level:developer
Location:
src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/util2.c.html