42 namespace MultiRegions
48 m_matrixType(matrixType),
50 m_constFactors(factors),
51 m_varCoeffs(varCoeffs),
52 m_locToGloMap(locToGloMap)
113 StdRegions::ConstFactorMap::const_iterator x, y;
117 if (x->second < y->second)
121 if (x->second > y->second)
176 <<
": " << x.second << endl;
178 os <<
"Number of variable coefficients: "
virtual ~GlobalMatrixKey()
Destructor.
const StdRegions::ConstFactorMap & GetConstFactors() const
Returns all the constants.
std::map< ConstFactorType, NekDouble > ConstFactorMap
friend bool operator<(const GlobalMatrixKey &lhs, const GlobalMatrixKey &rhs)
Provides ordering of GlobalMatrixKey objects.
const char *const ConstFactorTypeMap[]
GlobalMatrixKey()
Default constructor.
int GetNVarCoeffs() const
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
StdRegions::VarCoeffMap m_varCoeffs
StdRegions::ConstFactorMap m_constFactors
StdRegions::MatrixType GetMatrixType() const
Return the matrix type.
std::ostream & operator<<(std::ostream &os, const GlobalLinSysKey &rhs)
Writes information about the object to a given stream.
std::map< StdRegions::VarCoeffType, Array< OneD, NekDouble > > VarCoeffMap
std::weak_ptr< AssemblyMap > m_locToGloMap
Pointer to the local to global mapping.
Describes a matrix with ordering defined by a local to global map.
int GetNConstFactors() const
Returns the number of constants defined for this matrix.
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs
LibUtilities::ShapeType m_shapeType
Stores the expansion/shape type that the matrix is to be based on.
StdRegions::MatrixType m_matrixType
Stores the matrix type based on the enum StdRegions::MatrixType.