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

Method Diff

fem/coefficient.cpp:2652–2657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2650 }
2651
2652 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
2653 shared_ptr<CoefficientFunction> dir) const override
2654 {
2655 if (this == var) return dir;
2656 return InnerProduct(c1->Diff(var,dir),c2) + InnerProduct(c1,c2->Diff(var,dir));
2657 }
2658
2659 shared_ptr<CoefficientFunction>
2660 Transform (CoefficientFunction::T_Transform & transformation) const override

Callers

nothing calls this directly

Calls 2

InnerProductFunction · 0.70
DiffMethod · 0.45

Tested by

no test coverage detected