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

Method Diff

fem/coefficient.cpp:2214–2219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2212 }
2213
2214 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
2215 shared_ptr<CoefficientFunction> dir) const override
2216 {
2217 if (this == var) return dir;
2218 return c1->Diff(var,dir)*c2 + c1 * c2->Diff(var,dir);
2219 }
2220
2221 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override
2222 {

Callers

nothing calls this directly

Calls 1

DiffMethod · 0.45

Tested by

no test coverage detected