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

Method NonZeroPattern

fem/coefficient.cpp:4809–4816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4807
4808
4809 virtual void NonZeroPattern (const class ProxyUserData & ud,
4810 FlatVector<AutoDiffDiff<1,NonZero>> values) const override
4811 {
4812 Vector<AutoDiffDiff<1,NonZero>> v1(c1->Dimension());
4813 c1->NonZeroPattern (ud, v1);
4814 for (auto i : Range(mapping))
4815 values(i) = v1(mapping[i]);
4816 }
4817
4818
4819 virtual void NonZeroPattern (const class ProxyUserData & ud,

Callers

nothing calls this directly

Calls 3

RangeFunction · 0.50
DimensionMethod · 0.45
NonZeroPatternMethod · 0.45

Tested by

no test coverage detected