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.size();
107 m_linSpacePrecon->DoPreconditionerWithNonVertOutput(pInput, pOutput,OutputBlock);
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
const std::weak_ptr< GlobalLinSys > m_linsys
std::weak_ptr< AssemblyMap > m_locToGloMap
PreconditionerSharedPtr m_linSpacePrecon
virtual void v_InitObject()
virtual void v_DoPreconditioner(const Array< OneD, NekDouble > &pInput, Array< OneD, NekDouble > &pOutput)
Apply a preconditioner to the conjugate gradient method.
virtual void v_BuildPreconditioner()
PreconditionerSharedPtr m_blockPrecon
PreconFactory & GetPreconFactory()
std::shared_ptr< AssemblyMap > AssemblyMapSharedPtr
The above copyright notice and this permission notice shall be included.