Nektar++
|
#include <NekLinSys.hpp>
Public Member Functions | |
template<typename MatrixType > | |
LinearSystem (const boost::shared_ptr< MatrixType > &theA, PointerWrapper wrapperType=eCopy) | |
template<typename MatrixType > | |
LinearSystem (const MatrixType &theA, PointerWrapper wrapperType=eCopy) | |
LinearSystem (const LinearSystem &rhs) | |
LinearSystem & | operator= (const LinearSystem &rhs) |
~LinearSystem () | |
template<typename VectorType > | |
RawType< VectorType >::type | Solve (const VectorType &b) |
template<typename BType , typename XType > | |
void | Solve (const BType &b, XType &x) const |
template<typename VectorType > | |
RawType< VectorType >::type | SolveTranspose (const VectorType &b) |
template<typename BType , typename XType > | |
void | SolveTranspose (const BType &b, XType &x) const |
unsigned int | GetRows () const |
unsigned int | GetColumns () const |
Private Member Functions | |
template<typename MatrixType > | |
void | FactorMatrix (const MatrixType &theA) |
void | swap (LinearSystem &rhs) |
Private Attributes | |
unsigned int | n |
Array< OneD, double > | A |
Array< OneD, int > | m_ipivot |
unsigned int | m_numberOfSubDiagonals |
unsigned int | m_numberOfSuperDiagonals |
MatrixStorage | m_matrixType |
char | m_transposeFlag |
Definition at line 329 of file NekLinSys.hpp.
|
inlineexplicit |
Definition at line 333 of file NekLinSys.hpp.
References A, ASSERTL0, Nektar::CopyArray(), Nektar::eBANDED, Nektar::eCopy, Nektar::eWrapper, and FactorMatrix().
|
inlineexplicit |
Definition at line 357 of file NekLinSys.hpp.
References A, ASSERTL0, Nektar::CopyArray(), Nektar::eBANDED, Nektar::eCopy, Nektar::eWrapper, and FactorMatrix().
|
inline |
Definition at line 380 of file NekLinSys.hpp.
|
inline |
Definition at line 398 of file NekLinSys.hpp.
|
inlineprivate |
Definition at line 442 of file NekLinSys.hpp.
References A, ASSERTL0, ASSERTL1, Nektar::eBANDED, Nektar::eDIAGONAL, ErrorUtil::efatal, Nektar::eFULL, Nektar::eLOWER_TRIANGULAR, Nektar::eLOWER_TRIANGULAR_BANDED, Nektar::ePOSITIVE_DEFINITE_SYMMETRIC, Nektar::ePOSITIVE_DEFINITE_SYMMETRIC_BANDED, Nektar::eSYMMETRIC, Nektar::eSYMMETRIC_BANDED, Nektar::eUPPER_TRIANGULAR, Nektar::eUPPER_TRIANGULAR_BANDED, Nektar::BandedMatrixFuncs::GetRequiredStorageSize(), m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, n, and NEKERROR.
Referenced by LinearSystem().
|
inline |
|
inline |
Definition at line 437 of file NekLinSys.hpp.
References n.
Referenced by Solve(), and SolveTranspose().
|
inline |
Definition at line 391 of file NekLinSys.hpp.
References swap().
|
inline |
Definition at line 403 of file NekLinSys.hpp.
References A, GetRows(), m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, and n.
Referenced by Nektar::LibUtilities::Invert(), Nektar::StdRegions::Invert(), and Solve().
|
inline |
Definition at line 412 of file NekLinSys.hpp.
References A, m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, n, and Solve().
|
inline |
Definition at line 421 of file NekLinSys.hpp.
References A, GetRows(), m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, and n.
Referenced by Nektar::LibUtilities::MakeQuadratureWeights(), Nektar::LibUtilities::MakeTetWeights(), and SolveTranspose().
|
inline |
Definition at line 430 of file NekLinSys.hpp.
References A, m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, n, and SolveTranspose().
|
inlineprivate |
Definition at line 593 of file NekLinSys.hpp.
References A, m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, and n.
Referenced by operator=().
|
private |
Definition at line 605 of file NekLinSys.hpp.
Referenced by FactorMatrix(), LinearSystem(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 606 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 609 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 607 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 608 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 610 of file NekLinSys.hpp.
Referenced by Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 604 of file NekLinSys.hpp.
Referenced by FactorMatrix(), GetColumns(), GetRows(), Solve(), SolveTranspose(), and swap().