Skip to main content
Ctrl+K
PETSc v3.25.0-1-gd928ef59b54d documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • TSRKSetType

TSRKSetType#

Set the type of the TSRK scheme

Synopsis#

#include "petscts.h"   
PetscErrorCode TSRKSetType(TS ts, TSRKType rktype)

Logically Collective

Input Parameters#

  • ts - timestepping context

  • rktype - type of TSRK scheme

Options Database Key#

  • -ts_rk_type - <1fe,2a,3,3bs,4,5f,5dp,5bs>

See Also#

TS: Scalable ODE and DAE Solvers, TSRKGetType(), TSRK, TSRKType, TSRK1FE, TSRK2A, TSRK2B, TSRK3, TSRK3BS, TSRK4, TSRK5F, TSRK5DP, TSRK5BS, TSRK6VR, TSRK7VR, TSRK8VR

Level#

intermediate

Location#

src/ts/impls/explicit/rk/rk.c

Examples#

src/ml/da/tutorials/ex4.c
src/ml/da/tutorials/ex2.c
src/ml/da/tutorials/ex1.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ml/da/tutorials/ex3.c

Implementations#

TSRKSetType_RK() in src/ts/impls/explicit/rk/rk.c


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

On this page
  • Synopsis
  • Input Parameters
  • Options Database Key
  • See Also
  • Level
  • Location
  • Examples
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-03-31T12:36:59-0500 (v3.25.0-1-gd928ef59b54d).