Nektar++
|
#include <PreconditionerLinearWithBlock.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_blockPrecon |
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 49 of file PreconditionerLinearWithBlock.h.
Nektar::MultiRegions::PreconditionerLinearWithBlock::PreconditionerLinearWithBlock | ( | const boost::shared_ptr< GlobalLinSys > & | plinsys, |
const AssemblyMapSharedPtr & | pLocToGloMap | ||
) |
Definition at line 63 of file PreconditionerLinearWithBlock.cpp.
|
inlinevirtual |
Definition at line 71 of file PreconditionerLinearWithBlock.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 53 of file PreconditionerLinearWithBlock.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
privatevirtual |
Reimplemented from Nektar::MultiRegions::Preconditioner.
Definition at line 82 of file PreconditionerLinearWithBlock.cpp.
References m_blockPrecon, and m_linSpacePrecon.
|
privatevirtual |
Apply a preconditioner to the conjugate gradient method.
Reimplemented from Nektar::MultiRegions::Preconditioner.
Definition at line 92 of file PreconditionerLinearWithBlock.cpp.
References m_blockPrecon, and m_linSpacePrecon.
|
privatevirtual |
Reimplemented from Nektar::MultiRegions::Preconditioner.
Definition at line 73 of file PreconditionerLinearWithBlock.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::MultiRegions::GetPreconFactory(), m_blockPrecon, 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 64 of file PreconditionerLinearWithBlock.h.
|
protected |
Definition at line 76 of file PreconditionerLinearWithBlock.h.
Referenced by v_BuildPreconditioner(), v_DoPreconditioner(), and v_InitObject().
|
protected |
Definition at line 75 of file PreconditionerLinearWithBlock.h.
Referenced by v_BuildPreconditioner(), v_DoPreconditioner(), and v_InitObject().