![]() |
|
#include <PardisoSupport.h>
Public Types | |
enum | { ScalarIsComplex = NumTraits<Scalar>::IsComplex , ColsAtCompileTime = Dynamic , MaxColsAtCompileTime = Dynamic } |
typedef Traits::MatrixType | MatrixType |
typedef Traits::Scalar | Scalar |
typedef Traits::RealScalar | RealScalar |
typedef Traits::StorageIndex | StorageIndex |
typedef SparseMatrix< Scalar, RowMajor, StorageIndex > | SparseMatrixType |
typedef Matrix< Scalar, Dynamic, 1 > | VectorType |
typedef Matrix< StorageIndex, 1, MatrixType::ColsAtCompileTime > | IntRowVectorType |
typedef Matrix< StorageIndex, MatrixType::RowsAtCompileTime, 1 > | IntColVectorType |
typedef Array< StorageIndex, 64, 1, DontAlign > | ParameterType |
Public Member Functions | |
PardisoImpl () | |
~PardisoImpl () | |
Index | cols () const |
Index | rows () const |
ComputationInfo | info () const |
Reports whether previous computation was successful. More... | |
ParameterType & | pardisoParameterArray () |
Derived & | analyzePattern (const MatrixType &matrix) |
Derived & | factorize (const MatrixType &matrix) |
Derived & | compute (const MatrixType &matrix) |
template<typename Rhs , typename Dest > | |
void | _solve_impl (const MatrixBase< Rhs > &b, MatrixBase< Dest > &dest) const |
template<typename BDerived , typename XDerived > | |
void | _solve_impl (const MatrixBase< BDerived > &b, MatrixBase< XDerived > &x) const |
template<typename Rhs , typename Dest > | |
void | _solve_impl (const SparseMatrixBase< Rhs > &b, SparseMatrixBase< Dest > &dest) const |
![]() | |
SparseSolverBase () | |
SparseSolverBase (SparseSolverBase &&other) | |
~SparseSolverBase () | |
Derived & | derived () |
const Derived & | derived () const |
template<typename Rhs > | |
const Solve< Derived, Rhs > | solve (const MatrixBase< Rhs > &b) const |
template<typename Rhs > | |
const Solve< Derived, Rhs > | solve (const SparseMatrixBase< Rhs > &b) const |
template<typename Rhs , typename Dest > | |
void | _solve_impl (const SparseMatrixBase< Rhs > &b, SparseMatrixBase< Dest > &dest) const |
Protected Types | |
typedef SparseSolverBase< Derived > | Base |
typedef internal::pardiso_traits< Derived > | Traits |
Protected Member Functions | |
void | pardisoRelease () |
void | pardisoInit (int type) |
void | manageErrorCode (Index error) const |
Derived & | derived () |
const Derived & | derived () const |
Protected Attributes | |
SparseMatrixType | m_matrix |
ComputationInfo | m_info |
bool | m_analysisIsOk |
bool | m_factorizationIsOk |
StorageIndex | m_type |
StorageIndex | m_msglvl |
void * | m_pt [64] |
ParameterType | m_iparm |
IntColVectorType | m_perm |
Index | m_size |
bool | m_isInitialized |
![]() | |
bool | m_isInitialized |
|
protected |
typedef Matrix<StorageIndex, MatrixType::RowsAtCompileTime, 1> Eigen::PardisoImpl< Derived >::IntColVectorType |
typedef Matrix<StorageIndex, 1, MatrixType::ColsAtCompileTime> Eigen::PardisoImpl< Derived >::IntRowVectorType |
typedef Traits::MatrixType Eigen::PardisoImpl< Derived >::MatrixType |
typedef Array<StorageIndex, 64, 1, DontAlign> Eigen::PardisoImpl< Derived >::ParameterType |
typedef Traits::RealScalar Eigen::PardisoImpl< Derived >::RealScalar |
typedef Traits::Scalar Eigen::PardisoImpl< Derived >::Scalar |
typedef SparseMatrix<Scalar, RowMajor, StorageIndex> Eigen::PardisoImpl< Derived >::SparseMatrixType |
typedef Traits::StorageIndex Eigen::PardisoImpl< Derived >::StorageIndex |
|
protected |
typedef Matrix<Scalar, Dynamic, 1> Eigen::PardisoImpl< Derived >::VectorType |
anonymous enum |
Enumerator | |
---|---|
ScalarIsComplex | |
ColsAtCompileTime | |
MaxColsAtCompileTime |
|
inline |
References eigen_assert, Eigen::PardisoImpl< Derived >::m_iparm, Eigen::PardisoImpl< Derived >::m_isInitialized, Eigen::PardisoImpl< Derived >::m_msglvl, and Eigen::PlainObjectBase< Derived >::setZero().
|
inline |
References Eigen::PardisoImpl< Derived >::pardisoRelease().
void Eigen::PardisoImpl< Derived >::_solve_impl | ( | const MatrixBase< BDerived > & | b, |
MatrixBase< XDerived > & | x | ||
) | const |
References b, Eigen::PlainObjectBase< Derived >::data(), eigen_assert, calibrate::error, Eigen::InvalidInput, Eigen::RowMajorBit, Eigen::internal::pardiso_run_selector< IndexType >::run(), tmp, and plotDoE::x.
void Eigen::PardisoImpl< Derived >::_solve_impl | ( | const MatrixBase< Rhs > & | b, |
MatrixBase< Dest > & | dest | ||
) | const |
|
inline |
default implementation of solving with a sparse rhs
Derived & Eigen::PardisoImpl< Derived >::analyzePattern | ( | const MatrixType & | matrix | ) |
Performs a symbolic decomposition on the sparcity of matrix.
This function is particularly useful when solving for several problems having the same structure.
References a, eigen_assert, calibrate::error, Eigen::internal::pardiso_run_selector< IndexType >::run(), and Eigen::Success.
|
inline |
References Eigen::PardisoImpl< Derived >::m_size.
Referenced by gdb.printers._MatrixEntryIterator::__next__(), gdb.printers.EigenMatrixPrinter::children(), gdb.printers.EigenSparseMatrixPrinter::children(), gdb.printers.EigenMatrixPrinter::to_string(), and gdb.printers.EigenSparseMatrixPrinter::to_string().
Derived & Eigen::PardisoImpl< Derived >::compute | ( | const MatrixType & | matrix | ) |
References a, eigen_assert, calibrate::error, Eigen::internal::pardiso_run_selector< IndexType >::run(), and Eigen::Success.
|
inlineprotected |
|
inlineprotected |
Derived & Eigen::PardisoImpl< Derived >::factorize | ( | const MatrixType & | matrix | ) |
Performs a numeric decomposition of matrix
The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.
References a, eigen_assert, calibrate::error, Eigen::internal::pardiso_run_selector< IndexType >::run(), and Eigen::Success.
|
inline |
Reports whether previous computation was successful.
Success
if computation was successful, NumericalIssue
if the matrix appears to be negative. References eigen_assert, Eigen::PardisoImpl< Derived >::m_info, and Eigen::PardisoImpl< Derived >::m_isInitialized.
|
inlineprotected |
|
inlineprotected |
References abs(), Eigen::PardisoImpl< Derived >::m_iparm, Eigen::PardisoImpl< Derived >::m_pt, Eigen::PardisoImpl< Derived >::m_type, and compute_granudrum_aor::type.
|
inline |
References Eigen::PardisoImpl< Derived >::m_iparm.
|
inlineprotected |
References Eigen::PlainObjectBase< Derived >::data(), Eigen::PardisoImpl< Derived >::m_iparm, Eigen::PardisoImpl< Derived >::m_isInitialized, Eigen::PardisoImpl< Derived >::m_msglvl, Eigen::PardisoImpl< Derived >::m_perm, Eigen::PardisoImpl< Derived >::m_pt, Eigen::PardisoImpl< Derived >::m_size, Eigen::PardisoImpl< Derived >::m_type, and Eigen::internal::pardiso_run_selector< IndexType >::run().
Referenced by Eigen::PardisoImpl< Derived >::~PardisoImpl().
|
inline |
References Eigen::PardisoImpl< Derived >::m_size.
Referenced by gdb.printers._MatrixEntryIterator::__next__(), gdb.printers.EigenMatrixPrinter::children(), gdb.printers.EigenSparseMatrixPrinter::children(), gdb.printers.EigenMatrixPrinter::to_string(), and gdb.printers.EigenSparseMatrixPrinter::to_string().
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
Referenced by Eigen::PardisoImpl< Derived >::pardisoRelease().
|
mutableprotected |
|
protected |
|
protected |