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

Function MakeExtendDimensionCoefficientFunction

fem/coefficient.cpp:5153–5160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5151};
5152
5153shared_ptr<CoefficientFunction>
5154MakeExtendDimensionCoefficientFunction (shared_ptr<CoefficientFunction> c1,
5155 Array<int> dims, Array<int> pos, Array<int> stride)
5156{
5157 if (c1->IsZeroCF())
5158 return ZeroCF(dims);
5159 return make_shared<ExtendDimensionCoefficientFunction> (c1, std::move(dims), std::move(pos), std::move(stride));
5160}
5161
5162
5163// ********************** VectorContractionCoefficientFunction **********************

Callers 3

DiffMethod · 0.85
DiffJacobiMethod · 0.85

Calls 2

ZeroCFFunction · 0.85
IsZeroCFMethod · 0.45

Tested by

no test coverage detected