Nektar++
|
#include <PreconditionerDiagonal.h>
Static Public Member Functions | |
static PreconditionerSharedPtr | create (const boost::shared_ptr< GlobalLinSys > &plinsys, const boost::shared_ptr< AssemblyMap > &pLocToGloMap) |
Creates an instance of this class. |
Static Public Attributes | |
static std::string | className |
Name of class. |
Protected Attributes | |
Array< OneD, NekDouble > | m_diagonals |
PreconditionerType | m_preconType |
Protected Attributes inherited from Nektar::MultiRegions::Preconditioner | |
const boost::weak_ptr < GlobalLinSys > | m_linsys |
PreconditionerType | m_preconType |
DNekMatSharedPtr | m_preconditioner |
boost::shared_ptr< AssemblyMap > | m_locToGloMap |
LibUtilities::CommSharedPtr | m_comm |
Private Member Functions | |
void | DiagonalPreconditionerSum (void) |
void | StaticCondDiagonalPreconditionerSum (void) |
virtual void | v_InitObject () |
virtual void | v_DoPreconditioner (const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput) |
virtual void | v_BuildPreconditioner () |
Static Private Attributes | |
static std::string | lookupIds [] |
static std::string | def |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::MultiRegions::Preconditioner | |
virtual DNekScalMatSharedPtr | v_TransformedSchurCompl (int offset, const boost::shared_ptr< DNekScalMat > &loc_mat) |
Get block elemental transposed transformation matrix . |
Definition at line 50 of file PreconditionerDiagonal.h.
Nektar::MultiRegions::PreconditionerDiagonal::PreconditionerDiagonal | ( | const boost::shared_ptr< GlobalLinSys > & | plinsys, |
const AssemblyMapSharedPtr & | pLocToGloMap | ||
) |
Definition at line 61 of file PreconditionerDiagonal.cpp.
|
inlinevirtual |
Definition at line 73 of file PreconditionerDiagonal.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 54 of file PreconditionerDiagonal.h.
Diagonal preconditioner computed by summing the relevant elements of the local matrix system.
Definition at line 96 of file PreconditionerDiagonal.cpp.
References m_diagonals, Nektar::MultiRegions::Preconditioner::m_linsys, Nektar::MultiRegions::Preconditioner::m_locToGloMap, and Vmath::Sdiv().
Referenced by v_BuildPreconditioner().
|
private |
Diagonal preconditioner defined as the inverse of the main
diagonal of the Schur complement
Definition at line 159 of file PreconditionerDiagonal.cpp.
References Nektar::MultiRegions::Preconditioner::AssembleStaticCondGlobalDiagonals(), m_diagonals, Nektar::MultiRegions::Preconditioner::m_locToGloMap, and Vmath::Sdiv().
Referenced by v_BuildPreconditioner().
|
privatevirtual |
Definition at line 73 of file PreconditionerDiagonal.cpp.
References ASSERTL0, DiagonalPreconditionerSum(), Nektar::MultiRegions::eIterativeFull, Nektar::MultiRegions::eIterativeMultiLevelStaticCond, Nektar::MultiRegions::eIterativeStaticCond, Nektar::MultiRegions::Preconditioner::m_locToGloMap, and StaticCondDiagonalPreconditionerSum().
|
privatevirtual |
Definition at line 184 of file PreconditionerDiagonal.cpp.
References Nektar::MultiRegions::eIterativeFull, m_diagonals, Nektar::MultiRegions::Preconditioner::m_locToGloMap, and Vmath::Vmul().
|
privatevirtual |
Definition at line 69 of file PreconditionerDiagonal.cpp.
|
static |
Name of class.
Registers the class with the Factory.
Definition at line 65 of file PreconditionerDiagonal.h.
|
staticprivate |
Definition at line 96 of file PreconditionerDiagonal.h.
|
staticprivate |
Definition at line 95 of file PreconditionerDiagonal.h.
Definition at line 77 of file PreconditionerDiagonal.h.
Referenced by DiagonalPreconditionerSum(), StaticCondDiagonalPreconditionerSum(), and v_DoPreconditioner().
|
protected |
Definition at line 79 of file PreconditionerDiagonal.h.