| 214 | } |
| 215 | |
| 216 | shared_ptr<GridFunctionCoefficientFunction> Deriv() |
| 217 | { |
| 218 | auto res = derivcf.lock(); |
| 219 | if(res) return res; |
| 220 | |
| 221 | // derivcf is not set -> initialize it |
| 222 | res = |
| 223 | make_shared<GridFunctionCoefficientFunction> (dynamic_pointer_cast<GridFunction> (shared_from_this()), |
| 224 | GetFESpace()->GetFluxEvaluator(), |
| 225 | GetFESpace()->GetFluxEvaluator(BND), |
| 226 | GetFESpace()->GetFluxEvaluator(BBND)); |
| 227 | res -> generated_from_deriv = true; |
| 228 | derivcf = res; |
| 229 | return res; |
| 230 | } |
| 231 | |
| 232 | shared_ptr<CoefficientFunction> Operator (shared_ptr<DifferentialOperator> diffop) const override; |
| 233 | shared_ptr<CoefficientFunction> Operator (const string& name) const override; |
no test coverage detected