34#ifndef NEKTAR_LIB_MULTIREGIONS_GLOBALLINSYSIterativeCG_H
35#define NEKTAR_LIB_MULTIREGIONS_GLOBALLINSYSIterativeCG_H
51 const std::weak_ptr<ExpList> &pExpList,
52 const std::shared_ptr<AssemblyMap> &pLocToGloMap)
55 pLinSysKey, pExpList, pLocToGloMap);
64 const std::weak_ptr<ExpList> &pExpList,
65 const std::shared_ptr<AssemblyMap> &pLocToGloMap);
92 const int pNumDir)
override;
#define MULTI_REGIONS_EXPORT
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
void v_UniqueMap() override
~GlobalLinSysIterativeFull() override=default
static GlobalLinSysSharedPtr create(const GlobalLinSysKey &pLinSysKey, const std::weak_ptr< ExpList > &pExpList, const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
GlobalLinSysIterativeFull(const GlobalLinSysKey &pLinSysKey, const std::weak_ptr< ExpList > &pExpList, const std::shared_ptr< AssemblyMap > &pLocToGloMap)
Constructor for full direct matrix solve.
static std::string className
Name of class.
void v_DoMatrixMultiply(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput) override
std::weak_ptr< AssemblyMap > m_locToGloMap
void v_Solve(const Array< OneD, const NekDouble > &in, Array< OneD, NekDouble > &out, const AssemblyMapSharedPtr &locToGloMap, const Array< OneD, const NekDouble > &dirForcing=NullNekDouble1DArray) override
Solve the linear system for given input and output vectors using a specified local to global map.
void v_SolveLinearSystem(const int pNumRows, const Array< OneD, const NekDouble > &pInput, Array< OneD, NekDouble > &pOutput, const AssemblyMapSharedPtr &locToGloMap, const int pNumDir) override
Solve the matrix system.
Describe a linear system.
std::shared_ptr< GlobalLinSys > GlobalLinSysSharedPtr
Pointer to a GlobalLinSys object.
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
static Array< OneD, NekDouble > NullNekDouble1DArray