petsc-3.14.5 2021-03-03
Report Typos and Errors

# TSForwardCostIntegral

Evaluate the cost integral in the forward run.

### Synopsis

    #include "petscts.h"
    PetscErrorCode TSForwardCostIntegral(TS ts)

Collective on TS

### Input Arguments

| ts | - time stepping context

### Notes

This function cannot be called until TSStep() has been completed.

### See Also

TSSolve(), TSAdjointCostIntegral()

### Level

advanced

### Location

src/ts/interface/sensitivity/tssen.c

### Implementations

TSForwardCostIntegral_RK in src/ts/impls/explicit/rk/rk.c
TSForwardCostIntegral_Theta in src/ts/impls/implicit/theta/theta.c
Index of all Sensitivity routines
Table of Contents for all manual pages
Index of all manual pages