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

Method Diff

fem/coefficient.cpp:6829–6836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6827
6828
6829 virtual shared_ptr<CoefficientFunction>
6830 Diff (const CoefficientFunction * var, shared_ptr<CoefficientFunction> dir) const override
6831 {
6832 if (var == this) return Compile (dir, _real_compile, _maxderiv, _wait, _keep_files);
6833 auto diff_cf = cf->Diff(var, dir);
6834 // return Compile (diff_cf, false, 0, 0);
6835 return Compile (diff_cf, _real_compile, _maxderiv, _wait, _keep_files);
6836 }
6837
6838 virtual shared_ptr<CoefficientFunction>
6839 DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override

Callers

nothing calls this directly

Calls 2

CompileFunction · 0.85
DiffMethod · 0.45

Tested by

no test coverage detected