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

Method TraverseTree

fem/coefficient_matrix.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55 virtual void TraverseTree (const function<void(CoefficientFunction&)> & func) override
56 {
57 c1->TraverseTree (func);
58 func(*this);
59 }
60
61 virtual void GenerateCode(Code &code, FlatArray<int> inputs, int index) const override {
62 // auto mat_type = "Mat<"+ToString(D)+","+ToString(D)+","+code.res_type+">";

Callers

nothing calls this directly

Calls 1

TraverseTreeMethod · 0.45

Tested by

no test coverage detected