35 #ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERDIAGONAL_H
36 #define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERDIAGONAL_H
45 namespace MultiRegions
55 const boost::shared_ptr<GlobalLinSys> &plinsys,
56 const boost::shared_ptr<AssemblyMap>
69 const boost::shared_ptr<GlobalLinSys> &plinsys,
96 static std::string
def;
107 const boost::shared_ptr<GlobalLinSys> &plinsys,
108 const boost::shared_ptr<AssemblyMap>
120 const boost::shared_ptr<GlobalLinSys> &plinsys,
boost::shared_ptr< PreconditionerNull > PreconditionerNullSharedPtr
PreconditionerType m_preconType
PreconditionerType m_preconType
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
#define MULTI_REGIONS_EXPORT
void StaticCondDiagonalPreconditionerSum(void)
boost::shared_ptr< Preconditioner > PreconditionerSharedPtr
virtual void v_BuildPreconditioner()
virtual void v_InitObject()
virtual void v_InitObject()
virtual ~PreconditionerDiagonal()
static std::string lookupIds[]
PreconditionerDiagonal(const boost::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
PreconditionerNull(const boost::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
Array< OneD, NekDouble > m_diagonals
void DiagonalPreconditionerSum(void)
boost::shared_ptr< PreconditionerDiagonal > PreconditionerDiagonalSharedPtr
static PreconditionerSharedPtr create(const boost::shared_ptr< GlobalLinSys > &plinsys, const boost::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
static std::string lookupIds[]
static std::string className
Name of class.
static PreconditionerSharedPtr create(const boost::shared_ptr< GlobalLinSys > &plinsys, const boost::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
virtual ~PreconditionerNull()
static std::string className
Name of class.
virtual void v_BuildPreconditioner()