34 #ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEAR_H
35 #define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEAR_H
46 namespace MultiRegions
62 const std::shared_ptr<GlobalLinSys> &plinsys,
63 const std::shared_ptr<AssemblyMap> &pLocToGloMap)
74 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.
PreconditionerLinear(const std::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
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()
virtual void v_InitObject()
static std::string solveTypeIds[]
static std::string solveType
static PreconditionerSharedPtr create(const std::shared_ptr< GlobalLinSys > &plinsys, const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
std::shared_ptr< AssemblyMap > m_vertLocToGloMap
virtual void v_DoPreconditionerWithNonVertOutput(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput, const Array< OneD, NekDouble > &pNonVertOutput, Array< OneD, NekDouble > &pVertForce)
Apply a preconditioner to the conjugate gradient method with an output for non-vertex degrees of free...
static std::string className1
Name of class.
GlobalLinSysSharedPtr m_vertLinsys
virtual ~PreconditionerLinear()
std::shared_ptr< PreconditionerLinear > PreconditionerLinearSharedPtr
std::shared_ptr< GlobalLinSys > GlobalLinSysSharedPtr
Pointer to a GlobalLinSys object.
std::shared_ptr< Preconditioner > PreconditionerSharedPtr
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
The above copyright notice and this permission notice shall be included.