34 #ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEARWITHBLOCK_H
35 #define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEARWITHBLOCK_H
43 namespace MultiRegions
45 class PreconditionerLinearWithBlock;
53 const std::shared_ptr<GlobalLinSys> &plinsys,
54 const std::shared_ptr<AssemblyMap> &pLocToGloMap)
65 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.
PreconditionerLinearWithBlock(const std::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
PreconditionerSharedPtr m_linSpacePrecon
virtual void v_InitObject()
virtual ~PreconditionerLinearWithBlock()
static PreconditionerSharedPtr create(const std::shared_ptr< GlobalLinSys > &plinsys, const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
static std::string className
Name of class.
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
virtual void v_BuildPreconditioner()
PreconditionerSharedPtr m_blockPrecon
std::shared_ptr< PreconditionerLinearWithBlock > PreconditionerLinearWithBlockSharedPtr
std::shared_ptr< Preconditioner > PreconditionerSharedPtr
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
The above copyright notice and this permission notice shall be included.