MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / PythonPreconditioner

Method PythonPreconditioner

comp/python_comp.cpp:3580–3586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3578 shared_ptr<BaseMatrix> premat;
3579 public:
3580 PythonPreconditioner (shared_ptr<BilinearForm> bfa, const Flags & flags,
3581 py::object acreator)
3582 : Preconditioner(bfa, flags), creator(acreator)
3583 {
3584 if (bfa->GetMatrixPtr())
3585 Update();
3586 }
3587 void InitLevel (shared_ptr<BitArray> afreedofs) override
3588 { freedofs = afreedofs; }
3589 void FinalizeLevel (const ngla::BaseMatrix * amat) override

Callers

nothing calls this directly

Calls 2

UpdateFunction · 0.70
GetMatrixPtrMethod · 0.45

Tested by

no test coverage detected