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

Method TraverseTree

fem/coefficient.cpp:2557–2562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2555 }
2556
2557 virtual void TraverseTree (const function<void(CoefficientFunction&)> & func) override
2558 {
2559 c1->TraverseTree (func);
2560 c2->TraverseTree (func);
2561 func(*this);
2562 }
2563
2564 virtual Array<shared_ptr<CoefficientFunction>> InputCoefficientFunctions() const override
2565 { return Array<shared_ptr<CoefficientFunction>>({ c1, c2 }); }

Callers

nothing calls this directly

Calls 1

TraverseTreeMethod · 0.45

Tested by

no test coverage detected