35 #ifndef NEKTAR_LIBS_MULTIREGIONS_GLOBALLINSYSKEY_H 36 #define NEKTAR_LIBS_MULTIREGIONS_GLOBALLINSYSKEY_H 43 namespace MultiRegions
46 typedef std::map<StdRegions::ConstFactorType, Array<OneD, NekDouble> >
VarFactorsMap;
58 const VarFactorsMap &varFactos = NullVarFactorsMap);
67 const GlobalLinSysKey &
rhs);
110 VarFactorsMap::const_iterator found =
m_varFactors.find(factor);
111 return (*found).second;
virtual ~GlobalLinSysKey()
Destructor.
static VarFactorsMap NullVarFactorsMap
std::vector< std::size_t > m_varFactors_hashes
GlobalSysSolnType m_solnType
Store the solution type associated with the linear system. This may be none, full matrix...
#define MULTI_REGIONS_EXPORT
VarFactorsMap m_varFactors
friend bool operator<(const GlobalLinSysKey &lhs, const GlobalLinSysKey &rhs)
Less-than operator for GlobalLinSysKey comparison.
std::map< ConstFactorType, NekDouble > ConstFactorMap
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
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
GlobalLinSysKey(const StdRegions::MatrixType matrixType, const AssemblyMapSharedPtr &locToGloMap=NullAssemblyMapSharedPtr, const StdRegions::ConstFactorMap &factors=StdRegions::NullConstFactorMap, const StdRegions::VarCoeffMap &varCoeffs=StdRegions::NullVarCoeffMap, const VarFactorsMap &varFactos=NullVarFactorsMap)
const VarFactorsMap & GetVarFactors() const
Describe a linear system.
Describes a matrix with ordering defined by a local to global map.
static AssemblyMapSharedPtr NullAssemblyMapSharedPtr
int GetNVarFactors() const
GlobalSysSolnType GetGlobalSysSolnType() const
Return the associated solution type.
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs
#define ASSERTL1(condition, msg)
Assert Level 1 – Debugging which is used whether in FULLDEBUG or DEBUG compilation mode...
static VarCoeffMap NullVarCoeffMap
std::map< StdRegions::ConstFactorType, Array< OneD, NekDouble > > VarFactorsMap
static ConstFactorMap NullConstFactorMap