| 224 | } |
| 225 | |
| 226 | ProxyNode PeriodicFESpace :: |
| 227 | MakeProxyFunction (bool testfunction, |
| 228 | const function<shared_ptr<ProxyFunction>(shared_ptr<ProxyFunction>)> & addblock) const |
| 229 | { |
| 230 | /* |
| 231 | auto proxy = GetBaseSpace()->MakeProxyFunction (testfunction, addblock); |
| 232 | shared_ptr<FESpace> fes = dynamic_pointer_cast<FESpace> (const_cast<PeriodicFESpace*>(this)->shared_from_this()); |
| 233 | proxy.SetFESpace(fes); |
| 234 | return proxy; |
| 235 | */ |
| 236 | return GetBaseSpace()->MakeProxyFunction (testfunction, |
| 237 | [&] (shared_ptr<ProxyFunction> proxy) |
| 238 | { |
| 239 | shared_ptr<FESpace> fes = dynamic_pointer_cast<FESpace> (const_cast<PeriodicFESpace*>(this)->shared_from_this()); |
| 240 | proxy->SetFESpace(fes); |
| 241 | return addblock (proxy); |
| 242 | }); |
| 243 | } |
| 244 | |
| 245 | |
| 246 | template<typename TSCAL> |
nothing calls this directly
no test coverage detected