TSRHSJacobianTestTranspose#

Compares the multiply transpose routine provided to the MATSHELL with differencing on the TS given RHS function.

Synopsis#

#include "petscts.h"  
PetscErrorCode TSRHSJacobianTestTranspose(TS ts, PetscBool *flg)

Logically Collective

Input Parameter#

  • ts - the time stepping routine

Output Parameter#

  • flg - PETSC_TRUE if the multiply is likely correct

Options Database Key#

  • -ts_rhs_jacobian_test_mult_transpose - mat_shell_test_mult_transpose_view - run the test at each timestep of the integrator

Notes#

This only works for problems defined using TSSetRHSFunction() and Jacobian NOT TSSetIFunction() and Jacobian

See Also#

TS: Scalable ODE and DAE Solvers, TS, Mat, MatCreateShell(), MatShellGetContext(), MatShellGetOperation(), MatShellTestMultTranspose(), TSRHSJacobianTest()

Level#

advanced

Location#

src/ts/interface/ts.c


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