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

Function FindProxySpace

comp/interpolate.cpp:828–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826
827
828 shared_ptr<FESpace> FindProxySpace(shared_ptr<CoefficientFunction> func)
829 {
830 shared_ptr<FESpace> space;
831
832 func->TraverseTree
833 ( [&] (CoefficientFunction & nodecf)
834 {
835 if (auto proxy = dynamic_cast<ProxyFunction*> (&nodecf))
836 space = proxy->GetFESpace();
837 } );
838 return space;
839 }
840
841 InterpolateProxy :: InterpolateProxy (shared_ptr<CoefficientFunction> afunc,
842 shared_ptr<FESpace> aspace,

Callers 1

InterpolateProxyMethod · 0.85

Calls 2

GetFESpaceMethod · 0.80
TraverseTreeMethod · 0.45

Tested by

no test coverage detected