41 namespace MultiRegions
47 m_matrixType(matrixType),
49 m_constFactors(factors),
50 m_varCoeffs(varCoeffs),
51 m_locToGloMap(locToGloMap)
57 m_matrixType(key.m_matrixType),
58 m_shapeType(shapeType),
59 m_constFactors(key.m_constFactors),
60 m_varCoeffs(key.m_varCoeffs),
61 m_locToGloMap(key.m_locToGloMap)
66 m_matrixType(key.m_matrixType),
67 m_shapeType(key.m_shapeType),
68 m_constFactors(key.m_constFactors),
69 m_varCoeffs(key.m_varCoeffs),
70 m_locToGloMap(key.m_locToGloMap)
112 StdRegions::ConstFactorMap::const_iterator x, y;
116 if (x->second < y->second)
120 if (x->second > y->second)
172 StdRegions::ConstFactorMap::const_iterator x;
176 <<
": " << x->second << endl;
178 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.