|
MBDyn-1.7.3
|
#include <naivewrap.h>


Public Member Functions | |
| NaiveSolver (const integer &size, const doublereal &dMP, NaiveMatrixHandler *const a=0) | |
| ~NaiveSolver (void) | |
| void | SetMat (NaiveMatrixHandler *const a) |
| void | Reset (void) |
| void | Solve (void) const |
Public Member Functions inherited from LinearSolver | |
| LinearSolver (SolutionManager *pSM=NULL) | |
| virtual | ~LinearSolver (void) |
| 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) |
Private Member Functions | |
| void | Factor (void) throw (LinearSolver::ErrFactor) |
Private Attributes | |
| integer | iSize |
| doublereal | dMinPiv |
| std::vector< integer > | piv |
| NaiveMatrixHandler * | A |
Additional Inherited Members | |
Protected Attributes inherited from LinearSolver | |
| SolutionManager * | pSM |
| bool | bHasBeenReset |
| doublereal * | pdRhs |
| doublereal * | pdSol |
Definition at line 52 of file naivewrap.h.
| NaiveSolver::NaiveSolver | ( | const integer & | size, |
| const doublereal & | dMP, | ||
| NaiveMatrixHandler *const | a = 0 |
||
| ) |
| NaiveSolver::~NaiveSolver | ( | void | ) |
Definition at line 63 of file naivewrap.cc.
References NO_OP.
|
private | ||||||||||||||
Definition at line 109 of file naivewrap.cc.
References A, dMinPiv, iSize, MBDYN_EXCEPT_ARGS, NAIVE_ENOPIV, NAIVE_ENULCOL, NAIVE_ERANGE, NAIVE_MASK, NAIVE_MAX, naivfct(), NaiveMatrixHandler::piNzc, NaiveMatrixHandler::piNzr, piv, NaiveMatrixHandler::ppdRows, NaiveMatrixHandler::ppiCols, NaiveMatrixHandler::ppiRows, and NaiveMatrixHandler::ppnonzero.
Referenced by Solve().

|
virtual |
Reimplemented from LinearSolver.
Definition at line 75 of file naivewrap.cc.
References LinearSolver::bHasBeenReset.
| void NaiveSolver::SetMat | ( | NaiveMatrixHandler *const | a | ) |
Definition at line 69 of file naivewrap.cc.
|
virtual |
Implements LinearSolver.
Definition at line 81 of file naivewrap.cc.
References A, LinearSolver::bHasBeenReset, Factor(), iSize, MBDYN_EXCEPT_ARGS, NAIVE_ERANGE, NAIVE_MASK, naivslv(), LinearSolver::pdRhs, LinearSolver::pdSol, NaiveMatrixHandler::piNzc, piv, NaiveMatrixHandler::ppdRows, and NaiveMatrixHandler::ppiCols.

|
private |
Definition at line 57 of file naivewrap.h.
|
private |
Definition at line 55 of file naivewrap.h.
Referenced by Factor().
|
private |
Definition at line 54 of file naivewrap.h.
|
mutableprivate |
Definition at line 56 of file naivewrap.h.