42 namespace MultiRegions
48 m_matrixType(matrixType),
50 m_constFactors(factors),
51 m_varCoeffs(varCoeffs),
52 m_locToGloMap(locToGloMap)
58 m_matrixType(key.m_matrixType),
59 m_shapeType(shapeType),
60 m_constFactors(key.m_constFactors),
61 m_varCoeffs(key.m_varCoeffs),
62 m_locToGloMap(key.m_locToGloMap)
67 m_matrixType(key.m_matrixType),
68 m_shapeType(key.m_shapeType),
69 m_constFactors(key.m_constFactors),
70 m_varCoeffs(key.m_varCoeffs),
71 m_locToGloMap(key.m_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: "
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
std::map< StdRegions::VarCoeffType, Array< OneD, NekDouble > > VarCoeffMap
const char *const ConstFactorTypeMap[]
std::map< ConstFactorType, NekDouble > ConstFactorMap
The above copyright notice and this permission notice shall be included.