45 : m_matrixType(matrixType), m_shapeType(LibUtilities::
eNoShapeType),
46 m_constFactors(
factors), m_varCoeffs(varCoeffs),
47 m_locToGloMap(locToGloMap)
53 : m_matrixType(key.m_matrixType), m_shapeType(shapeType),
54 m_constFactors(key.m_constFactors), m_varCoeffs(key.m_varCoeffs),
55 m_locToGloMap(key.m_locToGloMap)
60 : m_matrixType(key.m_matrixType), m_shapeType(key.m_shapeType),
61 m_constFactors(key.m_constFactors), m_varCoeffs(key.m_varCoeffs),
62 m_locToGloMap(key.m_locToGloMap)
102 StdRegions::ConstFactorMap::const_iterator x, y;
106 if (x->second < y->second)
110 if (x->second > y->second)
127 StdRegions::VarCoeffMap::const_iterator x, y;
131 if (x->second.GetHash() < y->second.GetHash())
135 if (x->second.GetHash() > y->second.GetHash())
168 os <<
"Number of variable coefficients: " << rhs.
GetNVarCoeffs() << endl;
Describes a matrix with ordering defined by a local to global map.
const StdRegions::ConstFactorMap & GetConstFactors() const
Returns all the constants.
int GetNVarCoeffs() const
int GetNConstFactors() const
Returns the number of constants defined for this matrix.
virtual ~GlobalMatrixKey()
Destructor.
std::weak_ptr< AssemblyMap > m_locToGloMap
Pointer to the local to global mapping.
StdRegions::MatrixType GetMatrixType() const
Return the matrix type.
LibUtilities::ShapeType m_shapeType
Stores the expansion/shape type that the matrix is to be based on.
GlobalMatrixKey()
Default constructor.
StdRegions::VarCoeffMap m_varCoeffs
StdRegions::ConstFactorMap m_constFactors
StdRegions::MatrixType m_matrixType
Stores the matrix type based on the enum StdRegions::MatrixType.
std::ostream & operator<<(std::ostream &os, const GlobalLinSysKey &rhs)
Writes information about the object to a given stream.
bool operator<(const GlobalLinSysKey &lhs, const GlobalLinSysKey &rhs)
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
const char *const ConstFactorTypeMap[]
std::map< ConstFactorType, NekDouble > ConstFactorMap
std::map< StdRegions::VarCoeffType, VarCoeffEntry > VarCoeffMap
StdRegions::ConstFactorMap factors