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

Method Diff

fem/coefficient.cpp:2869–2874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2867 }
2868
2869 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
2870 shared_ptr<CoefficientFunction> dir) const override
2871 {
2872 if (this == var) return dir;
2873 return 2*InnerProduct(c1->Diff(var,dir),c1);
2874 }
2875
2876
2877 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override

Callers

nothing calls this directly

Calls 2

InnerProductFunction · 0.70
DiffMethod · 0.45

Tested by

no test coverage detected