35 #ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEARWITHDIAG_H
36 #define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEARWITHDIAG_H
46 namespace MultiRegions
56 const boost::shared_ptr<GlobalLinSys> &plinsys,
57 const boost::shared_ptr<AssemblyMap>
69 const boost::shared_ptr<GlobalLinSys> &plinsys,
virtual ~PreconditionerLinearWithDiag()
PreconditionerSharedPtr m_diagonalPrecon
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
boost::shared_ptr< PreconditionerLinearWithDiag > PreconditionerLinearWithDiagSharedPtr
virtual void v_InitObject()
virtual void v_BuildPreconditioner()
#define MULTI_REGIONS_EXPORT
boost::shared_ptr< Preconditioner > PreconditionerSharedPtr
PreconditionerLinearWithDiag(const boost::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
static PreconditionerSharedPtr create(const boost::shared_ptr< GlobalLinSys > &plinsys, const boost::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
PreconditionerSharedPtr m_linSpacePrecon
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
static std::string className
Name of class.