34#ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEAR_H
35#define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEAR_H
59 const std::shared_ptr<GlobalLinSys> &plinsys,
60 const std::shared_ptr<AssemblyMap> &pLocToGloMap)
64 plinsys, pLocToGloMap);
73 const std::shared_ptr<GlobalLinSys> &plinsys,
96 const bool &isLocal =
false)
override;
100 void SetupInvMult(
const std::shared_ptr<AssemblyMap> &pLocToGloMap);
#define MULTI_REGIONS_EXPORT
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput, const bool &isLocal=false) override
Apply a preconditioner to the conjugate gradient method.
void v_BuildPreconditioner() override
PreconditionerLinear(const std::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
void SetupInvMult(const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Array< OneD, NekDouble > m_invMult
static std::string solveTypeIds[]
static std::string solveType
~PreconditionerLinear() override
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
static std::string className1
Name of class.
GlobalLinSysSharedPtr m_vertLinsys
void v_InitObject() override
void v_DoPreconditionerWithNonVertOutput(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput, const Array< OneD, NekDouble > &pNonVertOutput, Array< OneD, NekDouble > &pVertForce) override
Apply a preconditioner to the conjugate gradient method with an output for non-vertex degrees of free...
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