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

Method Diff

fem/coefficient.cpp:3824–3830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3822
3823template <>
3824shared_ptr<CoefficientFunction>
3825cl_BinaryOpCF<GenericPlus>::Diff(const CoefficientFunction * var,
3826 shared_ptr<CoefficientFunction> dir) const
3827{
3828 if (var == this) return dir;
3829 return c1->Diff(var,dir) + c2->Diff(var,dir);
3830}
3831
3832template <>
3833shared_ptr<CoefficientFunction>

Callers 15

DiffJacobiMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45
DiffMethod · 0.45

Calls 5

CWMultFunction · 0.85
ConjCFFunction · 0.85
UnaryOpCFFunction · 0.85
DimensionsFunction · 0.85
DimensionsMethod · 0.80

Tested by

no test coverage detected