MBDyn-1.7.3
|
#include <naivewrap.h>
Public Member Functions | |
NaiveSparsePermSolutionManager (const integer Dim, const doublereal dMP=1.e-9, const ScaleOpt &scale=ScaleOpt()) | |
virtual | ~NaiveSparsePermSolutionManager (void) |
virtual void | Solve (void) |
virtual void | MatrInitialize (void) |
Public Member Functions inherited from NaiveSparseSolutionManager | |
NaiveSparseSolutionManager (const integer Dim, const doublereal dMP=1.e-9, const ScaleOpt &scale=ScaleOpt()) | |
virtual | ~NaiveSparseSolutionManager (void) |
virtual MatrixHandler * | pMatHdl (void) const |
virtual MyVectorHandler * | pResHdl (void) const |
virtual MyVectorHandler * | pSolHdl (void) const |
Public Member Functions inherited from SolutionManager | |
SolutionManager (void) | |
virtual | ~SolutionManager (void) |
virtual void | LinkToSolution (VectorHandler &XCurr, VectorHandler &XPrimeCurr) |
virtual void | SolveT (void) |
doublereal * | pdSetResVec (doublereal *pd) |
doublereal * | pdSetSolVec (doublereal *pd) |
bool | bGetConditionNumber (doublereal &dCond) const |
Protected Types | |
enum | { PERM_NO, PERM_INTERMEDIATE, PERM_READY } |
Protected Member Functions | |
virtual void | MatrReset (void) |
Protected Member Functions inherited from NaiveSparseSolutionManager | |
template<class MH > | |
void | ScaleMatrixAndRightHandSide (MH &mh) |
template<typename MH > | |
MatrixScale< MH > & | GetMatrixScale () |
void | ScaleSolution (void) |
Protected Attributes | |
enum NaiveSparsePermSolutionManager:: { ... } | ePermState |
std::vector< integer > | perm |
std::vector< integer > | invperm |
Protected Attributes inherited from NaiveSparseSolutionManager | |
NaiveMatrixHandler * | A |
MyVectorHandler | VH |
ScaleOpt | scale |
MatrixScaleBase * | pMatScale |
Protected Attributes inherited from SolutionManager | |
LinearSolver * | pLS |
Private Member Functions | |
void | ComputePermutation (void) |
void | BackPerm (void) |
template<> | |
void | ComputePermutation (void) |
Private Attributes | |
const doublereal | dMinPiv |
MyVectorHandler | TmpH |
Additional Inherited Members | |
Public Types inherited from SolutionManager | |
enum | ScaleWhen { SCALEW_NEVER = 0, SCALEW_ONCE, SCALEW_ALWAYS } |
enum | ScaleAlgorithm { SCALEA_NONE, SCALEA_UNDEF, SCALEA_ROW_MAX, SCALEA_ROW_SUM, SCALEA_COL_MAX, SCALEA_COL_SUM, SCALEA_LAPACK, SCALEA_ITERATIVE, SCALEA_ROW_MAX_COL_MAX } |
enum | ScaleFlags { SCALEF_DEFAULT = 0x0u, SCALEF_WARN = 0x1u, SCALEF_VERBOSE = 0x2u, SCALEF_COND_NUM_1 = 0x4u, SCALEF_COND_NUM_INF = 0x8u, SCALEF_COND_NUM = SCALEF_COND_NUM_1 | SCALEF_COND_NUM_INF } |
Definition at line 124 of file naivewrap.h.
|
protected |
Enumerator | |
---|---|
PERM_NO | |
PERM_INTERMEDIATE | |
PERM_READY |
Definition at line 133 of file naivewrap.h.
NaiveSparsePermSolutionManager< T >::NaiveSparsePermSolutionManager | ( | const integer | Dim, |
const doublereal | dMP = 1.e-9 , |
||
const ScaleOpt & | scale = ScaleOpt() |
||
) |
Definition at line 281 of file naivewrap.cc.
References NaiveSparseSolutionManager::A, NaiveSparsePermSolutionManager< T >::invperm, NaiveSparsePermSolutionManager< T >::MatrInitialize(), NaivePermMatrixHandler::NaivePermMatrixHandler(), NaiveSparsePermSolutionManager< T >::perm, SolutionManager::pLS, SAFEDELETE, and SAFENEWWITHCONSTRUCTOR.
|
virtual |
Definition at line 305 of file naivewrap.cc.
References NO_OP.
|
private |
Definition at line 323 of file naivewrap.cc.
References ASSERT, and NaivePermMatrixHandler::invperm.
|
private |
|
private |
Definition at line 390 of file naivewrap.cc.
References COLAMD_KNOBS, COLAMD_STATS, NaivePermMatrixHandler::invperm, mbdyn_colamd(), mbdyn_colamd_recommended(), mbdyn_colamd_set_defaults(), MBDYN_EXCEPT_ARGS, and NaivePermMatrixHandler::perm.
|
virtual |
Reimplemented from SolutionManager.
Definition at line 371 of file naivewrap.cc.
References NaivePermMatrixHandler::invperm, and NaivePermMatrixHandler::perm.
Referenced by NaiveSparsePermSolutionManager< T >::NaiveSparsePermSolutionManager().
|
protectedvirtual |
Reimplemented from NaiveSparseSolutionManager.
Definition at line 312 of file naivewrap.cc.
References NaiveSparseSolutionManager::MatrReset().
|
virtual |
Reimplemented from NaiveSparseSolutionManager.
Definition at line 340 of file naivewrap.cc.
References ASSERT.
|
private |
Definition at line 126 of file naivewrap.h.
enum { ... } NaiveSparsePermSolutionManager< T >::ePermState |
|
mutableprotected |
Definition at line 140 of file naivewrap.h.
Referenced by NaiveSparsePermSolutionManager< T >::NaiveSparsePermSolutionManager().
|
mutableprotected |
Definition at line 139 of file naivewrap.h.
Referenced by NaiveSparsePermSolutionManager< T >::NaiveSparsePermSolutionManager().
|
mutableprivate |
Definition at line 127 of file naivewrap.h.