include/dolfinx_access/function.h

changeset 3
c3a4f4bb87f7
parent 1
a4137aedcb3a
--- 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 <cmath>
 
 #pragma once
@@ -11,10 +13,11 @@
 namespace dolfinx_access {
     struct FunctionInfo;
 
-    typedef geometry::BoundingBoxTree<double> BBTree_f64;
+    typedef dolfinx::geometry::BoundingBoxTree<double> BBTree_f64;
+
     extern void drop_Function_f64(Function_f64* f);
 
-    extern int32_t cell_Mesh_f64(std::shared_ptr<const mesh::Mesh<double>> mesh,
+    extern int32_t cell_Mesh_f64(std::shared_ptr<const dolfinx::mesh::Mesh<double>> mesh,
                                  const std::array<double, 3>& x);
 
     extern int32_t cell_FunctionSpace_f64(FunctionSpace<double> 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

mercurial