45 namespace MultiRegions
51 string PreconditionerLinearWithBlock::className
53 "FullLinearSpaceWithBlock",
54 PreconditionerLinearWithBlock::create,
55 "Full Linear space and block preconditioning");
64 PreconditionerLinearWithBlock::PreconditionerLinearWithBlock(
65 const std::shared_ptr<GlobalLinSys> &plinsys,
97 int nGlobal = pInput.num_elements();
107 m_linSpacePrecon->DoPreconditionerWithNonVertOutput(pInput, pOutput,OutputBlock);
const std::weak_ptr< GlobalLinSys > m_linsys
PreconFactory & GetPreconFactory()
PreconditionerSharedPtr m_linSpacePrecon
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
PreconditionerSharedPtr m_blockPrecon
virtual void v_InitObject()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
virtual void v_BuildPreconditioner()
std::weak_ptr< AssemblyMap > m_locToGloMap