35 #ifndef NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEAR_H
36 #define NEKTAR_LIB_MULTIREGIONS_PRECONDITIONERLINEAR_H
47 namespace MultiRegions
63 const boost::shared_ptr<GlobalLinSys> &plinsys,
64 const boost::shared_ptr<AssemblyMap>
76 const boost::shared_ptr<GlobalLinSys> &plinsys,
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
static std::string solveTypeIds[]
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
virtual void v_InitObject()
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.
boost::shared_ptr< PreconditionerLinear > PreconditionerLinearSharedPtr
#define MULTI_REGIONS_EXPORT
boost::shared_ptr< Preconditioner > PreconditionerSharedPtr
boost::shared_ptr< AssemblyMap > m_vertLocToGloMap
PreconditionerLinear(const boost::shared_ptr< GlobalLinSys > &plinsys, const AssemblyMapSharedPtr &pLocToGloMap)
GlobalLinSysSharedPtr m_vertLinsys
virtual ~PreconditionerLinear()
static PreconditionerSharedPtr create(const boost::shared_ptr< GlobalLinSys > &plinsys, const boost::shared_ptr< AssemblyMap > &pLocToGloMap)
Creates an instance of this class.
static std::string solveType
boost::shared_ptr< GlobalLinSys > GlobalLinSysSharedPtr
Pointer to a GlobalLinSys object.
virtual void v_BuildPreconditioner()