34 #ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERBLOCK_H
35 #define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERBLOCK_H
45 namespace MultiRegions
47 class PreconditionerBlock;
48 typedef std::shared_ptr<PreconditionerBlock>
56 const std::shared_ptr<GlobalLinSys> &plinsys,
57 const std::shared_ptr<AssemblyMap> &pLocToGloMap)
69 const std::shared_ptr<GlobalLinSys> &plinsys,
#define MULTI_REGIONS_EXPORT
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
void BlockPreconditionerCG(void)
Construct a block preconditioner from for the continuous Galerkin system.
virtual void v_BuildPreconditioner()
virtual void v_InitObject()
static PreconditionerSharedPtr create(const std::shared_ptr< GlobalLinSys > &plinsys, const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
void BlockPreconditionerHDG(void)
Construct a block preconditioner for the hybridized discontinuous Galerkin system.
PreconditionerBlock(const std::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
static std::string className
Name of class.
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply preconditioner to pInput and store the result in pOutput.
DNekBlkMatSharedPtr m_blkMat
virtual ~PreconditionerBlock()
std::shared_ptr< Preconditioner > PreconditionerSharedPtr
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
std::shared_ptr< PreconditionerBlock > PreconditionerBlockSharedPtr
The above copyright notice and this permission notice shall be included.
std::shared_ptr< DNekBlkMat > DNekBlkMatSharedPtr