MBDyn-1.7.3
|
#include <spmapmh.h>
Classes | |
class | const_iterator |
Protected Member Functions | |
MatrixHandler & | MatMatMul_base (void(MatrixHandler::*op)(integer iRow, integer iCol, const doublereal &dCoef), MatrixHandler &out, const MatrixHandler &in) const |
MatrixHandler & | MatTMatMul_base (void(MatrixHandler::*op)(integer iRow, integer iCol, const doublereal &dCoef), MatrixHandler &out, const MatrixHandler &in) const |
virtual VectorHandler & | MatVecMul_base (void(VectorHandler::*op)(integer iRow, const doublereal &dCoef), VectorHandler &out, const VectorHandler &in) const |
virtual VectorHandler & | MatTVecMul_base (void(VectorHandler::*op)(integer iRow, const doublereal &dCoef), VectorHandler &out, const VectorHandler &in) const |
Private Types | |
typedef std::map< integer, doublereal > | row_cont_type |
Private Member Functions | |
SpMapMatrixHandler (const SpMapMatrixHandler &) | |
Private Attributes | |
std::vector< row_cont_type > | col_indices |
const_iterator | m_end |
Additional Inherited Members | |
![]() | |
enum | Norm_t { NORM_1, NORM_INF } |
![]() | |
integer | NRows |
integer | NCols |
integer | NZ |
|
private |
|
private |
Definition at line 68 of file spmapmh.cc.
References col_indices, and SparseMatrixHandler::NCols.
|
virtual |
Definition at line 74 of file spmapmh.cc.
References NO_OP.
|
inline |
Definition at line 116 of file spmapmh.h.
Referenced by FakeThirdOrderMulAndSumWithShift(), GetCol(), main(), MakeCompressedColumnForm(), MakeIndexForm(), MatMatMul_base(), MatTMatMul_base(), MatTVecMul_base(), MatVecMul_base(), MulAndSumWithShift(), DataManager::OutputEigSparseMatrices(), and Reset().
|
inlinevirtual |
Reimplemented from MatrixHandler.
Definition at line 170 of file spmapmh.h.
References ASSERTMSGBREAK, SparseMatrixHandler::NCols, SparseMatrixHandler::NRows, and operator()().
Referenced by SchurMatrixHandler::DecCoef(), and SchurMatrixHandlerUm::DecCoef().
|
inlinevirtual |
Reimplemented from MatrixHandler.
Definition at line 211 of file spmapmh.h.
References ASSERTMSGBREAK, col_indices, SparseMatrixHandler::NCols, SparseMatrixHandler::NRows, and Zero1.
|
inline |
Definition at line 120 of file spmapmh.h.
References m_end.
Referenced by main(), and DataManager::OutputEigSparseMatrices().
MatrixHandler & SpMapMatrixHandler::FakeThirdOrderMulAndSumWithShift | ( | MatrixHandler & | out, |
std::vector< bool > | b, | ||
doublereal | s = 1. , |
||
integer | drow = 0 , |
||
integer | dcol = 0 |
||
) | const |
Definition at line 296 of file spmapmh.cc.
References begin(), col_indices, SparseMatrixHandler::iGetNumCols(), MatrixHandler::iGetNumCols(), SparseMatrixHandler::iGetNumRows(), MatrixHandler::iGetNumRows(), MatrixHandler::IncCoef(), MBDYN_EXCEPT_ARGS, and SparseMatrixHandler::NCols.
Referenced by ThirdOrderIntegrator::Jacobian().
|
virtual |
Implements SparseMatrixHandler.
Definition at line 194 of file spmapmh.cc.
References begin(), col_indices, SparseMatrixHandler::iGetNumCols(), and MBDYN_EXCEPT_ARGS.
|
inlinevirtual |
Reimplemented from MatrixHandler.
Definition at line 153 of file spmapmh.h.
References ASSERTMSGBREAK, SparseMatrixHandler::NCols, SparseMatrixHandler::NRows, and operator()().
Referenced by SchurMatrixHandler::IncCoef(), and SchurMatrixHandlerUm::IncCoef().
|
virtual |
Implements SparseMatrixHandler.
Definition at line 80 of file spmapmh.cc.
References ASSERTMSGBREAK, begin(), col_indices, SparseMatrixHandler::NCols, SparseMatrixHandler::NZ, and SparseMatrixHandler::Nz().
Referenced by main(), and MakeCompressedColumnForm().
|
virtual |
Implements SparseMatrixHandler.
Definition at line 107 of file spmapmh.cc.
References SparseMatrixHandler::iGetNumCols(), MakeCompressedColumnForm(), and SparseMatrixHandler::Nz().
|
virtual |
Implements SparseMatrixHandler.
Definition at line 119 of file spmapmh.cc.
References ASSERTMSGBREAK, begin(), col_indices, SparseMatrixHandler::NCols, SparseMatrixHandler::NZ, and SparseMatrixHandler::Nz().
Referenced by MakeIndexForm().
|
virtual |
Implements SparseMatrixHandler.
Definition at line 148 of file spmapmh.cc.
References SparseMatrixHandler::iGetNumCols(), MakeIndexForm(), and SparseMatrixHandler::Nz().
|
protectedvirtual |
Reimplemented from MatrixHandler.
Definition at line 210 of file spmapmh.cc.
References begin(), col_indices, SparseMatrixHandler::iGetNumCols(), MatrixHandler::iGetNumCols(), SparseMatrixHandler::iGetNumRows(), MatrixHandler::iGetNumRows(), MBDYN_EXCEPT_ARGS, and SparseMatrixHandler::NCols.
|
protectedvirtual |
Reimplemented from MatrixHandler.
Definition at line 239 of file spmapmh.cc.
References begin(), col_indices, SparseMatrixHandler::iGetNumCols(), MatrixHandler::iGetNumCols(), SparseMatrixHandler::iGetNumRows(), MatrixHandler::iGetNumRows(), MBDYN_EXCEPT_ARGS, and SparseMatrixHandler::NCols.
|
protectedvirtual |
Reimplemented from MatrixHandler.
Definition at line 351 of file spmapmh.cc.
References begin(), col_indices, SparseMatrixHandler::iGetNumCols(), SparseMatrixHandler::iGetNumRows(), VectorHandler::iGetSize(), MBDYN_EXCEPT_ARGS, and SparseMatrixHandler::NCols.
|
protectedvirtual |
Reimplemented from MatrixHandler.
Definition at line 327 of file spmapmh.cc.
References begin(), col_indices, SparseMatrixHandler::iGetNumCols(), SparseMatrixHandler::iGetNumRows(), VectorHandler::iGetSize(), MBDYN_EXCEPT_ARGS, and SparseMatrixHandler::NCols.
MatrixHandler & SpMapMatrixHandler::MulAndSumWithShift | ( | MatrixHandler & | out, |
doublereal | s = 1. , |
||
integer | drow = 0 , |
||
integer | dcol = 0 |
||
) | const |
Definition at line 269 of file spmapmh.cc.
References begin(), col_indices, SparseMatrixHandler::iGetNumCols(), MatrixHandler::iGetNumCols(), SparseMatrixHandler::iGetNumRows(), MatrixHandler::iGetNumRows(), MatrixHandler::IncCoef(), MBDYN_EXCEPT_ARGS, and SparseMatrixHandler::NCols.
Referenced by ThirdOrderIntegrator::Jacobian().
|
inlinevirtual |
Implements MatrixHandler.
Definition at line 129 of file spmapmh.h.
References ASSERTMSGBREAK, col_indices, SparseMatrixHandler::NCols, SparseMatrixHandler::NRows, and SparseMatrixHandler::NZ.
Referenced by DecCoef(), IncCoef(), and PutCoef().
|
inlinevirtual |
Implements MatrixHandler.
Definition at line 229 of file spmapmh.h.
References ASSERTMSGBREAK, col_indices, SparseMatrixHandler::NCols, SparseMatrixHandler::NRows, and Zero1.
|
inlinevirtual |
Reimplemented from MatrixHandler.
Definition at line 187 of file spmapmh.h.
References ASSERTMSGBREAK, col_indices, SparseMatrixHandler::NCols, SparseMatrixHandler::NRows, and operator()().
Referenced by SchurMatrixHandler::PutCoef(), SchurMatrixHandlerUm::PutCoef(), and ReadAerodynamicModal().
|
virtual |
Implements MatrixHandler.
Definition at line 161 of file spmapmh.cc.
References begin(), col_indices, and SparseMatrixHandler::NCols.
Referenced by main(), SchurMatrixHandler::MatEFCReset(), SchurMatrixHandlerUm::MatEFCReset(), and ReadAerodynamicModal().
Implements MatrixHandler.
Definition at line 174 of file spmapmh.cc.
References col_indices, m_end, SparseMatrixHandler::NCols, SparseMatrixHandler::NRows, SparseMatrixHandler::NZ, and SpMapMatrixHandler::const_iterator::reset().
Referenced by ThirdOrderIntegrator::Advance().
|
mutableprivate |
Definition at line 79 of file spmapmh.h.
Referenced by dGetCoef(), FakeThirdOrderMulAndSumWithShift(), GetCol(), MakeCompressedColumnForm(), MakeIndexForm(), MatMatMul_base(), MatTMatMul_base(), MatTVecMul_base(), MatVecMul_base(), MulAndSumWithShift(), operator()(), PutCoef(), SpMapMatrixHandler::const_iterator::reset(), Reset(), Resize(), and SpMapMatrixHandler().
|
private |