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

Method Diff

fem/coefficient.cpp:2461–2466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2459 }
2460
2461 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
2462 shared_ptr<CoefficientFunction> dir) const override
2463 {
2464 if (this == var) return dir;
2465 return InnerProduct(c1->Diff(var,dir),c2) + InnerProduct(c1,c2->Diff(var,dir));
2466 }
2467
2468 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override
2469 {

Callers

nothing calls this directly

Calls 2

InnerProductFunction · 0.70
DiffMethod · 0.45

Tested by

no test coverage detected