Nektar++
|
#include <PreconditionerLinearWithDiag.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. More... | |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
Protected Attributes | |
PreconditionerSharedPtr | m_linSpacePrecon |
PreconditionerSharedPtr | m_diagonalPrecon |
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 | |
virtual void | v_InitObject () |
virtual void | v_DoPreconditioner (const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput) |
Apply a preconditioner to the conjugate gradient method. More... | |
virtual void | v_BuildPreconditioner () |
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 . More... | |
This class implements preconditioning for the conjugate gradient matrix solver.
Definition at line 51 of file PreconditionerLinearWithDiag.h.
Nektar::MultiRegions::PreconditionerLinearWithDiag::PreconditionerLinearWithDiag | ( | const boost::shared_ptr< GlobalLinSys > & | plinsys, |
const AssemblyMapSharedPtr & | pLocToGloMap | ||
) |
Definition at line 65 of file PreconditionerLinearWithDiag.cpp.
|
inlinevirtual |
Definition at line 73 of file PreconditionerLinearWithDiag.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 55 of file PreconditionerLinearWithDiag.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
privatevirtual |
Reimplemented from Nektar::MultiRegions::Preconditioner.
Definition at line 84 of file PreconditionerLinearWithDiag.cpp.
References m_diagonalPrecon, and m_linSpacePrecon.
|
privatevirtual |
Apply a preconditioner to the conjugate gradient method.
Reimplemented from Nektar::MultiRegions::Preconditioner.
Definition at line 94 of file PreconditionerLinearWithDiag.cpp.
References m_diagonalPrecon, and m_linSpacePrecon.
|
privatevirtual |
Reimplemented from Nektar::MultiRegions::Preconditioner.
Definition at line 75 of file PreconditionerLinearWithDiag.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::MultiRegions::GetPreconFactory(), m_diagonalPrecon, m_linSpacePrecon, Nektar::MultiRegions::Preconditioner::m_linsys, and Nektar::MultiRegions::Preconditioner::m_locToGloMap.
|
static |
Name of class.
Registers the class with the Factory.
Definition at line 66 of file PreconditionerLinearWithDiag.h.
|
protected |
Definition at line 79 of file PreconditionerLinearWithDiag.h.
Referenced by v_BuildPreconditioner(), v_DoPreconditioner(), and v_InitObject().
|
protected |
Definition at line 78 of file PreconditionerLinearWithDiag.h.
Referenced by v_BuildPreconditioner(), v_DoPreconditioner(), and v_InitObject().