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

Method Diff

fem/coefficient.cpp:2044–2049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2042 }
2043
2044 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
2045 shared_ptr<CoefficientFunction> dir) const override
2046 {
2047 if (this == var) return dir;
2048 return scal * c1->Diff(var, dir);
2049 }
2050
2051 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override
2052 {

Callers

nothing calls this directly

Calls 1

DiffMethod · 0.45

Tested by

no test coverage detected