41 namespace MultiRegions
62 m_solnType(locToGloMap->GetGlobalSysSolnType())
73 m_solnType(key.m_solnType)
106 return (*dynamic_cast<const GlobalMatrixKey*>(&lhs)
107 < *dynamic_cast<const GlobalMatrixKey*>(&rhs));
122 os <<
"Solution Type: "
125 StdRegions::ConstFactorMap::const_iterator x;
129 <<
": " << x->second << endl;
131 os <<
"Number of variable coefficients: "
GlobalSysSolnType GetGlobalSysSolnType() const
Return the associated solution type.
virtual ~GlobalLinSysKey()
Destructor.
GlobalLinSysKey(const StdRegions::MatrixType matrixType, const AssemblyMapSharedPtr &locToGloMap=NullAssemblyMapSharedPtr, const StdRegions::ConstFactorMap &factors=StdRegions::NullConstFactorMap, const StdRegions::VarCoeffMap &varCoeffs=StdRegions::NullVarCoeffMap)
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
bool operator<(const GlobalLinSysKey &lhs, const GlobalLinSysKey &rhs)
GlobalSysSolnType m_solnType
Store the solution type associated with the linear system. This may be none, full matrix...
std::map< ConstFactorType, NekDouble > ConstFactorMap
const StdRegions::ConstFactorMap & GetConstFactors() const
Returns all the constants.
const char *const ConstFactorTypeMap[]
const char *const ShapeTypeMap[]
const char *const GlobalSysSolnTypeMap[]
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
LibUtilities::ShapeType GetShapeType() const
Return the expansion type associated with key.
const char *const MatrixTypeMap[]
Describe a linear system.
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.