petsc-3.3-p7 2013-05-11

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.

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