diff -r a4137aedcb3a -r c3a4f4bb87f7 include/dolfinx_access/function.h --- a/include/dolfinx_access/function.h Thu Feb 26 09:32:12 2026 -0500 +++ b/include/dolfinx_access/function.h Wed Apr 22 22:32:00 2026 -0500 @@ -1,5 +1,7 @@ #pragma once #include "dolfinx/geometry/BoundingBoxTree.h" +#pragma once +#include "dolfinx/mesh/Mesh.h" #include #pragma once @@ -11,10 +13,11 @@ namespace dolfinx_access { struct FunctionInfo; - typedef geometry::BoundingBoxTree BBTree_f64; + typedef dolfinx::geometry::BoundingBoxTree BBTree_f64; + extern void drop_Function_f64(Function_f64* f); - extern int32_t cell_Mesh_f64(std::shared_ptr> mesh, + extern int32_t cell_Mesh_f64(std::shared_ptr> mesh, const std::array& x); extern int32_t cell_FunctionSpace_f64(FunctionSpace const* v, @@ -46,4 +49,5 @@ Function_f64* clone_Function_f64(Function_f64 const* f); + void scatter_fwd_Function_f64(Function_f64* f); } // namespace dolfinx_access