MBDyn-1.7.3
|
#include <ls.h>
Classes | |
struct | ErrFactor |
struct | ErrNoPivot |
struct | ErrNullColumn |
Public Member Functions | |
LinearSolver (SolutionManager *pSM=NULL) | |
virtual | ~LinearSolver (void) |
virtual void | Reset (void) |
virtual void | Solve (void) const =0 |
virtual void | SolveT (void) const |
bool | bReset (void) const |
void | SetSolutionManager (SolutionManager *pSM) |
doublereal * | pdGetResVec (void) const |
doublereal * | pdGetSolVec (void) const |
doublereal * | pdSetResVec (doublereal *pd) |
doublereal * | pdSetSolVec (doublereal *pd) |
virtual void | MakeCompactForm (SparseMatrixHandler &mh, std::vector< doublereal > &Ax, std::vector< integer > &Ar, std::vector< integer > &Ac, std::vector< integer > &Ap) const |
virtual bool | bGetConditionNumber (doublereal &dCond) |
Protected Attributes | |
SolutionManager * | pSM |
bool | bHasBeenReset |
doublereal * | pdRhs |
doublereal * | pdSol |
LinearSolver::LinearSolver | ( | SolutionManager * | pSM = NULL | ) |
|
virtual |
|
virtual |
Definition at line 132 of file ls.cc.
Referenced by SolutionManager::bGetConditionNumber().
|
inline |
Definition at line 89 of file ls.h.
References bHasBeenReset.
Referenced by NaiveSparseSolutionManager::ScaleMatrixAndRightHandSide().
|
virtual |
doublereal * LinearSolver::pdGetResVec | ( | void | ) | const |
doublereal * LinearSolver::pdGetSolVec | ( | void | ) | const |
doublereal * LinearSolver::pdSetResVec | ( | doublereal * | pd | ) |
Definition at line 95 of file ls.cc.
References pdRhs.
Referenced by NaiveSparseSolutionManager::NaiveSparseSolutionManager(), and SolutionManager::pdSetResVec().
doublereal * LinearSolver::pdSetSolVec | ( | doublereal * | pd | ) |
Definition at line 113 of file ls.cc.
References pdSol.
Referenced by NaiveSparseSolutionManager::NaiveSparseSolutionManager(), and SolutionManager::pdSetSolVec().
|
virtual |
Reimplemented in NaiveSolver.
Definition at line 68 of file ls.cc.
References bHasBeenReset.
Referenced by NaiveSparseSolutionManager::MatrReset().
void LinearSolver::SetSolutionManager | ( | SolutionManager * | pSM | ) |
Definition at line 81 of file ls.cc.
References pSM.
Referenced by NaiveSparseSolutionManager::NaiveSparseSolutionManager().
|
pure virtual |
Implemented in NaiveSolver.
Referenced by NaiveSparseSolutionManager::Solve().
|
virtual |
|
mutableprotected |
Definition at line 73 of file ls.h.
Referenced by bReset(), NaiveSolver::Reset(), Reset(), and NaiveSolver::Solve().
|
protected |
Definition at line 74 of file ls.h.
Referenced by pdGetResVec(), pdSetResVec(), and NaiveSolver::Solve().
|
protected |
Definition at line 75 of file ls.h.
Referenced by pdGetSolVec(), pdSetSolVec(), and NaiveSolver::Solve().
|
protected |
Definition at line 72 of file ls.h.
Referenced by SetSolutionManager().