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

Method TraverseTree

fem/coefficient.cpp:1980–1984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1978 // virtual int Dimension() const { return c1->Dimension(); }
1979
1980 virtual void TraverseTree (const function<void(CoefficientFunction&)> & func) override
1981 {
1982 c1->TraverseTree (func);
1983 func(*this);
1984 }
1985
1986 virtual Array<shared_ptr<CoefficientFunction>> InputCoefficientFunctions() const override
1987 { return Array<shared_ptr<CoefficientFunction>>({ c1 }); }

Callers

nothing calls this directly

Calls 1

TraverseTreeMethod · 0.45

Tested by

no test coverage detected