petsc-3.7.1 2016-05-15
Report Typos and Errors

TSAlpha2SetParams

sets the algorithmic parameters for TSALPHA2

Synopsis

#include "petscts.h"   
PetscErrorCode TSAlpha2SetParams(TS ts,PetscReal alpha_m,PetscReal alpha_f,PetscReal gamma,PetscReal beta)
Logically Collective on TS Many br

Second-order accuracy can be obtained so long as

\gamma = 1/2 + alpha_m - alpha_f Many br\beta = 1/4 (1 + alpha_m - alpha_f)^2 Many br

Unconditional stability requires

\alpha_m >= \alpha_f >= 1/2 Many br

Input Parameter

ts - timestepping context Many br
\alpha_m - algorithmic paramenter Many br
\alpha_f - algorithmic paramenter Many br
\gamma - algorithmic paramenter Many br
\beta - algorithmic paramenter Many br

Options Database

Note

Use of this function is normally only required to hack TSALPHA2 to Many bruse a modified integration scheme. Users should call Many brTSAlpha2SetRadius() to set the desired spectral radius of the methods Many br(i.e. high-frequency damping) in order so select optimal values for Many brthese parameters. Many br

Many br

See Also

TSAlpha2SetRadius(), TSAlpha2GetParams()

Level:advanced
Location:
src/ts/impls/implicit/alpha/alpha2.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages

-ts_alpha_alpha_m <alpha_m>- . -ts_alpha_alpha_f <alpha_f> Many br
-ts_alpha_gamma <gamma>- - -ts_alpha_beta <beta> Many br