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

Method Diff

fem/coefficient_matrix.cpp:631–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629 }
630
631 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
632 shared_ptr<CoefficientFunction> dir) const override
633 {
634 if (this == var) return dir;
635 // return DeterminantCF(c1) * InnerProduct( TransposeCF(InverseCF(c1)), c1->Diff(var,dir) );
636 return InnerProduct( CofactorCF(c1), c1->Diff(var,dir) );
637 }
638
639 shared_ptr<CoefficientFunction>
640 DiffJacobi (const CoefficientFunction * var, typename BASE::T_DJC & cache) const override

Callers

nothing calls this directly

Calls 3

CofactorCFFunction · 0.85
InnerProductFunction · 0.70
DiffMethod · 0.45

Tested by

no test coverage detected