| 360 | |
| 361 | |
| 362 | virtual shared_ptr<CoefficientFunction> |
| 363 | Diff (const CoefficientFunction * var, shared_ptr<CoefficientFunction> dir) const override |
| 364 | { |
| 365 | // if (var == shape.get()) |
| 366 | if (dynamic_cast<const DiffShapeCF*>(var)) |
| 367 | return -TransposeCF(dir->Operator("Gradboundary")) * const_cast<cl_NormalVectorCF*>(this)->shared_from_this(); |
| 368 | return CoefficientFunctionNoDerivative::Diff(var, dir); |
| 369 | } |
| 370 | |
| 371 | }; |
| 372 |
nothing calls this directly
no test coverage detected