#include "PetscLinearSolver.h"
Defines | |
| #define | __FUNCT__ "" |
This class use PETSC to solve the linear system A x = b, which results from the pressure Poisson equation. A is the matrix, x is the soultion of pressure, and b is the source terms. Note that A is represented by a sparse matrix for efficiency. The performace of the solver is mainly determined by this part, because the Poisson equation is the most expensive part to solve.
| #define __FUNCT__ "" |
1.5.6