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

Method MakeProxyFunction

comp/compressedfespace.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 ProxyNode CompressedFESpace::MakeProxyFunction (bool testfunction,
70 const function<shared_ptr<ProxyFunction>(shared_ptr<ProxyFunction>)> & addblock) const
71 {
72 return GetBaseSpace()->MakeProxyFunction
73 (testfunction,
74 [&] (shared_ptr<ProxyFunction> proxy)
75 {
76 shared_ptr<FESpace> fes = dynamic_pointer_cast<FESpace> (const_cast<CompressedFESpace*>(this)->shared_from_this());
77 proxy->SetFESpace(fes);
78 return addblock (proxy);
79 });
80 }
81
82
83 FiniteElement & CompressedFESpace::GetFE (ElementId ei, Allocator & lh) const

Callers 2

MakeProxyFunctionMethod · 0.45
MakeProxyFunctionMethod · 0.45

Calls 3

SetFESpaceMethod · 0.80
GetBaseSpaceFunction · 0.70
shared_from_thisMethod · 0.45

Tested by

no test coverage detected