template<class T, int MatOrder>
class gismo::gsFlowLinSystSolver_direct< T, MatOrder >
Direct solver for linear systems inside the incompressible flow solvers (classes derived from gsFlowSolverBase).
- Template Parameters
-
T | coefficient type |
MatOrder | sparse matrix storage order (ColMajor/RowMajor) |
|
virtual void | applySolver (const gsSparseMatrix< T, MatOrder > &mat, const gsMatrix< T > &rhs, gsMatrix< T > &solution) |
| Solve the linear system.
|
|
virtual void | applySolver (const gsSparseMatrix< T, MatOrder > &mat, const gsMatrix< T > &rhs, gsMatrix< T > &solution, real_t alpha_u, real_t alpha_p, index_t usize, index_t pdofs) |
| Solve the Navier–Stokes linear system with underrelaxation.
|
|
virtual const T | getSolverSetupTime () const |
| Returns the total time spent on linear solver setup.
|
|
virtual const T | getSolveTime () const |
| Returns the total time spent on solving of the linear systems.
|
|
| gsFlowLinSystSolver_direct (const gsFlowSolverParams< T > ¶ms) |
| Constructor.
|
|
virtual void | setupSolver (const gsSparseMatrix< T, MatOrder > &mat) |
| Setup the linear solver for a given matrix.
|
|