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

Method Diff

fem/coefficient.cpp:3726–3731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3724
3725
3726 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
3727 shared_ptr<CoefficientFunction> dir) const override
3728 {
3729 if (this == var) return dir;
3730 return CrossProduct(c1->Diff(var,dir),c2) + CrossProduct(c1, c2->Diff(var,dir));
3731 }
3732
3733
3734 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, typename BASE::T_DJC & cache) const override

Callers

nothing calls this directly

Calls 2

CrossProductFunction · 0.85
DiffMethod · 0.45

Tested by

no test coverage detected