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

Method TraverseTree

fem/coefficient.cpp:2326–2331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2324 }
2325
2326 virtual void TraverseTree (const function<void(CoefficientFunction&)> & func) override
2327 {
2328 c1->TraverseTree (func);
2329 c2->TraverseTree (func);
2330 func(*this);
2331 }
2332
2333 virtual Array<shared_ptr<CoefficientFunction>> InputCoefficientFunctions() const override
2334 { return Array<shared_ptr<CoefficientFunction>>({ c1, c2 }); }

Callers

nothing calls this directly

Calls 1

TraverseTreeMethod · 0.45

Tested by

no test coverage detected