#include "petscts.h" PetscErrorCode TSAlphaSetParams(TS ts,PetscReal alpha_m,PetscReal alpha_f,PetscReal gamma)Logically Collective on TS
ts | - timestepping context | |
\alpha_m | - algorithmic paramenter | |
\alpha_f | - algorithmic paramenter | |
\gamma | - algorithmic paramenter |
-ts_alpha_alpha_m <alpha_m> | - . -ts_alpha_alpha_f <alpha_f> | |
-ts_alpha_gamma <gamma> | - Note: Use of this function is normally only required to hack TSALPHA to use a modified integration scheme. Users should call TSAlphaSetRadius() to set the desired spectral radius of the methods (i.e. high-frequency damping) in order so select optimal values for these parameters. |