SNESMSRegister#
register a multistage scheme for SNESMS
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESMSRegister(SNESMSType name, PetscInt nstages, PetscInt nregisters, PetscReal stability, const PetscReal gamma[], const PetscReal delta[], const PetscReal betasub[])
Logically Collective, No Fortran Support
Input Parameters#
name - identifier for method
nstages - number of stages
nregisters - number of registers used by low-storage implementation
stability - scaled stability region
gamma - coefficients, see Ketcheson’s paper [Ket10]
delta - coefficients, see Ketcheson’s paper [Ket10]
betasub - subdiagonal of Shu-Osher form
Notes#
The notation is described in [Ket10] Ketcheson (2010) Runge-Kutta methods with minimum storage implementations.
Many multistage schemes are of the form
\[
\begin{align*}
X_0 = X^{(n)} \\
X_k = X_0 + \alpha_k * F(X_{k-1}), k = 1,\ldots,s \\
X^{(n+1)} = X_s
\end{align*}
\]
These methods can be registered with
SNESMSRegister("name",s,1,stability,NULL,NULL,alpha);
References#
See Also#
Level#
advanced
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages