35 #ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERBLOCK_H
36 #define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERBLOCK_H
48 namespace MultiRegions
58 const boost::shared_ptr<GlobalLinSys> &plinsys,
59 const boost::shared_ptr<AssemblyMap>
71 const boost::shared_ptr<GlobalLinSys> &plinsys,
virtual void v_BuildPreconditioner()
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
PreconditionerType m_preconType
void BlockPreconditioner3D(void)
static std::string className
Name of class.
DNekBlkMatSharedPtr m_blkMat
#define MULTI_REGIONS_EXPORT
boost::shared_ptr< Preconditioner > PreconditionerSharedPtr
virtual ~PreconditionerBlock()
void BlockPreconditionerHDG(void)
static PreconditionerSharedPtr create(const boost::shared_ptr< GlobalLinSys > &plinsys, const boost::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
void BlockPreconditioner2D(void)
Construct a block preconditioner from .
boost::shared_ptr< AssemblyMap > m_locToGloMap
virtual void v_InitObject()
boost::shared_ptr< PreconditionerBlock > PreconditionerBlockSharedPtr
boost::shared_ptr< DNekBlkMat > DNekBlkMatSharedPtr
const boost::weak_ptr< GlobalLinSys > m_linsys
PreconditionerBlock(const boost::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)