Nektar++
|
#include <MatrixFuncs.h>
Static Public Member Functions | |
static unsigned int | GetRequiredStorageSize (unsigned int totalRows, unsigned int totalColumns, unsigned int subDiags, unsigned int superDiags) |
Calculates and returns the storage size required. More... | |
static unsigned int | CalculateNumberOfDiags (unsigned int totalRows, unsigned int diags) |
static unsigned int | CalculateNumberOfRows (unsigned int totalRows, unsigned int subDiags, unsigned int superDiags) |
static unsigned int | CalculateIndex (unsigned int totalRows, unsigned int totalColumns, unsigned int row, unsigned int column, unsigned int sub, unsigned int super) |
static std::tuple< unsigned int, unsigned int > | Advance (const unsigned int totalRows, const unsigned int totalColumns, const unsigned int curRow, const unsigned int curColumn) |
Definition at line 48 of file MatrixFuncs.h.
|
static |
Definition at line 97 of file MatrixFuncs.cpp.
Referenced by Nektar::NekMatrix< DataType, StandardMatrixTag >::Advance().
|
static |
Definition at line 75 of file MatrixFuncs.cpp.
References CalculateNumberOfDiags(), and CalculateNumberOfRows().
Referenced by Nektar::BandedMatrixStoragePolicyUnitTests::BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 50 of file MatrixFuncs.cpp.
Referenced by CalculateIndex(), and CalculateNumberOfRows().
|
static |
Definition at line 67 of file MatrixFuncs.cpp.
References CalculateNumberOfDiags().
Referenced by Nektar::BandedMatrixStoragePolicyUnitTests::BOOST_AUTO_TEST_CASE(), CalculateIndex(), and GetRequiredStorageSize().
|
static |
Calculates and returns the storage size required.
This method assumes that the matrix will be used with LU factorizationa and allocates additional storage as appropriate.
Definition at line 42 of file MatrixFuncs.cpp.
References CalculateNumberOfRows().
Referenced by Nektar::BandedMatrixStoragePolicyUnitTests::BOOST_AUTO_TEST_CASE(), Nektar::LinearSystem::FactorMatrix(), and Nektar::ConstMatrix< DataType >::GetRequiredStorageSize().