Nektar++
|
#include <NekLinSys.hpp>
Public Member Functions | |
template<typename MatrixType > | |
LinearSystem (const std::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) |
template<typename VectorType > | |
RawType_t< VectorType > | Solve (const VectorType &b) |
template<typename BType , typename XType > | |
void | Solve (const BType &b, XType &x) const |
template<typename VectorType > | |
RawType_t< VectorType > | 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 376 of file NekLinSys.hpp.
|
inlineexplicit |
Definition at line 380 of file NekLinSys.hpp.
References ASSERTL0, Nektar::CopyArray(), Nektar::eBANDED, Nektar::eCopy, Nektar::eWrapper, and FactorMatrix().
|
inlineexplicit |
Definition at line 406 of file NekLinSys.hpp.
References ASSERTL0, Nektar::CopyArray(), Nektar::eBANDED, Nektar::eCopy, Nektar::eWrapper, and FactorMatrix().
|
inline |
Definition at line 430 of file NekLinSys.hpp.
|
inlineprivate |
Definition at line 502 of file NekLinSys.hpp.
References ASSERTL0, ASSERTL1, CellMLToNektar.pycml::copy(), Lapack::Dgbtrf(), Lapack::Dgetrf(), Lapack::Dpbtrf(), Lapack::Dpptrf(), Lapack::Dsptrf(), Nektar::eBANDED, Nektar::eDIAGONAL, Nektar::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 492 of file NekLinSys.hpp.
References n.
Referenced by Solve(), and SolveTranspose().
|
inline |
Definition at line 438 of file NekLinSys.hpp.
References swap().
|
inline |
Definition at line 460 of file NekLinSys.hpp.
References m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, n, and Nektar::LinearSystemSolver::Solve().
|
inline |
Definition at line 448 of file NekLinSys.hpp.
References GetRows(), m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, n, and Nektar::LinearSystemSolver::Solve().
Referenced by Nektar::BandedMatrixVectorMultiplicationUnitTests::BOOST_AUTO_TEST_CASE(), Nektar::LinearSystemUnitTests::BOOST_AUTO_TEST_CASE(), and Nektar::TriangularMatrixVectorMultiplicationUnitTests::BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 483 of file NekLinSys.hpp.
References m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, n, and Nektar::LinearSystemSolver::SolveTranspose().
|
inline |
Definition at line 471 of file NekLinSys.hpp.
References GetRows(), m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, n, and Nektar::LinearSystemSolver::SolveTranspose().
Referenced by Nektar::LinearSystemUnitTests::BOOST_AUTO_TEST_CASE(), Nektar::TriangularMatrixVectorMultiplicationUnitTests::BOOST_AUTO_TEST_CASE(), and Nektar::LibUtilities::NodalUtil::GetWeights().
|
inlineprivate |
Definition at line 680 of file NekLinSys.hpp.
References A, m_ipivot, m_matrixType, m_numberOfSubDiagonals, m_numberOfSuperDiagonals, m_transposeFlag, and n.
Referenced by operator=().
Definition at line 692 of file NekLinSys.hpp.
Referenced by swap().
Definition at line 693 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 696 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 694 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 695 of file NekLinSys.hpp.
Referenced by FactorMatrix(), Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 697 of file NekLinSys.hpp.
Referenced by Solve(), SolveTranspose(), and swap().
|
private |
Definition at line 691 of file NekLinSys.hpp.
Referenced by FactorMatrix(), GetColumns(), GetRows(), Solve(), SolveTranspose(), and swap().