Searched refs:gauss_b (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex74.c | 280 static PetscErrorCode RKCreate_Gauss(PetscInt nstages, PetscScalar **gauss_A, PetscScalar **gauss_b… in RKCreate_Gauss() argument 288 PetscCall(PetscMalloc3(PetscSqr(nstages), &A, nstages, gauss_b, nstages, &c)); in RKCreate_Gauss() 291 for (i = 0; i < nstages; i++) (*gauss_b)[i] = b[i]; /* copy to possibly-complex array */ in RKCreate_Gauss()
|
| /petsc/src/ts/impls/implicit/irk/ |
| H A D | irk.c | 91 PetscReal *gauss_A_real, *gauss_b, *b, *gauss_c; in TSIRKCreate_Gauss() local 99 PetscCall(PetscMalloc3(PetscSqr(nstages), &gauss_A_real, nstages, &gauss_b, nstages, &gauss_c)); in TSIRKCreate_Gauss() 103 for (i = 0; i < nstages; i++) gauss_b[i] = b[i]; /* copy to possibly-complex array */ in TSIRKCreate_Gauss() 153 …PetscCall(TSIRKTableauCreate(ts, nstages, gauss_A_real, gauss_b, gauss_c, NULL, gauss_A_inv, gauss… in TSIRKCreate_Gauss() 154 PetscCall(PetscFree3(gauss_A_real, gauss_b, gauss_c)); in TSIRKCreate_Gauss()
|