34#ifndef NEKTAR_LIB_MULTIREGIONS_GLOBALMATRIX_H
35#define NEKTAR_LIB_MULTIREGIONS_GLOBALMATRIX_H
53 unsigned int columns,
const COOMatType &cooMat,
79 static std::string
def;
#define MULTI_REGIONS_EXPORT
Represents a matrix of all degrees of freedom.
static std::string lookupIds[]
unsigned long m_mulCallsCounter
GlobalMatrix(const LibUtilities::SessionReaderSharedPtr &pSession, unsigned int rows, unsigned int columns, const COOMatType &cooMat, const MatrixStorage &matStorage=eFULL)
Construct a new matrix.
DNekSmvBsrMatSharedPtr m_smvbsrmatrix
Pointer to a double-precision Nektar++ sparse matrix.
std::shared_ptr< DNekSmvBsrMat > DNekSmvBsrMatSharedPtr
NekSparseMatrix< StorageSmvBsr< NekDouble > > DNekSmvBsrMat
Array< OneD, NekDouble > m_tmpout
unsigned long GetMulCallsCounter() const
unsigned int GetNumNonZeroEntries() const
Array< OneD, NekDouble > m_tmpin
void Multiply(const Array< OneD, const NekDouble > &in, Array< OneD, NekDouble > &out)
Perform a matrix-vector multiply.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< GlobalMatrix > GlobalMatrixSharedPtr
Shared pointer to a GlobalMatrix object.
std::map< GlobalMatrixKey, GlobalMatrixSharedPtr > GlobalMatrixMap
Mapping from global matrix keys to global matrices.
std::shared_ptr< GlobalMatrixMap > GlobalMatrixMapShPtr
Shared pointer to a global matrix map.
std::map< CoordType, NekDouble > COOMatType