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

Method Operator

fem/coefficient.cpp:5703–5713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5701 }
5702
5703 shared_ptr<CoefficientFunction> Operator (const string & name) const override
5704 {
5705 Array<shared_ptr<CoefficientFunction>> cfop;
5706
5707 for (auto & cf : ci)
5708 if (cf)
5709 cfop.Append (cf->Operator(name));
5710 else
5711 cfop.Append (nullptr);
5712 return MakeDomainWiseCoefficientFunction(std::move (cfop), vb);
5713 }
5714
5715 shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var,
5716 shared_ptr<CoefficientFunction> dir) const override

Callers

nothing calls this directly

Calls 3

AppendMethod · 0.45
OperatorMethod · 0.45

Tested by

no test coverage detected