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

Function CrossProduct

fem/coefficient.cpp:4304–4311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4302
4303
4304 shared_ptr<CoefficientFunction> CrossProduct (shared_ptr<CoefficientFunction> c1,
4305 shared_ptr<CoefficientFunction> c2)
4306 {
4307 if (c1->IsZeroCF() || c2->IsZeroCF())
4308 return ZeroCF( c1->Dimensions() );
4309
4310 return make_shared<CrossProductCoefficientFunction> (c1, c2);
4311 }
4312
4313 shared_ptr<CoefficientFunction> UnitVectorCF (int dim, int coord)
4314 {

Callers 3

DiffMethod · 0.85
DiffJacobiMethod · 0.85

Calls 3

ZeroCFFunction · 0.85
DimensionsMethod · 0.80
IsZeroCFMethod · 0.45

Tested by

no test coverage detected