Nektar++
|
#include <ScaledMatrix.hpp>
Classes | |
class | const_iterator |
Public Types | |
typedef ConstMatrix< DataType > | BaseType |
typedef NekMatrix< DataType, InnerMatrixType > | InnerType |
typedef NekMatrix< InnerType, ScaledMatrixTag > | ThisType |
typedef boost::remove_const < typename InnerType::NumberType >::type | NumberType |
typedef NumberType | GetValueType |
typedef NumberType | ConstGetValueType |
Public Member Functions | |
NekMatrix () | |
NekMatrix (typename boost::call_traits< NumberType >::const_reference scale, boost::shared_ptr< const InnerType > m) | |
NekMatrix (const ThisType &rhs) | |
NekMatrix (typename boost::call_traits< NumberType >::const_reference scale, const ThisType &rhs) | |
ConstGetValueType | operator() (unsigned int row, unsigned int col) const |
unsigned int | GetStorageSize () const |
MatrixStorage | GetType () const |
NumberType | Scale () const |
void | SetScale (const NumberType &) |
const NumberType * | GetRawPtr () const |
boost::shared_ptr< const InnerType > | GetOwnedMatrix () const |
unsigned int | GetNumberOfSubDiagonals () const |
unsigned int | GetNumberOfSuperDiagonals () const |
const_iterator | begin () const |
const_iterator | end () const |
Public Member Functions inherited from Nektar::ConstMatrix< DataType > | |
virtual | ~ConstMatrix () |
MatrixStorage | GetStorageType () const |
unsigned int | GetRows () const |
unsigned int | GetTransposedRows (char transpose) const |
unsigned int | GetColumns () const |
unsigned int | GetTransposedColumns (char transpose) const |
const unsigned int * | GetSize () const |
void | Transpose () |
char | GetTransposeFlag () const |
Static Public Member Functions | |
static ThisType | CreateWrapper (const ThisType &rhs) |
static boost::shared_ptr < ThisType > | CreateWrapper (const boost::shared_ptr< ThisType > &rhs) |
Static Public Member Functions inherited from Nektar::ConstMatrix< DataType > | |
static unsigned int | CalculateIndex (MatrixStorage type, unsigned int row, unsigned int col, unsigned int numRows, unsigned int numColumns, const char transpose= 'N', unsigned int numSubDiags=0, unsigned int numSuperDiags=0) |
static unsigned int | GetRequiredStorageSize (MatrixStorage type, unsigned int rows, unsigned int columns, unsigned int subDiags=0, unsigned int superDiags=0) |
Private Member Functions | |
virtual boost::call_traits < NumberType >::value_type | v_GetValue (unsigned int row, unsigned int column) const |
virtual unsigned int | v_GetStorageSize () const |
virtual MatrixStorage | v_GetStorageType () const |
virtual char | v_GetTransposeFlag () const |
Private Attributes | |
boost::shared_ptr< const InnerType > | m_matrix |
NumberType | m_scale |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::ConstMatrix< DataType > | |
ConstMatrix (unsigned int rows, unsigned int columns) | |
ConstMatrix (const ConstMatrix< DataType > &rhs) | |
ConstMatrix< DataType > & | operator= (const ConstMatrix< DataType > &rhs) |
void | Resize (unsigned int rows, unsigned int columns) |
Resets the rows and columns in the array. This method does not update the data storage to match the new row and column counts. | |
void | SetTransposeFlag (char newValue) |
char | GetRawTransposeFlag () const |
Definition at line 49 of file ScaledMatrix.hpp.
typedef ConstMatrix<DataType> Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::BaseType |
Definition at line 52 of file ScaledMatrix.hpp.
typedef NumberType Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::ConstGetValueType |
Definition at line 58 of file ScaledMatrix.hpp.
typedef NumberType Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::GetValueType |
Definition at line 57 of file ScaledMatrix.hpp.
typedef NekMatrix<DataType, InnerMatrixType> Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::InnerType |
Definition at line 53 of file ScaledMatrix.hpp.
typedef boost::remove_const<typename InnerType::NumberType>::type Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::NumberType |
Definition at line 55 of file ScaledMatrix.hpp.
typedef NekMatrix<InnerType, ScaledMatrixTag> Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::ThisType |
Definition at line 54 of file ScaledMatrix.hpp.
Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::NekMatrix | ( | ) |
Definition at line 40 of file ScaledMatrix.cpp.
Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::NekMatrix | ( | typename boost::call_traits< NumberType >::const_reference | scale, |
boost::shared_ptr< const InnerType > | m | ||
) |
Definition at line 48 of file ScaledMatrix.cpp.
Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::NekMatrix | ( | const ThisType & | rhs | ) |
Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::NekMatrix | ( | typename boost::call_traits< NumberType >::const_reference | scale, |
const ThisType & | rhs | ||
) |
NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::begin | ( | ) | const |
Definition at line 122 of file ScaledMatrix.cpp.
|
static |
|
static |
NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::const_iterator Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::end | ( | ) | const |
Definition at line 126 of file ScaledMatrix.cpp.
unsigned int Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::GetNumberOfSubDiagonals | ( | ) | const |
Definition at line 115 of file ScaledMatrix.cpp.
unsigned int Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::GetNumberOfSuperDiagonals | ( | ) | const |
Definition at line 118 of file ScaledMatrix.cpp.
boost::shared_ptr< const typename NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::InnerType > Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::GetOwnedMatrix | ( | ) | const |
Definition at line 109 of file ScaledMatrix.cpp.
const NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::NumberType * Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::GetRawPtr | ( | ) | const |
Definition at line 105 of file ScaledMatrix.cpp.
unsigned int Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::GetStorageSize | ( | ) | const |
Reimplemented from Nektar::ConstMatrix< DataType >.
Definition at line 82 of file ScaledMatrix.cpp.
MatrixStorage Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::GetType | ( | ) | const |
Definition at line 88 of file ScaledMatrix.cpp.
NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::ConstGetValueType Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::operator() | ( | unsigned int | row, |
unsigned int | col | ||
) | const |
Reimplemented from Nektar::ConstMatrix< DataType >.
Definition at line 76 of file ScaledMatrix.cpp.
NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::NumberType Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::Scale | ( | ) | const |
Definition at line 92 of file ScaledMatrix.cpp.
void Nektar::NekMatrix< NekMatrix< DataType, InnerMatrixType >, ScaledMatrixTag >::SetScale | ( | const NumberType & | value | ) |
Definition at line 98 of file ScaledMatrix.cpp.
|
privatevirtual |
Definition at line 151 of file ScaledMatrix.cpp.
|
privatevirtual |
Definition at line 157 of file ScaledMatrix.cpp.
|
privatevirtual |
Definition at line 163 of file ScaledMatrix.cpp.
|
privatevirtual |
Definition at line 145 of file ScaledMatrix.cpp.
|
private |
Definition at line 156 of file ScaledMatrix.hpp.
|
private |
Definition at line 157 of file ScaledMatrix.hpp.