#include "petscts.h" PetscErrorCode TSIRKTableauCreate(TS ts,PetscInt nstages,const PetscReal *A,const PetscReal *b,const PetscReal *c,const PetscReal *binterp,const PetscScalar *A_inv,const PetscScalar *A_inv_rowsum,const PetscScalar *I_s)Not Collective
ts | - timestepping context | |
nstages | - number of stages, this is the dimension of the matrices below | |
A | - stage coefficients (dimension nstages*nstages, row-major) | |
b | - step completion table (dimension nstages) | |
c | - abscissa (dimension nstages) | |
binterp | - coefficients of the interpolation formula (dimension nstages) | |
A_inv | - inverse of A (dimension nstages*nstages, row-major) | |
A_inv_rowsum | - row sum of the inverse of A (dimension nstages) | |
I_s | - identity matrix (dimension nstages*nstages) |