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

Method Diff

fem/coefficient.cpp:3159–3164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3157 }
3158
3159 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
3160 shared_ptr<CoefficientFunction> dir) const override
3161 {
3162 if (var == this) return dir;
3163 return make_shared<ConstantCoefficientFunction>(1.0)/NormCF(c1) * InnerProduct(c1,c1->Diff(var,dir));
3164 }
3165
3166
3167 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override

Callers

nothing calls this directly

Calls 3

NormCFFunction · 0.85
InnerProductFunction · 0.70
DiffMethod · 0.45

Tested by

no test coverage detected