43 namespace MultiRegions
49 m_matrixType(matrixType),
51 m_constFactors(factors),
52 m_varCoeffs(varCoeffs),
53 m_locToGloMap(locToGloMap)
59 m_matrixType(key.m_matrixType),
60 m_shapeType(shapeType),
61 m_constFactors(key.m_constFactors),
62 m_varCoeffs(key.m_varCoeffs),
63 m_locToGloMap(key.m_locToGloMap)
68 m_matrixType(key.m_matrixType),
69 m_shapeType(key.m_shapeType),
70 m_constFactors(key.m_constFactors),
71 m_varCoeffs(key.m_varCoeffs),
72 m_locToGloMap(key.m_locToGloMap)
114 StdRegions::ConstFactorMap::const_iterator x, y;
118 if (x->second < y->second)
122 if (x->second > y->second)
174 StdRegions::ConstFactorMap::const_iterator x;
178 <<
": " << x->second << endl;
180 os <<
"Number of variable coefficients: "
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
bool operator<(const GlobalLinSysKey &lhs, const GlobalLinSysKey &rhs)
virtual ~GlobalMatrixKey()
Destructor.
std::map< ConstFactorType, NekDouble > ConstFactorMap
const StdRegions::ConstFactorMap & GetConstFactors() const
Returns all the constants.
const char *const ConstFactorTypeMap[]
GlobalMatrixKey()
Default constructor.
StdRegions::VarCoeffMap m_varCoeffs
StdRegions::ConstFactorMap m_constFactors
int GetNVarCoeffs() const
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
StdRegions::MatrixType GetMatrixType() const
Return the matrix type.
Describes a matrix with ordering defined by a local to global map.
int GetNConstFactors() const
Returns the number of constants defined for this matrix.
AssemblyMapSharedPtr m_locToGloMap
Pointer to the local to global mapping.
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.