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

Method DiffShape

comp/hdivdivsurfacespace.cpp:241–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 }
240
241 static shared_ptr<CoefficientFunction>
242 DiffShape (shared_ptr<CoefficientFunction> proxy,
243 shared_ptr<CoefficientFunction> dir,
244 bool Eulerian)
245 {
246 if (Eulerian) throw Exception("DiffShape Eulerian not implemented for DiffOpIdHDivSurface");
247 return -2*TraceCF(dir->Operator("Gradboundary"))*proxy + 2*SymmetricCF(dir->Operator("Gradboundary") * proxy);
248 }
249
250 };
251

Callers

nothing calls this directly

Calls 3

TraceCFFunction · 0.85
SymmetricCFFunction · 0.85
OperatorMethod · 0.45

Tested by

no test coverage detected