diff --git a/src/mesh/MeshNodeBoundary.hpp b/src/mesh/MeshNodeBoundary.hpp index 9785552fe22d0f937bf4e05f6fc8c197ec8452d7..b1cc055bd6b43837e59c65b98f25906cc0afe216 100644 --- a/src/mesh/MeshNodeBoundary.hpp +++ b/src/mesh/MeshNodeBoundary.hpp @@ -2,6 +2,7 @@ #define MESH_NODE_BOUNDARY_HPP #include <Kokkos_Core.hpp> +#include <Kokkos_Vector.hpp> #include <TinyVector.hpp> #include <RefNodeList.hpp> @@ -37,7 +38,7 @@ class MeshNodeBoundary } }); - std::vector<unsigned int> node_ids; + Kokkos::vector<unsigned int> node_ids; // not enough but should reduce significantly the number of resizing node_ids.reserve(dimension*face_list.extent(0)); for (size_t l=0; l<face_list.extent(0); ++l) {