35 #ifndef NEKTAR_LIBS_MULTIREGIONS_GLOBALMATRIXKEY_H 36 #define NEKTAR_LIBS_MULTIREGIONS_GLOBALMATRIXKEY_H 43 namespace MultiRegions
67 const GlobalMatrixKey &
rhs);
145 return (*found).second;
162 return (*found).second;
virtual ~GlobalMatrixKey()
Destructor.
const StdRegions::ConstFactorMap & GetConstFactors() const
Returns all the constants.
#define MULTI_REGIONS_EXPORT
std::map< ConstFactorType, NekDouble > ConstFactorMap
friend bool operator<(const GlobalMatrixKey &lhs, const GlobalMatrixKey &rhs)
Provides ordering of GlobalMatrixKey objects.
GlobalMatrixKey()
Default constructor.
int GetNVarCoeffs() const
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
StdRegions::VarCoeffMap m_varCoeffs
StdRegions::ConstFactorMap m_constFactors
std::shared_ptr< GlobalMatrixKey > GlobalMatrixKeySharedPtr
A pointer to a GlobalMatrixKey.
StdRegions::MatrixType GetMatrixType() const
Return the matrix type.
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
const Array< OneD, const NekDouble > & GetVarCoeff(const StdRegions::VarCoeffType &coeff) const
bool LocToGloMapIsDefined() const
Returns true if a local to global map is defined.
LibUtilities::ShapeType GetShapeType() const
Return the expansion type associated with key.
std::weak_ptr< AssemblyMap > m_locToGloMap
Pointer to the local to global mapping.
Describes a matrix with ordering defined by a local to global map.
const StdRegions::VarCoeffMap & GetVarCoeffs() const
NekDouble GetConstFactor(const StdRegions::ConstFactorType &factor) const
Returns the requested constant.
static AssemblyMapSharedPtr NullAssemblyMapSharedPtr
int GetNConstFactors() const
Returns the number of constants defined for this matrix.
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs
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.
static VarCoeffMap NullVarCoeffMap
static ConstFactorMap NullConstFactorMap