Macros | |
#define | ANSI_COLOR_CYAN "\x1b[36m" |
#define | ANSI_COLOR_RESET "\x1b[0m" |
Functions | |
int | main (int argc, char **args) |
KSP^solving the SPE equations complex numbers; Parabolic Stability Equations for Transition modeling
Solves a complex linear system in parallel with KSP.
The model problem: Solve SPE equation in the channel flow Dirichlet b.c.'s on all sides Use the 3-D, finite difference stencil.
Compiling the code: This code uses the complex numbers version of PETSc, so configure must be run to enable this
Include "petscksp.h" so that we can use KSP solvers. Note that this file automatically includes: petscsys.h - base PETSc routines petscvec.h - vectors petscmat.h - matrices petscis.h - index sets petscksp.h - Krylov subspace methods petscviewer.h - viewers petscpc.h - preconditioners
#define ANSI_COLOR_CYAN "\x1b[36m" |
#define ANSI_COLOR_RESET "\x1b[0m" |
int main | ( | int | argc, |
char ** | args | ||
) |