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

Method Diff

fem/coefficient.cpp:3557–3562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3555
3556
3557 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
3558 shared_ptr<CoefficientFunction> dir) const override
3559 {
3560 if (this == var) return dir;
3561 return c1->Diff(var,dir)*c2 + c1 * c2->Diff(var,dir);
3562 }
3563
3564 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override
3565 {

Callers

nothing calls this directly

Calls 1

DiffMethod · 0.45

Tested by

no test coverage detected