| 826 | |
| 827 | |
| 828 | shared_ptr<FESpace> FindProxySpace(shared_ptr<CoefficientFunction> func) |
| 829 | { |
| 830 | shared_ptr<FESpace> space; |
| 831 | |
| 832 | func->TraverseTree |
| 833 | ( [&] (CoefficientFunction & nodecf) |
| 834 | { |
| 835 | if (auto proxy = dynamic_cast<ProxyFunction*> (&nodecf)) |
| 836 | space = proxy->GetFESpace(); |
| 837 | } ); |
| 838 | return space; |
| 839 | } |
| 840 | |
| 841 | InterpolateProxy :: InterpolateProxy (shared_ptr<CoefficientFunction> afunc, |
| 842 | shared_ptr<FESpace> aspace, |
no test coverage detected