| 461 | } |
| 462 | |
| 463 | virtual shared_ptr<CoefficientFunction> |
| 464 | Diff (const CoefficientFunction * var, shared_ptr<CoefficientFunction> dir) const override |
| 465 | { |
| 466 | //d/dt tang|t=0 = dX*tang - ((dX*tang)*tang)*tang |
| 467 | // if (var == shape.get()) |
| 468 | if (dynamic_cast<const DiffShapeCF*>(var)) |
| 469 | return dir->Operator("Gradboundary") * const_cast<cl_TangentialVectorCF*>(this)->shared_from_this() - InnerProduct(dir->Operator("Gradboundary")*const_cast<cl_TangentialVectorCF*>(this)->shared_from_this(),const_cast<cl_TangentialVectorCF*>(this)->shared_from_this())*const_cast<cl_TangentialVectorCF*>(this)->shared_from_this(); |
| 470 | return CoefficientFunctionNoDerivative::Diff(var, dir); |
| 471 | } |
| 472 | }; |
| 473 | |
| 474 |
nothing calls this directly
no test coverage detected