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

Method TraverseTree

fem/coefficient.cpp:3625–3630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3623 { return "cross-product"; }
3624
3625 virtual void TraverseTree (const function<void(CoefficientFunction&)> & func) override
3626 {
3627 c1->TraverseTree (func);
3628 c2->TraverseTree (func);
3629 func(*this);
3630 }
3631
3632 virtual Array<shared_ptr<CoefficientFunction>> InputCoefficientFunctions() const override
3633 { return Array<shared_ptr<CoefficientFunction>>({ c1, c2 }); }

Callers

nothing calls this directly

Calls 1

TraverseTreeMethod · 0.45

Tested by

no test coverage detected