46 namespace MultiRegions
52 string PreconditionerLinearWithDiag::className
54 "FullLinearSpaceWithDiagonal",
55 PreconditionerLinearWithDiag::create,
56 "Full linear space and diagonal preconditioning");
65 PreconditionerLinearWithDiag::PreconditionerLinearWithDiag(
66 const boost::shared_ptr<GlobalLinSys> &plinsys,
105 m_linSpacePrecon->DoPreconditionerWithNonVertOutput(pInput, pOutput,OutputDiag);
boost::shared_ptr< AssemblyMap > m_locToGloMap
PreconditionerSharedPtr m_diagonalPrecon
tBaseSharedPtr CreateInstance(tKey idKey BOOST_PP_COMMA_IF(MAX_PARAM) BOOST_PP_ENUM_BINARY_PARAMS(MAX_PARAM, tParam, x))
Create an instance of the class referred to by idKey.
boost::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
virtual void v_InitObject()
virtual void v_BuildPreconditioner()
PreconFactory & GetPreconFactory()
const boost::weak_ptr< GlobalLinSys > m_linsys
PreconditionerSharedPtr m_linSpacePrecon
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.