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

Method Diff

fem/coefficient.cpp:6255–6260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6253 }
6254
6255 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
6256 shared_ptr<CoefficientFunction> dir) const override
6257 {
6258 if (this == var) return dir;
6259 return IfPos (cf_if, cf_then->Diff(var, dir), cf_else->Diff(var, dir));
6260 }
6261
6262 shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override
6263 {

Callers

nothing calls this directly

Calls 2

IfPosFunction · 0.85
DiffMethod · 0.45

Tested by

no test coverage detected