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. | |
Protected Attributes inherited from Nektar::MultiRegions::GlobalMatrixKey | |
StdRegions::MatrixType | m_matrixType |
Stores the matrix type based on the enum StdRegions::MatrixType. | |
LibUtilities::ShapeType | m_shapeType |
Stores the expansion/shape type that the matrix is to be based on. | |
StdRegions::ConstFactorMap | m_constFactors |
StdRegions::VarCoeffMap | m_varCoeffs |
AssemblyMapSharedPtr | m_locToGloMap |
Pointer to the local to global mapping. |
Friends | |
bool | operator< (const GlobalLinSysKey &lhs, const GlobalLinSysKey &rhs) |
Less-than operator for GlobalLinSysKey comparison. |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::MultiRegions::GlobalMatrixKey | |
GlobalMatrixKey () | |
Default constructor. |
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 47 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 |
||
) |
Definition at line 57 of file GlobalLinSysKey.cpp.
Nektar::MultiRegions::GlobalLinSysKey::GlobalLinSysKey | ( | const GlobalLinSysKey & | key | ) |
Copy constructor.
key | Existing key to duplicate. |
Definition at line 71 of file GlobalLinSysKey.cpp.
|
virtual |
|
inline |
Return the associated solution type.
Definition at line 80 of file GlobalLinSysKey.h.
References m_solnType.
Referenced by Nektar::MultiRegions::ExpList::GenGlobalBndLinSys(), Nektar::MultiRegions::ExpList::GenGlobalLinSys(), Nektar::MultiRegions::DisContField3D::GetGlobalBndLinSys(), Nektar::MultiRegions::DisContField2D::GetGlobalBndLinSys(), Nektar::MultiRegions::DisContField1D::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<<(), and Nektar::MultiRegions::GlobalLinSysIterativeStaticCond::v_AssembleSchurComplement().
|
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 94 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 71 of file GlobalLinSysKey.h.
Referenced by GetGlobalSysSolnType(), and Nektar::MultiRegions::operator<().