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

Method Update

comp/python_comp.cpp:3600–3609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3598 }
3599
3600 void Update() override
3601 {
3602 // cout << "update pre" << endl;
3603 auto bfa = GetBilinearForm();
3604 freedofs = bfa->GetFESpace()->GetFreeDofs(bfa->UsesEliminateInternal());
3605 mat = bfa->GetMatrixPtr();
3606
3607 py::gil_scoped_acquire agil;
3608 premat = py::cast<shared_ptr<BaseMatrix>> (creator(mat, freedofs, flags));
3609 }
3610
3611 const BaseMatrix & GetAMatrix() const override
3612 {

Callers 1

Calls 3

GetBilinearFormFunction · 0.85
GetFESpaceMethod · 0.80
GetMatrixPtrMethod · 0.45

Tested by

no test coverage detected