MBDyn-1.7.3
|
#include <dgeequ.h>
Public Member Functions | |
MatrixScaleBase (const SolutionManager::ScaleOpt &scale) | |
virtual | ~MatrixScaleBase () |
VectorHandler & | ScaleRightHandSide (VectorHandler &bVH) const |
VectorHandler & | ScaleSolution (VectorHandler &xVH) const |
std::ostream & | Report (std::ostream &os) const |
const std::vector< doublereal > & | GetRowScale () const |
const std::vector< doublereal > & | GetColScale () const |
bool | bGetInitialized () const |
Protected Member Functions | |
MatrixHandler::Norm_t | GetCondNumNorm () const |
virtual std::ostream & | vReport (std::ostream &os) const =0 |
void | Prepare (const MatrixHandler &mh, integer &nrows, integer &ncols) |
void | PrepareRows (const MatrixHandler &mh, integer &nrows) |
void | PrepareCols (const MatrixHandler &mh, integer &ncols) |
bool | bReport () const |
Protected Attributes | |
std::vector< doublereal > | rowScale |
std::vector< doublereal > | colScale |
doublereal | dCondBefore |
doublereal | dCondAfter |
const unsigned | uFlags |
bool | bOK |
Static Private Member Functions | |
static VectorHandler & | ScaleVector (VectorHandler &v, const std::vector< doublereal > &s) |
|
explicit |
|
inline |
Definition at line 59 of file dgeequ.h.
References colScale, and rowScale.
Referenced by NaiveSparseSolutionManager::ScaleMatrixAndRightHandSide().
|
inlineprotected |
Definition at line 249 of file dgeequ.h.
References SolutionManager::SCALEF_VERBOSE, SolutionManager::SCALEF_WARN, and uFlags.
|
inline |
|
inlineprotected |
Definition at line 234 of file dgeequ.h.
References ASSERT, MBDYN_EXCEPT_ARGS, MatrixHandler::NORM_1, MatrixHandler::NORM_INF, SolutionManager::SCALEF_COND_NUM, SolutionManager::SCALEF_COND_NUM_1, SolutionManager::SCALEF_COND_NUM_INF, and uFlags.
|
inline |
|
inlineprotected |
Definition at line 254 of file dgeequ.h.
References PrepareCols(), and PrepareRows().
Referenced by LapackMatrixScale< T >::ComputeScaleFactors().
|
protected |
Definition at line 104 of file dgeequ.cc.
References colScale, MatrixHandler::iGetNumCols(), and MBDYN_EXCEPT_ARGS.
Referenced by ColSumMatrixScale< T >::ComputeScaleFactors(), ColMaxMatrixScale< T >::ComputeScaleFactors(), and Prepare().
|
protected |
Definition at line 82 of file dgeequ.cc.
References MatrixHandler::iGetNumRows(), MBDYN_EXCEPT_ARGS, and rowScale.
Referenced by RowSumMatrixScale< T >::ComputeScaleFactors(), RowMaxMatrixScale< T >::ComputeScaleFactors(), and Prepare().
std::ostream & MatrixScaleBase::Report | ( | std::ostream & | os | ) | const |
Definition at line 52 of file dgeequ.cc.
References bOK, dCondAfter, dCondBefore, SolutionManager::SCALEF_COND_NUM, SolutionManager::SCALEF_VERBOSE, SolutionManager::SCALEF_WARN, uFlags, and vReport().
Referenced by ReportMatScale(), and NaiveSparseSolutionManager::ScaleMatrixAndRightHandSide().
|
inline |
Definition at line 216 of file dgeequ.h.
References rowScale, and ScaleVector().
Referenced by NaiveSparseSolutionManager::ScaleMatrixAndRightHandSide().
|
inline |
Definition at line 225 of file dgeequ.h.
References colScale, and ScaleVector().
Referenced by NaiveSparseSolutionManager::ScaleSolution().
|
staticprivate |
Definition at line 68 of file dgeequ.cc.
References ASSERT, VectorHandler::iGetSize(), and MBDYN_EXCEPT_ARGS.
Referenced by ScaleRightHandSide(), and ScaleSolution().
|
protectedpure virtual |
Implemented in RowMaxColMaxMatrixScale< T >, IterativeMatrixScale< T >, LapackMatrixScale< T >, ColMaxMatrixScale< T >, ColSumMatrixScale< T >, RowMaxMatrixScale< T >, and RowSumMatrixScale< T >.
Referenced by Report().
|
protected |
Definition at line 71 of file dgeequ.h.
Referenced by Report(), IterativeMatrixScale< T >::vReport(), and RowMaxColMaxMatrixScale< T >::vReport().
|
protected |
Definition at line 68 of file dgeequ.h.
Referenced by bGetInitialized(), GetColScale(), PrepareCols(), and ScaleSolution().
|
mutableprotected |
|
mutableprotected |
|
protected |
Definition at line 68 of file dgeequ.h.
Referenced by bGetInitialized(), GetRowScale(), PrepareRows(), and ScaleRightHandSide().
|
protected |
Definition at line 70 of file dgeequ.h.
Referenced by bReport(), GetCondNumNorm(), and Report().