Nektar++
|
Describe a linear system. More...
#include <GlobalLinSysKey.h>
Protected Attributes | |
GlobalSysSolnType | m_solnType |
Store the solution type associated with the linear system. This may be none, full matrix, static condensation or multi-level static condensation. More... | |
VarFactorsMap | m_varFactors |
std::vector< std::size_t > | m_varFactors_hashes |
Protected Attributes inherited from Nektar::MultiRegions::GlobalMatrixKey | |
StdRegions::MatrixType | m_matrixType |
Stores the matrix type based on the enum StdRegions::MatrixType. More... | |
LibUtilities::ShapeType | m_shapeType |
Stores the expansion/shape type that the matrix is to be based on. More... | |
StdRegions::ConstFactorMap | m_constFactors |
StdRegions::VarCoeffMap | m_varCoeffs |
std::weak_ptr< AssemblyMap > | m_locToGloMap |
Pointer to the local to global mapping. More... | |
Friends | |
bool | operator< (const GlobalLinSysKey &lhs, const GlobalLinSysKey &rhs) |
Less-than operator for GlobalLinSysKey comparison. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::MultiRegions::GlobalMatrixKey | |
GlobalMatrixKey () | |
Default constructor. More... | |
Describe a linear system.
This class represents a global linear system and is in essence a wrapper around a global matrix key, augmenting it with a specific solution type from GlobalSysSolnType. Each constructor accepts a MatrixType, describing the matrix to be constructed, a AssemblyMap, defining the mapping from the local elemental expansions to a global system, and a GlobalSysSolnType, defining the type of solution (e.g. full matrix, static condenstation). Some constructors include additional parameters for customising the global operator matrix.
Definition at line 49 of file GlobalLinSysKey.h.
Nektar::MultiRegions::GlobalLinSysKey::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 |
||
) |
Definition at line 54 of file GlobalLinSysKey.cpp.
References Nektar::hash_combine(), Nektar::hash_range(), m_solnType, m_varFactors_hashes, and Nektar::MultiRegions::NullAssemblyMapSharedPtr.
Nektar::MultiRegions::GlobalLinSysKey::GlobalLinSysKey | ( | const GlobalLinSysKey & | key | ) |
Copy constructor.
key | Existing key to duplicate. |
Definition at line 84 of file GlobalLinSysKey.cpp.
|
override |
|
inline |
Return the associated solution type.
Definition at line 95 of file GlobalLinSysKey.h.
References m_solnType.
Referenced by Nektar::MultiRegions::ExpList::GenGlobalBndLinSys(), Nektar::MultiRegions::ExpList::GenGlobalLinSys(), Nektar::MultiRegions::DisContField::GetGlobalBndLinSys(), Nektar::MultiRegions::GlobalLinSysDirectFull::GlobalLinSysDirectFull(), Nektar::MultiRegions::GlobalLinSysDirectStaticCond::GlobalLinSysDirectStaticCond(), Nektar::MultiRegions::GlobalLinSysIterativeFull::GlobalLinSysIterativeFull(), Nektar::MultiRegions::GlobalLinSysIterativeStaticCond::GlobalLinSysIterativeStaticCond(), Nektar::MultiRegions::GlobalLinSysPETScStaticCond::GlobalLinSysPETScStaticCond(), Nektar::MultiRegions::GlobalLinSysXxtFull::GlobalLinSysXxtFull(), Nektar::MultiRegions::GlobalLinSysXxtStaticCond::GlobalLinSysXxtStaticCond(), Nektar::MultiRegions::operator<<(), Nektar::MultiRegions::GlobalLinSysIterativeStaticCond::v_AssembleSchurComplement(), and Nektar::MultiRegions::GlobalLinSysPETScStaticCond::v_AssembleSchurComplement().
|
inline |
Definition at line 100 of file GlobalLinSysKey.h.
References m_varFactors.
Referenced by Nektar::MultiRegions::GlobalLinSys::GetBlockMatrixKey(), and Nektar::MultiRegions::operator<<().
|
inline |
Definition at line 113 of file GlobalLinSysKey.h.
References m_varFactors.
|
inline |
Definition at line 105 of file GlobalLinSysKey.h.
References ASSERTL1, and m_varFactors.
Referenced by Nektar::MultiRegions::GlobalLinSys::GetBlockMatrixKey().
|
friend |
Less-than operator for GlobalLinSysKey comparison.
Compares two GlobalLinSysKeys by comparing their solution types and matrix keys.
lhs | First operand. |
rhs | Second operand. |
Definition at line 106 of file GlobalLinSysKey.cpp.
|
protected |
Store the solution type associated with the linear system. This may be none, full matrix, static condensation or multi-level static condensation.
Definition at line 84 of file GlobalLinSysKey.h.
Referenced by GetGlobalSysSolnType(), and GlobalLinSysKey().
|
protected |
Definition at line 85 of file GlobalLinSysKey.h.
Referenced by GetNVarFactors(), and GetVarFactors().
|
protected |
Definition at line 86 of file GlobalLinSysKey.h.
Referenced by GlobalLinSysKey().